Thanks Ian,
Yup that would do the trick for me, it seems.
Also I would like to say that the following also worked, I only
realized it after I went through the scores coming from my results
step by step:
KeywordAnalyzer + Index.ANALYZED (index-time norms were present)
Cheers!
On Thu, Nov 18, 20
Have you tried explicitly setting norms on/off the way you want with
Field.setOmitNorms(boolean)?
--
Ian.
On Thu, Nov 18, 2010 at 12:54 AM, Pulkit Singhal
wrote:
> Based on my experimentation and what it says in the Lucene 2nd edition book:
> "Using a KeywordAnalyzer on special fields during in
Based on my experimentation and what it says in the Lucene 2nd edition book:
"Using a KeywordAnalyzer on special fields during indexing would
eliminate the use of Index.NOT_ANALYZED_NO_NORMS during indexing and
replace it with Index.ANALYZED."
I guess that there is no way to use KeywordAnalyzer du
Greetings!
When using KeywordAnalyzer for indexing a field which has the
Field.Index.ANALYZED option selected.
Does the use of KeywordAnalyzer automatically mean that there is no
point in trying to set the index-time boosts on that field in the
document because it will be treated as a full token