× If you expect answers you should describe your problem and give as much information's as possible. (SQL-Structure, Template Code, Joomla Version ...) Please read this before posting: joodb.feenders.de/support.html

How to change Search rule

More
7 years 6 months ago #4138 by jauze
How to change Search rule was created by jauze
Hello,

I want to change search rule so that search result will display result exactly same with user key in. For example if user want to search 'skin cream' in products field, only %skin cream% product will appear in search result. not %skin% and %cream% product will appear with more much result. Please Help.

Thank You

Please Log in to join the conversation.

More
7 years 6 months ago #4141 by Dirk
Replied by Dirk on topic How to change Search rule
If you own the pro version you can use the searchfield command to search for the exact (case insensitve) match.

Instead of a searchform you can insert
{joodb searchfield|FIELDNAME|exact}
into your template

/support/documentation.html?search=SEARCHFIELD

Please Log in to join the conversation.

More
7 years 6 months ago #4142 by Dirk
Replied by Dirk on topic How to change Search rule

dirk wrote: If you own the pro version you can use the searchfield command to search for the exact (case insensitive) match.

Instead of a searchform you can insert

{joodb searchfield|FIELDNAME|exact}
into your template

/support/documentation.html?search=SEARCHFIELD


But maybe it helps if you disable "Search all Fields" in the menu configuration of your database catalogue.

Please Log in to join the conversation.

Moderators: Dirkjoest