- 3 years, 6 months ago #19824
on post index we use option to add meta filed with value as array.
this is example of array
It is indexed as separated field in Elasticsearch but also it is added at the end of content in Elasticsearch with all custom taxonomy’s.
what and where to debug, what do you think?
Thasnk!3 years, 6 months ago #19825
I just made simple test I have deleted this post meta with arrays and reindexed this post, and still a the end of content i get Content + all taxonomy’s after content together, and this is for custom post type not sure about post i can test if you think that it will make some difference..3 years, 6 months ago #19837
actually it is problem with custom taxonomy’s also
take a look on this photo, and you will see that all custom taxonomy’s for custom post are indexed with this two fields at the end of content
To make clear for your:
Nekategorisano. bbc.com. News. Web portal. Vijest. are taxonomys
and than this two arrays
are poste meta field
and for category (I don’t have it for this custom post i have another taxonomy’s) they are all indexed in field category + this two meta fields
https://prntscr.com/se21m23 years, 6 months ago #19841
Based on your response I figured out that I need to wait for another release for problem with this two custom post meta fields which are serialized?
You make update for ACF fields which are also serialized, and will work with any another field?
You think that problem because they appear at the end of content is because they are serialized fields?
and what about this with appearing custom taxonomy’s also at the end of content?3 years, 6 months ago #19872
as you wrote in your replay here
“What you want in fact is to deserialize custom fields before indexing.
It is done in our next release (and is already done for ACF fields).”
When you will have that release? Can I get pre-release to test?
Thanks!3 years, 6 months ago #19890
Here is a pre-release:
https://www.dropbox.com/s/disutix3iwz6qrb/wpsolr-pro-metas-unserialized.zip?dl=03 years, 6 months ago #19893
Ok, I see that, I jest let 100 000+ post to idnex and i see that this fields are unserialized .
I tough that they will be unserialized and created as some array inside that post meta key?
what are benefits having this kind of data when previous and this way are both searchable ?
Even keys are lost and i don’t know how to fetch data, before I could get that filed data and than get value from array, now when i don’t know key i cannot do that :/
Could you please put option to check if we want to get this post meta unserialized , If this is how it will work, it will mess up things for me so I would like to turn it off :/
You must be logged in to reply to this topic.