Possible to Change Instant Response Default Boolean?

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
djw
Posts: 2
Joined: Fri May 22, 2009 3:54 pm

Possible to Change Instant Response Default Boolean?

Post by djw »

It appears that the default logic for multiple terms in the instant response is "OR". In other words, when multiple terms are entered, the search is being done with "OR":

Entering "cats dogs" searches for "cats" OR "dogs".

Is it possible to change that to "AND" so that the search would be "cats" AND "dogs".

Thanks.
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Possible to Change Instant Response Default Boolean?

Post by Thorsten »

Hi,

hm... which database are you using?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
djw
Posts: 2
Joined: Fri May 22, 2009 3:54 pm

Re: Possible to Change Instant Response Default Boolean?

Post by djw »

I am using MySQL version 4.1.22.

Thanks.
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Possible to Change Instant Response Default Boolean?

Post by Thorsten »

Hi,

just add a "+" to the second word.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply