Make it so SearchMode=All matches if stop words are present even when querying across multiple analyzers
Not all of the documents in our corpus are localized so we must search the default language (English) and the user's locale with the provided user query. Queries that contain a stop word for either default or user language analyzer causes no results to be returned.
The documents contain 2 searchable fields (plus an ID field).
TitleEN -> English Analyzer
TitleES -> Spanish Analyzer
A document exists with the following values:
TitleEN -> "The best document"
TitleES -> "Un documento excelente"
When a user inputs a query, we search on TitleEN and TitleES. If the user provides the query "The best document" the English analyzer removes the "the" stop word and matches the following two terms. The Spanish analyzer does not remove the stop word and causes the document to not match. SearchMode=All means that all terms should be matched, but the EnglishAnalyzer fields have determined that all relevant tokens match the document. Can search be updated to behave this way?
It sounds like you want to be able to control the stop words. If this is the case, please take a look at custom analyzers (https://docs.microsoft.com/en-us/rest/api/searchservice/custom-analyzers-in-azure-search). If that is not the case, I highly recommend you open this as a question in StackOverflow tagged as Azure Search (https://stackoverflow.com/questions/tagged/azure-search )
Giorgos Maravelias commented
Why guys ? we have the same issue with Greek analyzer .
What analyzer is ? if does not have the stop words check !!!