lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Heisey <>
Subject Re: basic question about updating a docValue
Date Tue, 07 May 2019 13:35:34 GMT
On 5/6/2019 11:03 PM, Jerry Lin wrote:
> I'm new to Solr and am using Solr 8, and the Java API client. I have a
> score that I would like to rank my documents by, and I do not need to
> retrieve the values. My understanding is that I should set indexed="true",
> stored="false", and DocValues="true". When I manually set up the schema in
> that way (with type plong), and I add a document by supplying an int, I get:

The field must be 'indexed="false"' as well for in-place updates to 
work.  If you have indexed set to true, I don't think that's going to 
work.  Here's the relevant documentation section:


View raw message