Keywords:mode="auto" not working as expect!
Hi Low,
I've searched and read your docs (https://gotolow.com/addons/low-search...) but seem keywords:mode="auto" not working as expect.
{exp:low_search:results
channel="tags"
search:title="{exp:stash:my_title}"
keywords:mode="auto"
url_title="not {segment_2}"
dynamic="no"
parse="inward"
}
Related tags
{title}
{/exp:low_search:results}
My {exp:stash:my_title} have value = "Máy khoan kim loại, gỗ Bosch".
I think entries with these title = máy khoan; máy khoan kim loại, máy khoan bosch... will return, but nothing return.
Thank for your time!
Replies
Low 9 Jul 2019 09:47
You're mixing up 2 filters.
The keywords:mode parameter applies to the Keywords filter.
The search:title parameter applies to the Field Search filter.
Try using keywords="" instead of search:title=""
ngoncom 9 Jul 2019 10:04
I've created channel tags collection and run:
Still nothing return!
Sorry stupid I am :(
Low 9 Jul 2019 10:05
Can you enable the Template Debugger and copy/paste its contents here?
ngoncom 9 Jul 2019 10:11
Here it is
Low 9 Jul 2019 10:13
And the Templates tab too, please.
ngoncom 9 Jul 2019 10:15
My template tab:
P/S: I am using EE 5.2.3 with Low Search 6.2.0
Low 9 Jul 2019 10:18
As far as I can see, Low Search is working as expected. It searches for the keywords and finds an entry with ID 1074. That is probably negated by the url_title="not ..." parameter, tho.
ngoncom 9 Jul 2019 10:22
Yes entry ID 1074 is current viewed entry, but I have some other entries with title = máy khoan, khoan bosch... none of them display,
Low 9 Jul 2019 10:24
Are you sure you don't mean to use keywords:mode="any"? "auto" by default will require all keywords to be present in the index.
Also, do the entries exist in the same collection and are the fields correctly weighted?
ngoncom 9 Jul 2019 10:29
Oh my God!
keywords:mode="any" solved my problem!
Thank you so much for your lession and time, God bless you!