Well, this could be explained if your fields are very short. Norms
are encoded into (part of?) a byte, so your ranking may be unaffected.

Try adding debugQuery=on and looking at the explanation. If you've
really omitted norms, I think you should see clauses like:

1.0 = fieldNorm(field=features, doc=1)
in the output, never something like

0.25 = fieldNorm(field=features, doc=1)
i.e. in the absence of norm information, 1 is used.

Also, in your index, see if your *.nrm files change in size.

And I recommend that, when you're experimenting, you remove
your entire <solr home>/data/index directory (the directory too,
not just sub-files) before re-indexing. As Simon and Robert say,
eventually the norm data will be purged, but by removing the
directory first, you can look at things like the .nrm file with
confidence that you're not seeing remnants that haven't been
cleaned up quite yet.

Best
Erick


On Thu, Oct 27, 2011 at 5:00 PM, Jonathan Rochkind <rochk...@jhu.edu> wrote:
> So Solr 1.4.  I decided I wanted to change a field to have omitNorms=true
> that didn't previously.
>
> So I changed the schema to have omitNorms=true.  And I reindexed all
> documents.
>
> But it seems to have had absolutely no effect. All relevancy rankings seem
> to be the same.
>
> Now, I could have a mistake somewhere else, maybe I didn't do what I
> thought.
>
> But I'm wondering if there are any known issues related to this, is there
> something special you have to do to change a field from omitNorms=false to
> omitNorms=true on an already built index?  Other than re-indexing
> everything?    Any known issues relevant here?
>
> Thanks for any help,
>
> Jonathan
>

Reply via email to