: term from the query, this part of Lucene should be smarter to know how to
: handle wildcards or even regex, so if foo* is received from the query, it
: will start with retieving the TermInfo for just foo, and then will
: continue and add up more and more TermInfo structure to its cache (or
:
tokenizer to be used at indexing time.
Kind regards,
Paul Elschot
Itamar.
-Original Message-
From: Paul Elschot [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 08, 2008 1:56 AM
To: java-user@lucene.apache.org
Subject: Re: Why Lucene has to rewrite queries prior to actual
searching
:[EMAIL PROTECTED]
Sent: Tuesday, April 08, 2008 1:56 AM
To: java-user@lucene.apache.org
Subject: Re: Why Lucene has to rewrite queries prior to actual searching?
Itamar,
Have a look here:
http://lucene.apache.org/java/2_3_1/scoring.html
Regards,
Paul Elschot
Op Tuesday 08 April 2008 00:34:48
regards,
Paul Elschot
Itamar.
-Original Message-
From: Paul Elschot [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 08, 2008 1:56 AM
To: java-user@lucene.apache.org
Subject: Re: Why Lucene has to rewrite queries prior to actual
searching?
Itamar,
Have a look here:
http
Hi all,
Can someone from the experts here explain why Lucene has to get a rewritten
query for the Searcher - so Phrase or Wildcards queries have to rewrite
themselves into a primitive query, that is then passed to Lucene to look for?
I'm probably not familiar too much with the internals of
Itamar,
Query rewrite replaces wildcards with terms available from
the index. Usually that involves replacing a wildcard with a
BooleanQuery that is an effective OR over the available
terms while using a flat coordination factor, i.e. it does not
matter how many of the available terms actually
Other use is for custom Query objects to reboost or expand the user query
from information gathered from the indexreader at search time.
-John
On Mon, Apr 7, 2008 at 2:56 PM, Paul Elschot [EMAIL PROTECTED] wrote:
Itamar,
Query rewrite replaces wildcards with terms available from
the index.
:[EMAIL PROTECTED]
Sent: Tuesday, April 08, 2008 12:57 AM
To: java-user@lucene.apache.org
Subject: Re: Why Lucene has to rewrite queries prior to actual searching?
Itamar,
Query rewrite replaces wildcards with terms available from the index.
Usually that involves replacing a wildcard
to rewrite queries prior to actual
searching?
Itamar,
Query rewrite replaces wildcards with terms available from the index.
Usually that involves replacing a wildcard with a BooleanQuery that
is an effective OR over the available terms while using a flat
coordination factor, i.e. it does