Plugin Author
Ajay
(@ajay)
Better Search uses a natural language search algorithm of mySQL’s full text feature. This means it prioritises posts with both terms and so on automatically.
I just tried searching your site and noticed that the first several posts are with both terms appear in the title or content.
Is there something I’m missing there?
Greeting Ajay
If I type “bovine”, I get 5 pages returned. If I enter “leukemia”, get 2 pages. Entering “bovine leukemia”, I receive 6 pages.
If I type “caution”, I receive 3 pages. “amsterdam” returns 8 pages and “amsterdam caution” returns 10 pages.
I want to know how I get the pages that have both search terms “bovine leukemia” or “amsterdam caution” NOT either of the search terms.
Note: All the search items are entered without quotes.
Is there a way of using some form of boolean operators such as AND, OR, NOT (or +, -, ~) to refine searches?
It would be really good if the number of posts/pages that are returned is displayed. I am guessing that it is the theme that displays that information. Is that true?
Richard
Plugin Author
Ajay
(@ajay)
In the settings page you can activate BOOLEAN search mode.
Please see here for more: https://dev.mysql.com/doc/refman/8.0/en/fulltext-boolean.html
Thank you – that is very helpful.
Richard