org.hibernate.search.query.dsl

## Interface PhraseMatchingContext

- All Superinterfaces:
    FieldCustomization<PhraseMatchingContext>
  All Known Implementing Classes:
    ConnectedPhraseMatchingContext

      public interface PhraseMatchingContext
      extends FieldCustomization<PhraseMatchingContext>

  Author:
    Emmanuel Bernard

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `PhraseMatchingContext` | `andField(String field)` field / property the term query is executed on
    `PhraseTermination` | `sentence(String sentence)` Sentence to match.

    - ### Methods inherited from interface org.hibernate.search.query.dsl.FieldCustomization

      `boostedTo, ignoreAnalyzer, ignoreFieldBridge`

- - ### Method Detail

    - #### andField

          PhraseMatchingContext andField(String field)

      field / property the term query is executed on
      Parameters:
        `field` - the name of the field
      Returns:
        `this` for method chaining

    - #### sentence

          PhraseTermination sentence(String sentence)

      Sentence to match. It will be processed by the analyzer
      Parameters:
        `sentence` - the sentence to match
      Returns:
        the `PhraseTermination` for method chaining

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved