ElasticSearch - Using FilterBuilders
I am new to ElasticSearch and Couchbase. I am building a sample Java application to learn more about ElasticSearch and Couchbase. Reading the ElasticSearch Java API , Filters are better used in cases where sort on score is not necessary and for caching. I still haven't figured out how to use FilterBuilders and have following questions: Can FilterBuilders be used alone to search? Or Do they always have to be used with a Query ? ( If true, can someone please list an example? ) Going through a documentation, if I want to perform a search based on field values and want to use FilterBuilders, how