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

Support archive

Low Search Not Searching Matrix Fields

Edd Smith 21 May 2014 14:45 question, complete

Trying to get Low Search setup to search matrix fields however its not returning any results.

The field matrix field is set to searchable and low search is looking in the correct channel.

I have rebuilt all the index's in my collection but no luck so far. Any ideas?

Replies

  1. Low 21 May 2014 14:55

    Make sure the Matrix field has weight >= 1 in the Collection settings.

    Then. aside from the Matrix field itself, the Matrix columns should be searchable as well, so make sure they are.

    If the Matrix columns weren't searchable to begin with, you'd need to re-save all entries to populate the channel_data table, which in turn is used by Low Search to populate the index. Here's a thread about doing that in bulk: http://expressionengine.stackexchange...

  2. Edd Smith 21 May 2014 15:12

    Ok columns are searchable, i have re saved the entry, they all have a weight of >= 1 and i am still not getting results.

    Using the result tag

    {exp:low_search:results keywords="{segment_3}" limit="50"}

  3. Low 21 May 2014 15:19

    Use the query="" parameter, not the keywords param to pass on a query:

    {exp:low_search:results query="{segment_3}" limit="50"}

  4. Edd Smith 22 May 2014 06:28

    That fixed it, thankyou :)