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

Support archive

Using Low Search to replace module tag.

ngoncom 13 Jan 2015 11:15 question, complete

Hi Low!

For very simple purpose, I dont want using tag module (like tagger - Dev Demon), I want replace it with Low Search.

I have a textbox to type keywords for entry, and I will type keywords separated by commas: keyword-1, keyword-2...

So, there is anyway to search multi keywords separated by commas, I want to show:

- list of entries have keyword-1
- list of entries have keyword-2

Thank you very much!

Replies

  1. Low 13 Jan 2015 11:42

    Sure, that's possible. If you're using the Keywords filter, you could use

    {exp:low_search:results collection="foo" keywords="keyword-1"}

    ...where the "foo" collection has the textbox field with weight >= 1.

    You could even get similar results using the Field Search filter:

    {exp:low_search:results channel="foo" search:textbox="keyword-1\W"}

    ...where the \W suffix will look for the word, instead of the substring.

  2. ngoncom 14 Jan 2015 05:10

    Field Search filter is the most suitable for me!

    That is appreciated help, thank Low!