All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Searching Tagger tags

Dylan 15 Nov 2011 08:13 question, complete

I'm trying to search Tagger tags but it doesn't work that great if an entry has more than one tag. Tags are stored in the channel_data table separated with a comma so that they can be searched. For example:

sport,technology

I set the loose_ends parameter to 'yes' so that the search works when there's more than one tag. However it's only working for the first tag. Searching for 'sport' would work but 'technology' wouldn't.

Is there anyway I could make it work for all of the tags? Or would the way Tagger stores it's data need to change.

Thanks.

Replies

  1. Low 15 Nov 2011 08:16

    Hi Dylan,

    What version of Low Search are you using? And if you're on the latest version, have you rebuilt the indexes of the collections?

    You can check how Low Search creates its index in the exp_low_search_indexes table. The comma should be filtered out and replaced with a space. If that's the case, the search should work normally.

  2. Dylan 15 Nov 2011 10:48

    Hi Low,

    I'm using 1.0.6 and EE 2.3.1. I've checked the index and the tags are included without the commas but weirdly only the first tag will ever return results. I tried setting all the fields' relevance to none except for tagger and rebuilding the index but it still doesn't work.

    Your module is way better than any of the other search solutions I've tried in the past so it would be awesome if I could get this working.

    Cheers,

    Dylan

  3. Low 15 Nov 2011 12:36

    Is this site online somewhere? I just downloaded Tagger and tested it myself, and everything seemed to work normally... I'd like to take a look myself. You can send superadmin login credentials to hi at gotolow dot com. Thanks.

  4. Dylan 17 Nov 2011 00:07

    Thanks, works great now.