lucene - how to copy a string field data to integer field in solr without reindex? -
how copy string field data integer field in solr without reindex because data volume high ? have field name brvc string , use sorting in solr due field type string not working .
i make new field how copy data brvc brvc_new . data volume high .
you can use atomic updates update documents, including adding new field document.
however, way update document remove , reindex it. functions update documents in lucene convenient wrapper on process of removing specified documents followed adding new ones. if have portion of index needs modified, running updates may make sense. keep in mind fields must stored (or copyfields), otherwise contents can not retrieved existing index, , lost.
if want update every document new field, though, reindexing whole thing best bet.
Comments
Post a Comment