Class MatchPhraseQueryBuilder

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

public class MatchPhraseQueryBuilder
extends AbstractQueryBuilder<MatchPhraseQueryBuilder>
Match query is a query that analyzes the text and constructs a phrase query as the result of the analysis.
  • Field Details

    • NAME

      public static final java.lang.String NAME
      See Also:
      Constant Field Values
    • SLOP_FIELD

      public static final org.elasticsearch.common.ParseField SLOP_FIELD
    • ZERO_TERMS_QUERY_FIELD

      public static final org.elasticsearch.common.ParseField ZERO_TERMS_QUERY_FIELD
  • Constructor Details

    • MatchPhraseQueryBuilder

      public MatchPhraseQueryBuilder​(java.lang.String fieldName, java.lang.Object value)
    • MatchPhraseQueryBuilder

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