Class IdsQueryBuilder

java.lang.Object
org.elasticsearch.index.query.AbstractQueryBuilder<IdsQueryBuilder>
org.elasticsearch.index.query.IdsQueryBuilder
All Implemented Interfaces:
NamedWriteable, Writeable, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentObject, QueryBuilder, Rewriteable<QueryBuilder>

public class IdsQueryBuilder
extends AbstractQueryBuilder<IdsQueryBuilder>
A query that will return only documents matching specific ids (and a type).
  • Field Details

  • Constructor Details

    • IdsQueryBuilder

      public IdsQueryBuilder()
      Creates a new IdsQueryBuilder with no types specified upfront
    • IdsQueryBuilder

      public IdsQueryBuilder​(StreamInput in) throws java.io.IOException
      Read from a stream.
      Throws:
      java.io.IOException
  • Method Details