questions regarding index boost vs search boost for multivalued fields

2010-08-27 Thread Qi Li
search boost? I will appreciate your help a lot. Best regards, Qi Li

How to calculate the fieldNorm

2010-09-21 Thread Qi Li
.0 vs 0.375) . 2. Anybody knows how to calculate the fieldNorm for this case by hand? Thank you very much. Best regards, Qi Li

how to change the getPositionIncrementGap for a field which has multiple values

2010-09-21 Thread Qi Li
Hi, Guys: I try to change the getPositionIncrementGap for a field which has multiple values per document on index time. But got no clue how to approach this issue. Any ideas? Thank you very much. Best regards, Qi Li

Re: ApacheCon Meetup in Atlanta

2010-10-18 Thread Qi Li
I do not have much to present at this moment but I will attend. Thanks. Qi On Mon, Oct 18, 2010 at 3:19 PM, Erik Hatcher wrote: > Count me in for any kind of Lucene/Solr hanging out in Atlanta. > >Erik > > > On Oct 18, 2010, at 14:57 , Grant Ingersoll wrote: > > > Is there interest in

Re: how to index large number of files?

2010-10-20 Thread Qi Li
1. What is the difference when you used different vm parameters? 2 What merge policy and optimization strategy did you use? 3. How did you use the commit or flush ? Qi On Wed, Oct 20, 2010 at 2:05 PM, Sahin Buyrukbilen < sahin.buyrukbi...@gmail.com> wrote: > Thank you so much for this infor. it

Re: how to index large number of files?

2010-10-20 Thread Qi Li
t(document); } indexWriter.close(); } Good Luck. Qi Li On Wed, Oct 20, 2010 at 2:45 PM, Sahin Buyrukbilen < sahin.buyrukbi...@gmail.com> wrote: > with the different parameters I still got the same error. My code is very > simple, indeed I am only concerned with creatin

relevant score calculation

2010-12-28 Thread Qi Li
Happy Holidays ! Test case doc1 : test -- one two three doc2 : test, one two three doc3 : one two three Search query : "one two three" by QueryParser and StandardAnalyzer Question: why all of three documents have the same score? I really want the doc3 has higher score becaus

Re: relevant score calculation

2010-12-29 Thread Qi Li
Ahmet and Ian: Thanks to both of you very much. I will try the patch. Qi On Wed, Dec 29, 2010 at 9:00 AM, Ahmet Arslan wrote: > > Test case > > doc1 : test -- one two > > three > > doc2 : test, one two three > > doc3 : one two three > > > > Search query : "one two three" by

Re: relevant score calculation

2010-12-29 Thread Qi Li
I tried to override the default lengthNorm method with the suggestion in this link https://issues.apache.org/jira/browse/LUCENE-2187. But it will not work because not every number of terms from 1 to 10 has an unique score. Here is my solution, which only works for shorter fields. Welcome any crit