When you can’t find the results you want in the search, go through this list of common problems:
- Is your search term long enough? Relevanssi by default doesn’t index words that are shorter than three letters. Most punctuation gets removed, so if you’re searching for “40+”, that becomes “40”, which is too short. Solution: Adjust the minimum word length from Settings > Relevanssi > Indexing > Advanced indexing options. Rebuild the index afterwards.
- Is the word you’re searching a stopword? Stopwords won’t find anything. Solution: Remove the word from the stopword list at Settings > Relevanssi > Stopwords. Rebuild the index afterwards.
- Is the post indexed right? Look at the post you expect to find with the Relevanssi debugger at Settings > Relevanssi > Debugging. Does the word appear there? If the word appears there, keep on digging. If the post is not indexed right, time to figure out why.
- Is the search using Relevanssi? Try searching with the Relevanssi admin search at Dashboard > Admin search. Does that search find the results? If it does, your front end search is not using Relevanssi. If it doesn’t, keep on digging.
- Are there unwanted filters in the search query? The best way to find out is using Query Monitor to debug the query Relevanssi makes.
If none of these help, contact Relevanssi support. If you are using the free version of Relevanssi, please post your question to the support forums. If you are a Premium member, you can use the Premium support. In both cases, please describe the steps you’ve already taken to figure out what’s wrong.