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 Lance Norskog <go...@gmail.com> on 2007/09/07 22:33:49 UTC

FW: Minor mistake on the Wiki

In the page http://wiki.apache.org/solr/UpdateXmlMessages

We find:

	Optional attributes on "doc"

	*	boost = <float> - default is 1.0 (See Lucene docs for
definition of boost.) 
		*	NOTE: make sure norms are enabled (omitNorms="false"
in the schema.xml) for any fields where the index-time boost should be
stored. 

This NOTE appears to be block-copied from the following entry about
field-level boosts, and makes no sense here.

Lance Norskog



Re: FW: Minor mistake on the Wiki

Posted by Yonik Seeley <yo...@apache.org>.
On 9/7/07, Lance Norskog <go...@gmail.com> wrote:
> In the page http://wiki.apache.org/solr/UpdateXmlMessages
>
> We find:
>
>         Optional attributes on "doc"
>
>         *       boost = <float> - default is 1.0 (See Lucene docs for
> definition of boost.)
>                 *       NOTE: make sure norms are enabled (omitNorms="false"
> in the schema.xml) for any fields where the index-time boost should be
> stored.
>
> This NOTE appears to be block-copied from the following entry about
> field-level boosts, and makes no sense here.

Perhaps it could be worded better, but there is some sense behind it.
There is no document boost in a lucene lindex... a doc boost is simply
multipled into the boost for each field as the document is indexed.

-Yonik