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.
– 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”?
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.