lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Madhan Subhas" <mad...@chronuscorp.com>
Subject RE: Index time boost is not working
Date Thu, 14 Jun 2007 15:32:53 GMT
Otis, here is the setting in the schema for the fields I use. OmitNorms
is not set to any value here. Should explicitly set the value to false.
Thanks
Madhan


<fields>
   <field name="id" type="string" indexed="true" stored="true"/>
   <field name="default" type="text" indexed="true" stored="false"
multiValued="true"/>
   <dynamicField name="*_i" type="integer" indexed="true"
stored="true"/>
   <dynamicField name="*_t" type="text" indexed="true" stored="true"/>
   <dynamicField name="*_f" type="float" indexed="true" stored="true"/>
   <dynamicField name="*_b" type="boolean" indexed="true"
stored="true"/>
   <dynamicField name="*_d" type="date" indexed="true" stored="true"/>
   <dynamicField name="*_s" type="string" indexed="true" stored="true"/>
   <dynamicField name="*_ri" type="sint" indexed="true" stored="true"/>
   <dynamicField name="*_rf" type="sfloat" indexed="true"
stored="true"/>
   <dynamicField name="*_facet" type="string" indexed="true"
stored="true"/>
 </fields> 

-----Original Message-----
From: Otis Gospodnetic [mailto:otis_gospodnetic@yahoo.com] 
Sent: Thursday, June 14, 2007 5:32 AM
To: solr-user@lucene.apache.org
Subject: Re: Index time boost is not working

Check your schema.xml, that's where you'll see how the field is defined.

Otis


----- Original Message ----
From: Thierry Collogne <thierry.collogne@gmail.com>
To: solr-user@lucene.apache.org
Sent: Thursday, June 14, 2007 8:27:54 AM
Subject: Re: Index time boost is not working

How do you browse the indexes?

On 14/06/07, Otis Gospodnetic <otis_gospodnetic@yahoo.com> wrote:
>
> Is your field defined with omitNorms="true" by any chance?
>
> Otis
> --
> Lucene Consulting -- http://lucene-consulting.com/
>
>
> ----- Original Message ----
> From: Madhan Subhas <madhan@chronuscorp.com>
> To: solr-user@lucene.apache.org
> Sent: Thursday, June 14, 2007 5:35:17 AM
> Subject: Index time boost is not working
>
> I am using solr in my rails application. When I create the document
that
> need to be stored in Solr I can see the boost values being set on the
> fields as attributes. However when I browse the indexes through luke I
> see a boost value of 1. What am I missing. Thanks for your input.
>
> -Madhan
>
>
>
>
>
>
>




Mime
View raw message