Package org.dlese.dpc.index
Class ResultDocConfig
java.lang.Object
org.dlese.dpc.index.ResultDocConfig
Contains the arbitraty attributes, the index and the users query, making them available in DocReaders.
- Author:
- John Weatherley
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe attributes that will be made availalbe to DocReaders at search time.org.apache.lucene.search.FilterThe Lucene serach Filter usedThe index being usedorg.apache.lucene.search.QueryThe Query usedThe query used -
Constructor Summary
ConstructorsConstructorDescriptionResultDocConfig(String myQuery, org.apache.lucene.search.Query luceneQueryObj, org.apache.lucene.search.Filter myFilter, HashMap docReaderAttributes, SimpleLuceneIndex myIndex) Constructor for the ResultDocConfig.ResultDocConfig(SimpleLuceneIndex myIndex) Minimum constructor for the ResultDocConfig. -
Method Summary
-
Field Details
-
index
The index being used -
query
The query used -
luceneQuery
public org.apache.lucene.search.Query luceneQueryThe Query used -
filter
public org.apache.lucene.search.Filter filterThe Lucene serach Filter used -
attributes
The attributes that will be made availalbe to DocReaders at search time.
-
-
Constructor Details
-
ResultDocConfig
public ResultDocConfig(String myQuery, org.apache.lucene.search.Query luceneQueryObj, org.apache.lucene.search.Filter myFilter, HashMap docReaderAttributes, SimpleLuceneIndex myIndex) Constructor for the ResultDocConfig.- Parameters:
myQuery- The query that was used (as a String)luceneQueryObj- The Lucene Query object usedmyFilter- The Filter used to refine the search, or null if none used.docReaderAttributes- Attributes that will be made availalbe to DocReaders. May be null.myIndex- A pointer to the index that was searched over.
-
ResultDocConfig
Minimum constructor for the ResultDocConfig.- Parameters:
myIndex- A pointer to the index that was searched over.
-