Uses of Class
gate.creole.annic.apache.lucene.search.Query

Packages that use Query
gate.creole.annic.apache.lucene.search Search over indices. 
gate.creole.annic.lucene   
 

Uses of Query in gate.creole.annic.apache.lucene.search
 

Subclasses of Query in gate.creole.annic.apache.lucene.search
 class BooleanQuery
          A Query that matches documents matching boolean combinations of other queries, typically TermQuerys or PhraseQuerys.
 class PhraseQuery
          A Query that matches documents containing a particular sequence of terms.
 class TermQuery
          A Query that matches documents containing a term.
 

Fields in gate.creole.annic.apache.lucene.search declared as Query
 Query BooleanClause.query
          The query whose matching documents are combined by the boolean query.
 

Methods in gate.creole.annic.apache.lucene.search that return Query
 Query Query.combine(Query[] queries)
          Expert: called when re-writing queries under MultiSearcher.
 Query Weight.getQuery()
          The query that this concerns.
static Query Query.mergeBooleanQueries(Query[] queries)
          Expert: merges the clauses of a set of BooleanQuery's into a single BooleanQuery.
 Query BooleanQuery.rewrite(IndexReader reader)
           
 Query Query.rewrite(IndexReader reader)
          Expert: called to re-write queries into primitive queries.
 Query IndexSearcher.rewrite(Query original)
           
 Query Searchable.rewrite(Query query)
          Expert: called to re-write queries into primitive queries.
 

Methods in gate.creole.annic.apache.lucene.search with parameters of type Query
 void BooleanQuery.add(Query query, boolean required, boolean prohibited)
          Adds a clause to a boolean query.
 Query Query.combine(Query[] queries)
          Expert: called when re-writing queries under MultiSearcher.
 Explanation IndexSearcher.explain(Query query, int doc)
           
 Explanation Searchable.explain(Query query, int doc)
          Returns an Explanation that describes how doc scored against query.
static Query Query.mergeBooleanQueries(Query[] queries)
          Expert: merges the clauses of a set of BooleanQuery's into a single BooleanQuery.
 Query IndexSearcher.rewrite(Query original)
           
 Query Searchable.rewrite(Query query)
          Expert: called to re-write queries into primitive queries.
 Hits Searcher.search(Query query)
          Returns the documents matching query.
 Hits Searcher.search(Query query, Filter filter)
          Returns the documents matching query and filter.
 void IndexSearcher.search(Query query, Filter filter, HitCollector results)
           
 void Searchable.search(Query query, Filter filter, HitCollector results)
          Lower-level search API.
 TopDocs IndexSearcher.search(Query query, Filter filter, int nDocs)
           
 TopDocs Searchable.search(Query query, Filter filter, int n)
          Expert: Low-level search implementation.
 TopFieldDocs IndexSearcher.search(Query query, Filter filter, int nDocs, Sort sort)
           
 TopFieldDocs Searchable.search(Query query, Filter filter, int n, Sort sort)
          Expert: Low-level search implementation with arbitrary sorting.
 Hits Searcher.search(Query query, Filter filter, Sort sort)
          Returns documents matching query and filter, sorted by sort.
 void Searcher.search(Query query, HitCollector results)
          Lower-level search API.
 Hits Searcher.search(Query query, Sort sort)
          Returns documents matching query sorted by sort.
 

Constructors in gate.creole.annic.apache.lucene.search with parameters of type Query
BooleanClause(Query q, boolean r, boolean p)
          Constructs a BooleanClause with query q, required r and prohibited p.
 

Uses of Query in gate.creole.annic.lucene
 

Methods in gate.creole.annic.lucene that return Query
 Query[] QueryParser.parse(String field, String query, String baseTokenAnnotationType, String corpusID, String annotationSetToSearchIn)
          Given a query, this method parses it to convert it into one or more lucene queries.
 

Methods in gate.creole.annic.lucene with parameters of type Query
 TopDocs LuceneIndexSearcher.search(Query query, Filter filter, int nDocs)
          Searches through the lucene index and returns an instance of TopDocs.