Re: boosting instead of sorting WAS: to boost or not to boost

2006-12-25 Thread Suman Ghosh
Andrzej, I have been trying to solve a similar problem where I need to boost score based on the document type. Your approach is very interesting and I want to give it a try. I have a implementation specific question. When you mention to put as many "1" as the boost need to be, do you mean that t

java.lang.NoClassDefFoundError: com_cenqua_clover/g

2006-12-22 Thread Suman Ghosh
I am trying to use Lucene nightly build lucene-2006-12-22.tar.gz. When my code tries to execute: IndexSearcher searcher = new IndexSearcher("/home/lucene/index"); I am receiving the following error: java.lang.NoClassDefFoundError: com_cenqua_clover/g java.lang.NoClassDefFoundError: com_cenqua_

Re: StackOverflowError while calling IndexReader.deleteDocuments(new Term())

2006-11-28 Thread Suman Ghosh
or, only in the end (after optimize)? Mike Suman Ghosh wrote: > Mike, > > Below is the pseudo code of the application. A few implementation > points to understand the pseudo-code: > > - We have a home grown threadpool class that allows us to index >multiple documents in pa

Re: StackOverflowError while calling IndexReader.deleteDocuments(new Term())

2006-11-28 Thread Suman Ghosh
d with the job) to add the document to the Lucene index END=== Thanks, Suman On 11/27/06, Michael McCandless <[EMAIL PROTECTED]> wrote: Suman Ghosh wrote: > On 11/27/06, Yonik Seeley <[EMAIL PROTECTED]> wrote: >> On 11/27/06

Re: StackOverflowError while calling IndexReader.deleteDocuments(new Term())

2006-11-27 Thread Suman Ghosh
be that'll help point to mistakes I'm making in the logic. Suman On 11/27/06, Michael McCandless <[EMAIL PROTECTED]> wrote: Suman Ghosh wrote: > On 11/27/06, Yonik Seeley <[EMAIL PROTECTED]> wrote: >> On 11/27/06, Suman Ghosh <[EMAIL PROTECTED]> wrote

Re: StackOverflowError while calling IndexReader.deleteDocuments(new Term())

2006-11-27 Thread Suman Ghosh
Yonik, Thanks for the pointer. I'll try the nightly build once the change is committed. Suman On 11/27/06, Yonik Seeley <[EMAIL PROTECTED]> wrote: On 11/27/06, Suman Ghosh <[EMAIL PROTECTED]> wrote: > Here are the values: > > mergeFactor=10 > maxMergeDocs=10

Re: StackOverflowError while calling IndexReader.deleteDocuments(new Term())

2006-11-27 Thread Suman Ghosh
Here are the values: mergeFactor=10 maxMergeDocs=10 minMergeDocs=100 And I see your point. At the time of the crash, I have over 5000 segments. I'll try some conservative number and try to rebuild the index. On 11/27/06, Yonik Seeley <[EMAIL PROTECTED]> wrote: On 11/27/06,

StackOverflowError while calling IndexReader.deleteDocuments(new Term())

2006-11-27 Thread Suman Ghosh
I was trying to build a lucene index (Lucene 2.0, JDK 5) with approximately 15 documents containing about 25 fields for each document. After indexing about 45000 documents , the program crashed. It was running as a batch job and did not log the cause of the crash. In order to identify why the

Boost factor in MultiFieldQueryParser

2006-05-17 Thread Suman Ghosh
Hi all,I am evaluating Lucene 1.9 for a search application. I am using MultiFieldQueryParser for searching across fields and everything works fine. However, we have a new requirement where certain fields need to be boosted while searching. To complicate matters, users can specify fields while sear