You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by java_user_ <jk...@cs.tufts.edu> on 2007/10/24 19:40:50 UTC

Boost Sub-Query

Is it possible to boost subqueries with QueryParser?

For example:
((apple AND banana)^10 OR orange)

Thanks




-- 
View this message in context: http://www.nabble.com/Boost-Sub-Query-tf4685212.html#a13388793
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


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


Re: Boost Sub-Query

Posted by Erick Erickson <er...@gmail.com>.
What I'd do is get a copy of Luke, put the query in the appropriate
box and click on the explain tab. Trying that several ways should
answer your question as well as give you a better feel
for how Lucene handles queries.

Best
Erick

On 10/24/07, java_user_ <jk...@cs.tufts.edu> wrote:
>
>
> Is it possible to boost subqueries with QueryParser?
>
> For example:
> ((apple AND banana)^10 OR orange)
>
> Thanks
>
>
>
>
> --
> View this message in context:
> http://www.nabble.com/Boost-Sub-Query-tf4685212.html#a13388793
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>