Maybe you could just use MatchAllDocsQuery?

http://lucene.apache.org/java/3_5_0/api/core/org/apache/lucene/search/MatchAllDocsQuery.html

Rene

Am 16.12.2011 22:58, schrieb Paul Taylor:
On 16/12/2011 20:54, Paul Taylor wrote:

Thanks I think you might have it, but tell me if forceMergeDelete() is a bad idea is there a query I can run that just returns all docs rather than the iteration I use, (what I want is the value of a particular field in each doc)

Paul
Never mind Ive got it working by adding another field to the index with always the same value that I can search on

thansk Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to