Re: File Handle Leaks During Lucene 3.0.2 Merge

2010-10-01 Thread Michael McCandless
On Fri, Oct 1, 2010 at 1:41 AM, Jamie wrote: >  I managed to get hold of a copy of your book through Safari Books. Quite an > impressive online reading system they have there! Neat! I had never heard of Safari Books until now, but it looks cool. > I integrated your > SearchManager class into o

How to get the score of a term in a document?

2010-10-01 Thread Sahin Buyrukbilen
Hi all, I need to retrieve the score of a term in a document? I dont want to play different scoring schemes. I just checked my index with Luke and it shows me a score for each term in each document the term exists. So, I need just to get that score. Can anybody help me? Thank you in advance. Sa

Re: How to get the score of a term in a document?

2010-10-01 Thread Erick Erickson
I'm not sure what you're asking for. "Score of a term in a document"? Do you mean the amount a term contributed to a search for a particular document? The frequency of a term in a document? ??? Could you elaborate on what you're trying to do? If you describe the problem you're trying to solve, peo

Re: How to get the score of a term in a document?

2010-10-01 Thread Sahin Buyrukbilen
Hi Erick, I mean the score of a term in a document (we can think this as a one word query) which is calculated by using "Default Similarity". Actually, when I walk through my index term-by-term, Luke shows me the number of documents in which the term exists. And for each document there is a score