|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.index.ResultDocConfig
public final class ResultDocConfig
Contains the arbitraty attributes, the index and the users query, making them available in DocReaders.
DocReader
Field Summary | |
---|---|
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 |
String |
query
The query used |
Constructor Summary | |
---|---|
ResultDocConfig(SimpleLuceneIndex myIndex)
Minimum constructor for the ResultDocConfig. |
|
ResultDocConfig(String myQuery,
org.apache.lucene.search.Query luceneQueryObj,
org.apache.lucene.search.Filter myFilter,
HashMap docReaderAttributes,
SimpleLuceneIndex myIndex)
Constructor for the ResultDocConfig. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public SimpleLuceneIndex index
public String query
public org.apache.lucene.search.Query luceneQuery
public org.apache.lucene.search.Filter filter
public HashMap attributes
Constructor Detail |
---|
public ResultDocConfig(String myQuery, org.apache.lucene.search.Query luceneQueryObj, org.apache.lucene.search.Filter myFilter, 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.
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |