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

Support archive

Search seems to always require Keywords to produce results

xynergy 2 Nov 2015 18:11 problem, complete

Hi Low,
I'm trying to do the same thing but can't seem to get it working in EE v2.10.1 and Low Search v4.2.0

I want to allow search by keyword, category or both but can't get it working without a keyword. It works fine if keyword is entered both with and without a category selected, but if you leave the keyword out, I get no results every time (see image)

Form & Results code here: http://pastie.org/10524931

Thanks in advance!



Note: This conversation was created from a reply on: Low Search > Keyword-less search using filters? (such as category or custom field....

Replies

  1. Low 2 Nov 2015 22:18

    Are you using Encoded Queries or GET variables?

    Do you have dynamic query caching enabled?

    Can you copy/paste the template debugger output (lines that mention Low Search) for such a no-results page?

  2. xynergy 2 Nov 2015 22:29

    Hi Low,
    Thanks for the reply - no, I'm not using Encoded queries, so the variables are coming in via the query string parameters.

    eg: http://example.com/contact-us/directo...

    And no, I'm not using dynamic query caching either.

    And here are the lines from the template debugger output:

    0.069004 / 6.63MB) Low Search: Prepping if low_search_no_results conditional
    (0.086005 / 7.02MB) Low Search: Applying Low_search_filter_keywords
    (0.087005 / 7.03MB) Low Search: No keyword search
    (0.087005 / 7.03MB) Low Search: Parameters set: status="not closed" disable="member_data|category_fields" collection="directory" loose_ends="both" search_mode="any" require_all="category" channel="directory"
    (0.087005 / 7.03MB) Low Search: Pre-applying search vars to tagdata
    (0.089005 / 7.03MB) Low Search: Calling the channel module

  3. Low 2 Nov 2015 22:32

    Can you try and upgrade to the latest version? If that doesn't help, I'll need to take a look myself. In that case, please send SuperAdmin login credentials to hi at gotolow dot com if you can.

  4. xynergy 2 Nov 2015 22:47

    Ah, sorry I didn't realize there was a later version - updating to 4.4.0 fixed the issue.

    Thanks very much!

  5. Low 2 Nov 2015 22:48

    Good to hear!