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

Support archive

Low Search problems (mainly) in results page

KostasRomporas 27 Dec 2012 16:25 problem, complete

I've just bought Low Search for implementing a search in a library.

The Library channel has title, summary, year, isbn, id, language and two playa fields (that get data from two other channels - only title field) one for writers and one for publishers

I created a collection called library that gets data from channel library.

I perform a search based on a keyword and the first problem is that i get too many results with the same title

Then, in the results page when i click the link in the title it does not get me to the entry of the book (template library/book but to some other page that does not return anything)

How can i fix the link in the results page and how i will avoid getting too many of the same reults on the results page?

Also how can i include data from the playa fields in the results or it happens automatically?

Also is there any possibility for advanced search like having many input fields on search page where the user can type in whichever input filed he wants? (combined results)

Any help please?

Replies

  1. Low 27 Dec 2012 17:41

    How can i fix the link in the results page and how i will avoid getting too many of the same reults on the results page?


    Low Search results will return entries. You decide where those entries link to. In my examples, I use a variable {comment_url_title_auto_path} which is just something you set yourself, but you can use anything you'd like there.

    As for getting "too many of the same results" -- a found entry is only returned once, so I'm not quite sure what you mean by that.

    Also how can i include data from the playa fields in the results or it happens automatically?


    As said, Low Search returns entries. For keyword searches, the weighted fields get searched and matches are returned. For Playa fields, the related entry ids and titles are stored in the index (done by Playa, not Low Search), but the actual data of those entries are not indexed, as (technically) they're different entries.

    You can filter by related entries, tho, by selecting entries and using the relationship options.

    Also is there any possibility for advanced search like having many input fields on search page where the user can type in whichever input filed he wants?


    Well, you can create an advanced search form for specific filtering. I think a combination of a keyword search and using search:custom_field will help.

    Further reading:
    - Low Search primer
    - Low Search explanation on StackExchange

  2. KostasRomporas 27 Dec 2012 19:18

    1. The link is fixed, i corrected it

    2. The same results were caused by too many entries with the same title

    3. I've entered the tile of a playa field in the search box and returned the entries of the channel that had the playa field .. Don't know how this happened, but it works!!

    4. Workin out the advanced form at the moment

  3. Low 27 Dec 2012 20:15

    2. If your entries have the same title, then those will show as results, if you have {title} in there. Just add an {entry_id} next to it to verify that they're indeed different entries.

    3. Any Playa field will have its selected entry's titles as searchable data, so that's why it's returning results for a keyword search.