Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Stop-words not removed during simple-query query-time analysis #28855
Consider the below - We create an index and change the default analyzer to use English stopwords:
And then populate it:
Now, if we query this with the regular query_string, we get the expected two results:
But the same query using simple-query-string and the AND operator finds no results:
Remove the "of" from the query and it will work as expected.
Maybe this is intentional because the SQS is "simple", but it's not documented on the SQS page - the only explicitly stated difference is no exception raising. Seems like a bug though, hence the report.