apache - Is Solr complete re-index required when adding new products? -
suppose, have 100 products in db, did indexing , created documents. added 10 more products db. now, should update/add these 10 products existing indexed document? doing is, deleting existing documents , doing indexing. think not proper way. please guide me in this.
note: in between not changing in schema.xml
, solrconfig.xml
just add new / modified documents solr , that's it. there's no need delete entire index 1 update. if document id 1 has field title
change foo
bar
, add document same id
field index, keeping unchanged fields old values (for example 'text':'old value' , 'date' : 'old date') , title
field set new foo
value. solr (or rather solr , lucene) take care of rest.
Comments
Post a Comment