omitnorms
matteogrolla opened this issue · 6 comments
Hi I'm working with Luwak 1.3.0 and I build the lucene document that I pass to luwak specifying that a particular field has omitNorms=true
When I look at the score explanation with explainingmatcher I see that fieldNorm for that field is not 1, as expected, but 0.375.
So lucene seems to be ignoring omitnorms.
Can you hint me on why this happens? And how to fix it?
Hi, can you write a test case to show how you're using this?
Ah, OK, so this sounds like it's a bug in MemoryIndex then. I'll open a lucene JIRA for it.
I'm afraid I don't know if anybody else has tried to build custom similarities in that way. Sounds like an interesting idea though
This will be fixed by https://issues.apache.org/jira/browse/LUCENE-7679, in lucene 6.5
Fixed by 1.5 release