public class LuceneQuery
extends Object
Query Interface for Lucene
-
Constructor Summary
Constructors
-
Method Summary
List<org.apache.lucene.document.Document>
List<org.apache.lucene.document.Document>
org.apache.lucene.search.Query
void
setSort(org.apache.lucene.search.Sort sort)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
LuceneQuery
public LuceneQuery(String language)
-
LuceneQuery
public LuceneQuery(Indexed indexed)
-
Method Details
-
documents
public List<org.apache.lucene.document.Document> documents(String query,
List<org.apache.lucene.search.Query> rangeQueries)
-
documents
public List<org.apache.lucene.document.Document> documents(String query)
-
setSort
public void setSort(org.apache.lucene.search.Sort sort)
- Parameters:
sort
- The sort to set.
-
getParsedQuery
public org.apache.lucene.search.Query getParsedQuery()
- Returns:
- Returns the parsedQuery.