Hi Nariman,
In my understanding of ComplexPhraseQueryParser this class is not longer
supported.
http://issues.apache.org/jira/browse/LUCENE-1486#action_12782254
Instead with lucene 3.1 the new
org.apache.lucene.queryParser.standard.parser.StandardSyntaxParser will do
this job.
Second concern: boosting a
phrase (java developer^10.0) doesn't seem to be applied
when you look at the result explanations when using the
ComplexPhraseQueryParser - it's respected on single word
queries and it's respected on phrases using the basic
QueryParser.
I just tested and able to
@lucene.apache.org
Subject: Re: ComplexPhraseQueryParser (Expanded Form and Boosting)
Second concern: boosting a
phrase (java developer^10.0) doesn't seem to be applied
when you look at the result explanations when using the
ComplexPhraseQueryParser - it's respected on single word
queries and it's respected
Try call rewrite on the query object to expand then call tostring on
the result.
Cheers,
Mark
-
On 1 Feb 2010, at 21:32, Haghighi, Nariman nariman.haghi...@workopolis.com
wrote:
We are relying on the ComplexPhraseQueryParser for some impressive
matching capabilities.
Of