RE: OR query on multiple fields causes low coord

2005-06-11 Thread M. Mokotov
Hi Paul, Thanks for the help. -Original Message- From: Paul Elschot [mailto:[EMAIL PROTECTED] Sent: Thursday, June 09, 2005 8:11 PM To: java-user@lucene.apache.org Subject: Re: OR query on multiple fields causes low coord On Thursday 09 June 2005 13:14, M. Mokotov wrote: > Hi, >

OR query on multiple fields causes low coord

2005-06-09 Thread M. Mokotov
Hi, I have a question with regards to an OR query on multiple fields. It seems that the more fields I'm splitting the documents into, the lower the coord is getting. As a result when I want to query the string S on many fields (a query like F1:(S) F2:(S) ... Fn:(S) ) I'm getting close-to-zero c

RE: using the CachingWrapperFilter

2005-06-02 Thread M. Mokotov
ubject: Re: using the CachingWrapperFilter On May 26, 2005, at 5:02 AM, M. Mokotov wrote: > Can someone please explain me how do I use the CachingWrapperFilter? There is a bit of it demonstrated in Lucene in Action. Here are some snippets that (sort of) describe it: http://www.lucenebo

using the CachingWrapperFilter

2005-05-26 Thread M. Mokotov
Hi, Can someone please explain me how do I use the CachingWrapperFilter? I see that it's built in a decorator way (getting on the constructor another filter and decorate it with caching), still I don't see any basic filter to be the 'root'. On the tests I saw there is a MockFilter, but I couldn

RE: tf=0 while lucene is finding matches?

2005-05-25 Thread M. Mokotov
sing the document id in your calls to : IndexSearcher.explain(). You don't pass the hit index number. : : Erik : : : On May 24, 2005, at 11:13 AM, M. Mokotov wrote: : : > OK, I think I'm missing something big time... : > Can someone point me to the documentation of the explain

RE: tf=0 while lucene is finding matches?

2005-05-24 Thread M. Mokotov
May 24, 2005 5:28 PM To: java-user@lucene.apache.org Subject: Re: tf=0 while lucene is finding matches? My hunch is that you're not using the document id in your calls to IndexSearcher.explain(). You don't pass the hit index number. Erik On May 24, 2005, at 11:13 AM, M. Moko

RE: tf=0 while lucene is finding matches?

2005-05-24 Thread M. Mokotov
OK, I think I'm missing something big time... Can someone point me to the documentation of the explain? Thanks a lot, M -Original Message- From: M. Mokotov [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 24, 2005 4:46 PM To: 'java-user@lucene.apache.org' Subject: tf=0

RE: tf=0 while lucene is finding matches?

2005-05-24 Thread M. Mokotov
Wrap the writing code in a try{ ... }finally{ ... } and on the finally close the writer (and maybe even optimize). -Original Message- From: Santanu Dutta [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 24, 2005 4:08 PM To: java-user@lucene.apache.org Cc: [EMAIL PROTECTED] Subject: RE: tf

tf=0 while lucene is finding matches?

2005-05-24 Thread M. Mokotov
Hi, Anyone knows what is exactly Similarity.tf()? I understood it's term frequency on a document. Still, when I'm searching for a string a document contains, and the Explain().toString() shows tf=0. search string: "SubTitle:(Without)" matching documents: 3 0: 1.0: "Dropping Out," Drifting O