Searches including apostrophes yield no results
-
Hi, I noticed today on my site using Relevanssi, that when I search for a phrase that includes an apostrophe in a word, wrapped in quotes, Relevanssi yields no search results.
For example I know this phrase exists on my site: “the world’s thinking”
There are two different scenarios that happen:
1.) I type this into the search bar: “the world’s thinking” (including the double quotes and a “straight” apostrophe) — my results are shown, however the actual search phrase is not shown in the excerpt; it’s just showing the first paragraph of the page containing the search phrase.2.) I copy the actual phrase from the page that includes the phrase and paste it into the search bar: “the world’s thinking” (note, that this makes the apostrophe “curly” instead of straight) — my search results in this case are, “No Results Found.”
Can you tell me what’s happening here? Why is this not working? The search function works PERFECTLY for terms and phrases that do not include an apostrophe (both, scenario 1 and 2 yield proper results for non-apostrophized terms/phrases with the search terms/phrases bolded in the search result excerpts).
- The topic ‘Searches including apostrophes yield no results’ is closed to new replies.