'The' search bug
Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › 'The' search bug
- This topic has 4 replies, 2 voices, and was last updated 11 years, 5 months ago by
ogwyther.
-
AuthorPosts
-
February 17, 2015 at 2:02 pm #3944
ogwyther
ParticipantHi there,
We have a bug on our site where any post/page title that is prefixed with ‘The’ does not appear in search results if you type the title exactly.
For instance, we have a page for a film called ‘The Servant’ (you can find it in Actor > Filmography). If you search for ‘Servant’ then it appears in the search results, but if you search for ‘The Servant’ it does not.
Any ideas?
Thanks,
Oliver
February 17, 2015 at 3:36 pm #3945Ernest Marcinko
KeymasterHi!
– Does the title actually contain the word “the”, or is it prefixed within the theme layout?
– Does this happen if you type in the search keyword in full lowercase?
– Is the fulltext search mode activated? (Fulltext search options submenu) In some cases the database ignores some words or word combinations in fulltext mode.
– What is the Keyword logic set to? http://i.imgur.com/Q9SGAGa.png
If it’s “And with exact word matches”, then the “the” part is actually not stored in the database, or at least this is what I suspect. Or it’s an unknown bug yet.
– Is the “Show exact matches only” option turned on or off? What happens if you type partial phrase, like “he servant” or “the serv”?February 17, 2015 at 3:41 pm #3946ogwyther
ParticipantThanks for the quick reply.
1) Yes, the title actually contains the word ‘The’. The full title of the post is ‘The Servant (1963)’
2) Case doesn’t matter, it bugs with both.
3) Fulltext search is off and unused.
4) Keyword logic is the default – AND.
5) Show exact matches is off. Partially typing the second word (without the ‘the’) does return results also, for instance typing ‘serv’ returns it in the results.Regards,
Oliver
February 17, 2015 at 3:44 pm #3947Ernest Marcinko
KeymasterNo problem at all.
Would you please try to change the keyword logic to “OR”? That is actually the default value. It should solve the issue.
February 24, 2015 at 5:10 pm #4013ogwyther
ParticipantSorry for the belated reply, i’ve been away.
Strange. That wasn’t a value i have ever touched. Oh well!
Still no change though. It still doesn’t show.
Regards,
Oliver
-
AuthorPosts
- You must be logged in to reply to this topic.