public final class ResultDocConfig
extends java.lang.Object
DocReader
Modifier and Type | Field and Description |
---|---|
java.util.HashMap |
attributes
The attributes that will be made availalbe to DocReaders at search time.
|
org.apache.lucene.search.Filter |
filter
The Lucene serach Filter used
|
SimpleLuceneIndex |
index
The index being used
|
org.apache.lucene.search.Query |
luceneQuery
The Query used
|
java.lang.String |
query
The query used
|
Constructor and Description |
---|
ResultDocConfig(SimpleLuceneIndex myIndex)
Minimum constructor for the ResultDocConfig.
|
ResultDocConfig(java.lang.String myQuery,
org.apache.lucene.search.Query luceneQueryObj,
org.apache.lucene.search.Filter myFilter,
java.util.HashMap docReaderAttributes,
SimpleLuceneIndex myIndex)
Constructor for the ResultDocConfig.
|
public SimpleLuceneIndex index
public java.lang.String query
public org.apache.lucene.search.Query luceneQuery
public org.apache.lucene.search.Filter filter
public java.util.HashMap attributes
public ResultDocConfig(java.lang.String myQuery, org.apache.lucene.search.Query luceneQueryObj, org.apache.lucene.search.Filter myFilter, java.util.HashMap docReaderAttributes, SimpleLuceneIndex myIndex)
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.public ResultDocConfig(SimpleLuceneIndex myIndex)
myIndex
- A pointer to the index that was searched over.