| Message view | « Date » · « Thread » |
|---|---|
| Top | « Date » · « Thread » |
| From | Bernhard Messer <bernhard.mes...@intrafind.de> |
| Subject | Re: Retrieve all documents - possible? |
| Date | Mon, 07 Feb 2005 11:09:35 GMT |
you could use something like:
int maxDoc = reader.maxDoc();
for (int i = 0; i < maxDoc; i++) {
Document doc = reader.document(i);
}
Bernhard
>Hi,
>
>is it possible to retrieve ALL documents from a Lucene index? This should
>then actually not be a search...
>
>Karl
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org
| |
| Mime |
|
| View raw message | |