amazon-web-servicesamazon-cloudsearch

AWS CloudSearch Filter on non-indexed field


I'm trying to do a structured query with a lot of dynamic fields (potentially) in the search pattern. So far everything is good, except I want to be able to limit from the result by field that is not indexed. Is this possible?

The test search console is showing this error: "Syntax Error in query: field (fieldname) is not searchable"


Solution

  • All index fields that you intend to use for filtering should be marked as searchable:

    enter image description here