Ralf,
You can set the boost at index time, yes.  If you are feeing XML (as in 
exampledocs/), you should be able to pass the boost as the field element's 
attribute.  Google solr add field boost xml shows this as #1 hit:

http://wiki.apache.org/solr/UpdateXmlMessages#head-8315b8028923d028950ff750a57ee22cbf7977c6

 Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



----- Original Message ----
> From: "Kraus, Ralf | pixelhouse GmbH" <r...@pixelhouse.de>
> To: solr-user@lucene.apache.org
> Sent: Monday, March 23, 2009 12:22:29 PM
> Subject: BOSTing FIELDS in SCHEMA.XML
> 
> Hi,
> 
> is there a chance to set boosting directly in my schema.xml ?
> 
>   
> multivalued="true" omitNorms="false" boost="2" />
>   
> multivalued="true" omitNorms="false" boost="1.5f" />
>   
> multivalued="true" omitNorms="false" boost="0.5f" />
>   
> 
> I want do it directly in the index and not in my query !
> 
> Greets -Ralf-

Reply via email to