Re: score and frequency

2004-06-04 Thread Phil brunet
Hi to all. Maybe the term frequency is not the only parameter you need to override to "customize" the score attributed by Lucene. Maybe you should consider the normalisation factor, the idf and the coord factor ? Philippe From: "Niraj Alok" <[EMAIL PROTECTED]> Reply-To: "Lucene Users List" <[EM

Re: Mixing database and lucene searches

2004-05-12 Thread Phil brunet
> -- Snip -- > If you can't guaranty a fixed number of Lucene results (and it is often the > case !), a good way is to duplicate the last PK and so to round to a fixed > number. > Hi... I'm not sure what you mean by that last bit. Hi ... i'm going to try to express myself correctly ... in eng

Re: Mixing database and lucene searches

2004-05-11 Thread Phil brunet
Hi to all. Just one word about "crossing" Lucene results and DB results. Maybe it is obvious but maybe not (sorry for my english). Once you got the Lucene results, a good way is to get the PKs that you have stored in the Lucene and use then directly in the SQL query with a IN operator. In th

RE: ArrayIndexOutOfBoundsException

2004-04-28 Thread Phil brunet
Hi. I had this problem when i transfered a Lucene index by FTP in "ASCII" mode. Using binary mode, i never has such a problem. Philippe From: James Dunn <[EMAIL PROTECTED]> Reply-To: "Lucene Users List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: ArrayIndexOutOfBoundsException Date: Mon,

Re: Performing exact search with Lucene

2004-04-02 Thread Phil brunet
Thanks for your quick answer. I'm going to try the PhraseQuery as you propose. But considering theses three examples : document 1 ="this is an example" document 2 ="this is an example of document" document 3 ="this is an other example" i guess that a PhraseQuery, based on : +"thi

Performing exact search with Lucene

2004-04-02 Thread Phil brunet
Hi all. I'm migrating a part of an application from Oracle intermedia to Lucene (1.3) to perform full text searches. I'd like to know if there is a way to perform "exact queries". By "exact query", i mean beeing able to match ONLY document that are exactely equals to the terms of the query. E