I am trying to enable Doc Values for certain fields in Solr schema which
helps with memory management while sorting the results and here is
configuration I have 

<field name="ip_addr" type="string" indexed="true" stored="true"
omitNorms="true" docValues="true" />

And field type defined this way.

<fieldType name="string" class="solr.StrField" sortMissingLast="true" />

I deployed this schema and started the server, but I don't see the
schema.xml reflecting the docvalues from the Solr admin UI. 

When I check the schema.xml by going to collection Name -->Files, I just see
the below entry. 

<field name="ip_addr" type="string" indexed="true" stored="true"
omitNorms="true" />

And, I did not find the need to re-index, the existing index is working just
fine. So its clear that the docValues that I am trying to enforce is not
taking any effect. 
Please advice what I am missing here.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Not-able-to-Add-docValues-in-Solr-tp4204405.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to