org.apache.uima.lucas
Interface SearchQuery


public interface SearchQuery

A SearchQuery defines a "search request" which is monitored against a stream of text. The SearchQuery is a combinition of a lucene Query and a long id to identify the query. The id is later needed to map the search result to the search query.


Method Summary
 long id()
          Id of the search query.
 org.apache.lucene.search.Query query()
          The Lucene query.
 

Method Detail

id

long id()
Id of the search query.

Returns:
Id of the search query.

query

org.apache.lucene.search.Query query()
The Lucene query.

Returns:
The Lucene query.


Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.