Class IsolateQuery

  • All Implemented Interfaces:
    Query

    public class IsolateQuery
    extends Object
    implements Query
    Isolate a query by wrapping it. Used for special cases to force Solr to distinguish specific parts of the global query.
    • Constructor Detail

    • Method Detail

      • build

        public String build()
                     throws QuerySyntaxException
        Description copied from interface: Query
        Build the solr query string representing the Query object.
        Specified by:
        build in interface Query
        Returns:
        the solr query string representing the Query object.
        Throws:
        QuerySyntaxException - if the query can't be built because of a syntax error.