|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList
org.dlese.dpc.index.ResultDocList
public class ResultDocList
A List of ResultDocs returned by a SimpleLucenIndex search.
SimpleLuceneIndex,
ResultDoc| Field Summary |
|---|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
ResultDocList()
Creates an empty ResultDocList that can not be expanded. |
|
ResultDocList(ResultDoc[] resultDocs)
Creates a ResultDocList backed by the given resultDocs that can not be expanded. |
|
ResultDocList(org.apache.lucene.search.TopDocs topDocs,
ResultDocConfig resultDocConfig)
Creates a ResultDocList backed by the given search results that can not be expanded. |
|
| Method Summary | |
|---|---|
ResultDoc |
get(int i)
Get the ResultDoc at the given location. |
static String |
getDateStamp()
Gets a datestamp of the current time formatted for display with logs and output. |
static void |
setDebug(boolean db)
Sets the debug attribute of the SimpleLuceneIndex object |
int |
size()
The number of search results. |
ResultDoc[] |
toArray()
Gets the ResultDocs as an array. |
| Methods inherited from class java.util.AbstractList |
|---|
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray |
| Constructor Detail |
|---|
public ResultDocList()
public ResultDocList(ResultDoc[] resultDocs)
resultDocs - The result docs that back this ResultDocList.
public ResultDocList(org.apache.lucene.search.TopDocs topDocs,
ResultDocConfig resultDocConfig)
topDocs - The TopDocsresultDocConfig - The config| Method Detail |
|---|
public ResultDoc get(int i)
get in interface Listget in class AbstractListi - Index
public int size()
size in interface Collectionsize in interface Listsize in class AbstractCollectionpublic ResultDoc[] toArray()
toArray in interface CollectiontoArray in interface ListtoArray in class AbstractCollectionpublic static final String getDateStamp()
public static void setDebug(boolean db)
db - The new debug value
|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||