Low Search and Solspace Tag field
Hi!
I'm using Low Search (v5.0.2) on EE 3.2.1 on a channel with Solcpace Tag fields. The tag fields are marked to be included in the search. When displaying results, the content of the tag felds is ignored.
E.g. I have a an entry tagged with "doors" and "cars". Another entry has the title "The doors are on fire". I would expect my results tag to return both entries when searching for "doors" as keyword - but only one entry is returned.
I've looked up the channel_data table - the tag content is stored as normal field content for tag fields. But the tag content doesn't seem to be present in the search index.
Am I missing something?
Replies
Low 30 Mar 2016 12:19
Does the Tag field have a weight of 1 or up in the Collection settings? And if so, can you see the tag data in the exp_low_search_indexes table for such an entry?
ilab 30 Mar 2016 12:39
Thank you for the quick reply!
you are absolutely right, I've added the tag fieldtype after I've setup the collections and so, the weight was 0 - by setting the value to 1 and rebuilding the collection the search works as expected.
Maybe it would be a good idea to set the collection weight automatically to 1 after adding fields to a field group assigned to a channel where a collection is already set up - especially when the "Include in search" option is set to yes.
But nevertheless thanks again!