You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Robert Young <bu...@gmail.com> on 2007/11/30 13:18:24 UTC

Boosting and copy fields

Hi,

How does the copy field with boosted fields? If I have three fields
with different boost values and they all get copied into a copy field,
are these boosts taken into account during searching?

Cheers
Rob

Re: Boosting and copy fields

Posted by Robert Young <bu...@gmail.com>.
Right, ok, thanks.

On Nov 30, 2007 2:14 PM, Yonik Seeley <yo...@apache.org> wrote:
>
> On Nov 30, 2007 7:18 AM, Robert Young <bu...@gmail.com> wrote:
> > How does the copy field with boosted fields? If I have three fields
> > with different boost values and they all get copied into a copy field,
> > are these boosts taken into account during searching?
>
> They are all multiplied together (lucene does this in the indexing
> code as the index format only supports one boost per unique field per
> document).
>
> -Yonik
>

Re: Boosting and copy fields

Posted by Yonik Seeley <yo...@apache.org>.
On Nov 30, 2007 7:18 AM, Robert Young <bu...@gmail.com> wrote:
> How does the copy field with boosted fields? If I have three fields
> with different boost values and they all get copied into a copy field,
> are these boosts taken into account during searching?

They are all multiplied together (lucene does this in the indexing
code as the index format only supports one boost per unique field per
document).

-Yonik