lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Harwood <markharw...@yahoo.co.uk>
Subject Re: ComplexPhraseQueryParser (Expanded Form and Boosting)
Date Tue, 02 Feb 2010 07:33:47 GMT
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.Haghighi@workopolis.com 
 > wrote:

> We are relying on the ComplexPhraseQueryParser for some impressive  
> matching capabilities.
>
> Of concern is that Wildcard Queries, of the form "quality operations  
> providing quality food services job requirements: click here to  
> apply for this job*", for instance, take 2-5 seconds to execute and  
> require boosting the maxClauseCount to > 40K. I'm hard-pressed to  
> believe that we have over 40K unique words that have 'job' as a  
> prefix in our index so the first question is, how does one see the  
> expanded form of this query? We've installed the latest Luke for  
> Lucene 3 but aren't able to reproduce the same search there as it  
> doesn't seem to support Wildcard Queries. 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.
>
> Any ideas?
>
>
>
>
> ________________________________
> Please consider the environment before printing this email.
> Avant d'imprimer ce courriel, pensez ? l'environnement.



      

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message