org.hibernate.search.query.dsl.impl

## Class RemotePhraseQuery

- java.lang.Object
- - org.apache.lucene.search.Query
  - - org.hibernate.search.query.dsl.impl.AbstractRemoteQueryWithAnalyzer
    - - org.hibernate.search.query.dsl.impl.RemotePhraseQuery

- All Implemented Interfaces:
    Cloneable

      public class RemotePhraseQuery
      extends AbstractRemoteQueryWithAnalyzer

  A phrase query interpreted remotely, thus based on the remote analyzers.
  Author:
    Guillaume Smet

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RemotePhraseQuery(String field, int slop, String phrase, RemoteAnalyzerReference originalAnalyzerReference, RemoteAnalyzerReference queryAnalyzerReference)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getField()`
    `String` | `getPhrase()`
    `int` | `getSlop()`
    `String` | `toString(String field)`

    - ### Methods inherited from class org.hibernate.search.query.dsl.impl.AbstractRemoteQueryWithAnalyzer

      `getOriginalAnalyzerReference, getQueryAnalyzerReference`

    - ### Methods inherited from class org.apache.lucene.search.Query

      `clone, createWeight, equals, getBoost, hashCode, rewrite, setBoost, toString`

    - ### Methods inherited from class java.lang.Object

      `finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### RemotePhraseQuery

          public RemotePhraseQuery(String field,
                                   int slop,
                                   String phrase,
                                   RemoteAnalyzerReference originalAnalyzerReference,
                                   RemoteAnalyzerReference queryAnalyzerReference)

  - ### Method Detail

    - #### getField

          public String getField()

    - #### getPhrase

          public String getPhrase()

    - #### getSlop

          public int getSlop()

    - #### toString

          public String toString(String field)

      Specified by:
        `toString` in class `Query`

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