BooleanQuery$TooManyClauses

2005-07-10 Thread [EMAIL PROTECTED]
Did a google serach on the problem when using the range search phrase of "+datefield:[199801 TO 200512]" (date stored as "MMDD") which returns 1 million hits. error: org.apache.lucene.search.BooleanQuery$TooManyClauses Adding "-Dorg.apache.lucene.maxClauseCount=2400" to java option allowe

Re: Index Partitioning ( was Re: Search deadlocking under load)

2005-07-10 Thread Paul Smith
On 11/07/2005, at 10:43 AM, Chris Hostetter wrote: : > Generally speaking, you only ever need one active Searcher, which : > all of : > your threads should be able to use. (Of course, Nathan says that : > in his : > code base, doing this causes his JVM to freeze up, but I've never seen : >

Re: Index Partitioning ( was Re: Search deadlocking under load)

2005-07-10 Thread Chris Hostetter
: > Generally speaking, you only ever need one active Searcher, which : > all of : > your threads should be able to use. (Of course, Nathan says that : > in his : > code base, doing this causes his JVM to freeze up, but I've never seen : > this myself). : > : Thanks for your response Chris. Do y

Re: Index Partitioning ( was Re: Search deadlocking under load)

2005-07-10 Thread Paul Smith
On 11/07/2005, at 9:15 AM, Chris Hostetter wrote: : Nathan's point about pooling Searchers is something that we also : addressed by a LRU cache mechanism. In testing we also found that Generally speaking, you only ever need one active Searcher, which all of your threads should be able to u

Re: Index Partitioning ( was Re: Search deadlocking under load)

2005-07-10 Thread Chris Hostetter
: Nathan's point about pooling Searchers is something that we also : addressed by a LRU cache mechanism. In testing we also found that Generally speaking, you only ever need one active Searcher, which all of your threads should be able to use. (Of course, Nathan says that in his code base, doin

Re: Query -- how to write

2005-07-10 Thread Erik Hatcher
On Jul 10, 2005, at 12:40 AM, bib_lucene bib wrote: Hi All I am indexing a document like this... Document doc = new Document(); doc.add(Field.Text("contents", new FileReader(f))); doc.add(Field.Text("filename",f.getCanonicalPath())); Iterator it = fields.keySet().iterator(); String el