Ok so as if I wanted to add boost to fields at indexing time then I should
include norms. On the other hand if I just want to boost at query time then
its quite alright to omit norms. 

Anyone mind explaining what norms are in layman's terms ;)


Marc Sturlese wrote:
> 
>>>Should I include not omit-norms on any fields that I would like to boost
via a boost-query/function >>query?
> You don't have to set norms to use boost queries or functions. Just have
> to set them when you want to boost docs or fields at indexing time.
> 
>>>What about sortable fields? Facetable fields?
> You can use both without setting norms aswell.
> 
> See what norms are for:
> http://lucene.apache.org/java/2_4_0/api/org/apache/lucene/search/Similarity.html#lengthNorm%28java.lang.String,%20int%29
> 
> 
> blargy wrote:
>> 
>> Should I include not omit-norms on any fields that I would like to boost
>> via a boost-query/function query?
>> 
>> For example I have a created_on field on one of my documents and I would
>> like to add some sort of function query to this field when querying. In
>> this case does this mean I need to have the norms?
>> 
>> What about sortable fields? Facetable fields?
>> 
>> Thanks!
>> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Omitting-norms-question-tp27950893p27950977.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to