Class ElasticsearchMatchIdPredicate

java.lang.Object
org.hibernate.search.backend.elasticsearch.search.predicate.impl.AbstractElasticsearchPredicate
org.hibernate.search.backend.elasticsearch.search.predicate.impl.ElasticsearchMatchIdPredicate
All Implemented Interfaces:
ElasticsearchSearchPredicate, SearchPredicate

public class ElasticsearchMatchIdPredicate extends AbstractElasticsearchPredicate
Generate the JSON for queries by id for Elasticsearch.

Example:

 
 GET /_search
 {
     "query": {
         "ids" : {
             "values" : ["1", "4", "100"]
         }
     }
 }
 
 
Author:
Davide D'Alto