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

Support archive

Partial matches don't work

ZenBug 27 Jun 2016 15:39 problem, complete

When I search for "Frame" I should get the results that include "Framework" but I don't.

Here's what the template debugger says:

0.246966 / 7.30MB Calling Tag: {exp:low_search:keywords query="eyJyZXN1bHRfcGFnZSI6InNlYXJjaFwvcmVzdWx0cy10ZXN0aW5nIiwia2V5d29yZHM6bG9vc2UiOiJyaWdodCIsImtleXdvcmRzIjoiZnJhbWUifQ"}

0.295990 / 7.83MB -> Data Returned

0.296320 / 7.83MB Calling Tag: {exp:low_search:results query="eyJyZXN1bHRfcGFnZSI6InNlYXJjaFwvcmVzdWx0cy10ZXN0aW5nIiwia2V5d29yZHM6bG9vc2UiOiJyaWdodCIsImtleXdvcmRzIjoiZnJhbWUifQ" limit="10" channel="mychannel"}

0.304095 / 8.37MB Low Search: Applying Low_search_filter_keywords

0.305578 / 8.38MB Low Search: Keywords: frame

0.305769 / 8.39MB Low Search: Starting search (fulltext)

0.342431 / 8.39MB Low Search: Searched but found nothing

0.342480 / 8.39MB Low Search: Filters found no matches, returning no results

0.395846 / 8.83MB Calling Tag: {exp:low_search:form result_page="search/results-testing" query="eyJyZXN1bHRfcGFnZSI6InNlYXJjaFwvcmVzdWx0cy10ZXN0aW5nIiwia2V5d29yZHM6bG9vc2UiOiJyaWdodCIsImtleXdvcmRzIjoiZnJhbWUifQ" keywords:mode="nothing"}

Replies

  1. Low 27 Jun 2016 15:41

    Try using keywords:mode="all" rather than "nothing" as the latter is not a valid value.

  2. ZenBug 27 Jun 2016 15:44

    Okay, tried that (on the Search Form tag). Still no results.

  3. Low 27 Jun 2016 15:45

    Can you share your full form and results tags, using a service like Pastie?

  4. ZenBug 27 Jun 2016 15:47

    Oh wait - when I add "keywords:mode='all'" to the Results tag, it does work. Seems to be fixed.

    Is that where it should go?

  5. Low 27 Jun 2016 16:07

    Yes, unless you want to make it dynamic.

  6. ZenBug 27 Jun 2016 16:08

    Okay, then this is resolved.

    Thanks as always, Low!