What kind of custom field indexing settings you have in Relevanssi?
The subfield notation is only available for Relevanssi Premium, so if you’re using the free version, that is not supposed to work.
Hello
I use the free version
The custom field indexing settings are:
For the list value i selected “some”
On the notation i use: fieldname_%_subfieldname
According to my settings which i said on the first message…am i doing something wrong?
Yes, you are trying to index the custom field fieldname_%_subfieldname, but you don’t have a field like that.
Try setting the indexed custom fields to itemcode, factorycode and rebuild the index.
Thank you very much! This worked like a charm. I thought it was some kind of wildcard field. I haven’t understood the info of the field.
Have a great day!
I thought the 2 fields itemcode, factorycode from advanced custom fields plugin where indexed but they are not. Is this a bug or something?
Probably not a bug. If you search using the Relevanssi admin search (Dashboard > Admin search), can you find posts by item code or factory code?
What do your item codes and factory codes look like? Can you please give me an examples of the codes?
If you have access to the database, please check the wp_relevanssi database table. Can you find any item codes or factory codes there if you search in the “term” column?
I think i fixed it but on some codes the results are not showing the most relevant term first. Anyway at least i get results.
You can use the Relevanssi admin search to see how Relevanssi ranks the results. If the results are ordered by relevance scores, but the scores don’t make sense, adjust the weight settings (or the post contents) until they do.