When querying Amazon Cloudsearch using the exact content of a field as the query, Cloudsearch returns no results, if the query (and content) contains a stopword. If I remove the stopword from the query, then results are returned.
I understand that stopwords are removed from content when indexing for performance, but I would have thought they would also be ignored in queries to prevent this behavior.
To allow the verbose user to get expected results, will I need to filter out the stopwords from the query for every language, or is there a way for Cloudsearch to ignore stopwords in the query itself?
Index field content:
The Company Search Test
Example queries
With stopword:
Query: the company search test
Results: NONE
Without stopword:
Query: company search test
Results: YES
Inside quotes:
Query: "the company search test"
Results: YES
Implementation details for this example:
- index field type: "text"
- index field analysis scheme: "English"
- all options selected for field: "Return", "Sort", "Highlight"
- QueryParser: "simple"
- using test search in AWS dashboard (same results if using Go sdk)