Hello Suchi,

It seems like work in progress
https://issues.apache.org/jira/browse/SOLR-5944 but hasn't been done
completely.


On Wed, Nov 26, 2014 at 7:24 AM, Suchi Amalapurapu <su...@bloomreach.com>
wrote:

> All
> The following code changes don't seem to really update the docValue in my
> case.
>
> IndexWriter iw = core.getSolrCoreState().getIndexWriter(core).get();
>
> value = Long.parseLong(score);
>
> Term term = new Term(ID, id1);
>
> iw.updateNumericDocValue(term, 'rank', value);
>
> iw.commit()
>
> Schema changes:
>
> <field name="rank" type="long" indexed="true" stored="true"
> required="false" docValues="true"/>
> Does any one have a working sample of updateNumericDocValue in solr 4.6.1?
> Suchi
>



-- 
Sincerely yours
Mikhail Khludnev
Principal Engineer,
Grid Dynamics

<http://www.griddynamics.com>
<mkhlud...@griddynamics.com>

Reply via email to