Re: What is omitNorms

2011-05-26 Thread Romi
thanks for the link, i got lot information from this document. Can u please
tell me how can i verify omitNorms effect in my document indexing or
searching.

-
Romi
--
View this message in context: 
http://lucene.472066.n3.nabble.com/What-is-omitNorms-tp2987547p2987649.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: What is omitNorms

2011-05-26 Thread Chandan Tamrakar
  When you say omitnorms=true  for any fields it means SOLR will  not
store norms . AFAIK , if you do not store these norms then your index size
would be smaller and will take less memory  . You could safely omit these
norms for smaller fields .
i.e your indexing time is more.

 So if you  do not store norms you save the memory

Norms are used  to boosts and field length normalization during indexing
time so that short document has higher score

Turning the norms on/off may depend on your indexing size and
implementations

I hope this helps ..

thanks



On Thu, May 26, 2011 at 11:48 AM, Romi romijain3...@gmail.com wrote:

 thanks for the link, i got lot information from this document. Can u please
 tell me how can i verify omitNorms effect in my document indexing or
 searching.

 -
 Romi
 --
 View this message in context:
 http://lucene.472066.n3.nabble.com/What-is-omitNorms-tp2987547p2987649.html
 Sent from the Solr - User mailing list archive at Nabble.com.




-- 
Chandan Tamrakar
*
*


Re: What is omitNorms

2011-05-26 Thread Romi
Norms are used  to boosts and field length normalization during indexing
time so that short document has higher score

How it is that if i set omitnorms=false for a field then short documents
have higher score. i could not get this point , might be because i could not
find any running example for this.would you please explain.

-
Romi
--
View this message in context: 
http://lucene.472066.n3.nabble.com/What-is-omitNorms-tp2987547p2987799.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: What is omitNorms

2011-05-26 Thread pravesh
omitNorms=true on a field will have following effect:

1. length normalization will not work on the specific field-- Which means
matching documents with shorter length will not be preferred/boost over
matching documents with greater length for the specific field, at search
time.
2. Index time boosting will not be available on the field.

If, both the above cases are not required by you, then, you can set
omitNorms=true for the specific fields.
This has an added advantage, it will save you some(or a lot of) RAM also,
since, with omitNorms=false on total N fields in the index will require
RAM of size:

 Total docs in index * 1 byte * N

--
View this message in context: 
http://lucene.472066.n3.nabble.com/What-is-omitNorms-tp2987547p2988124.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: What is omitNorms

2011-05-26 Thread pravesh
What would be the default value for omitNorms? 
--- Default value is false

Is general advise to ignore this and set the value explicitly? 
--- Depends on your requirement. Do this on field-per-field basis. Set to
false on fields where you want the norms, or, set to true on fields
where you want to omit the norms

--
View this message in context: 
http://lucene.472066.n3.nabble.com/What-is-omitNorms-tp2987547p2988714.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: What is omitNorms

2011-05-26 Thread Dmitry Kan
Hi pravesh,

Thanks for the quick reply.

--Dmitry

On Thu, May 26, 2011 at 4:27 PM, pravesh suyalprav...@yahoo.com wrote:

 What would be the default value for omitNorms?
 --- Default value is false

 Is general advise to ignore this and set the value explicitly?
 --- Depends on your requirement. Do this on field-per-field basis. Set to
 false on fields where you want the norms, or, set to true on fields
 where you want to omit the norms

 --
 View this message in context:
 http://lucene.472066.n3.nabble.com/What-is-omitNorms-tp2987547p2988714.html
 Sent from the Solr - User mailing list archive at Nabble.com.




-- 
Regards,

Dmitry Kan


Re: What is omitNorms

2011-05-25 Thread Romi
and i also wanted to know  what is difference if i set omitNorms in fieldType
or if i set it in field.

-
Romi
--
View this message in context: 
http://lucene.472066.n3.nabble.com/What-is-omitNorms-tp2987547p2987562.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: What is omitNorms

2011-05-25 Thread Chandan Tamrakar
This is an advance option. pls see the details on following link

http://www.lucidimagination.com/Community/Hear-from-the-Experts/Articles/Scaling-Lucene-and-Solr#d0e71



On Thu, May 26, 2011 at 11:12 AM, Romi romijain3...@gmail.com wrote:

 and i also wanted to know  what is difference if i set omitNorms in
 fieldType
 or if i set it in field.

 -
 Romi
 --
 View this message in context:
 http://lucene.472066.n3.nabble.com/What-is-omitNorms-tp2987547p2987562.html
 Sent from the Solr - User mailing list archive at Nabble.com.




-- 
Chandan Tamrakar
*
*