Is it possible to filter search results using the query string
parameters? For example, I want to search with any document that
matches "John" but only want to retrieve the type "Employee". The
documents have a field called documentType that can be, lets say,
"Employee", "Employer", "Contractor".
This works great : http://localhost:9200/persons/person?q:John
But this doesnt:
This clearly has a code smell to it so I am sure I am doing something
wrong, but wanted to check with this group if this is even possible
without sending a JSON request to the server with filters, etc.
Thanks for the help!