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 Akos Tajti <ak...@gmail.com> on 2011/09/05 13:12:28 UTC
Index-time boosts are not taken into account
Hi All,
I'm setting the boost of our documents in indexing time based upon some
properties. When searching, however, it seems that these index time boosts
are not taken into account. I'm parsing the query with lucene's queryparser
and sending the result directly to the searcher. What might be wrong?
Thanks in advance,
Ákos Tajti
Re: Index-time boosts are not taken into account
Posted by Ian Lea <ia...@gmail.com>.
Looking at the output of IndexSearcher.explain(Query query, int doc)
might help. One possibility is that your boosts are being swamped by
other scoring factors. Larger boosts might make a difference if that
is the case.
--
Ian.
On Mon, Sep 5, 2011 at 12:12 PM, Akos Tajti <ak...@gmail.com> wrote:
> Hi All,
>
> I'm setting the boost of our documents in indexing time based upon some
> properties. When searching, however, it seems that these index time boosts
> are not taken into account. I'm parsing the query with lucene's queryparser
> and sending the result directly to the searcher. What might be wrong?
>
> Thanks in advance,
> Ákos Tajti
>
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org