nutch - Partial document update in SOLR 6.5.1 -
i have id(unique key) , url fields in indexed document. have same values. and able update url field(changing dns) following:
{"id":"abc.com/content/dam/images/infographics/infographic_final.pdf","url":{"set":"xyz.com/content/dam/images/infographics/infographic_final.pdf"}}
what trying achieve have 1000 documents having field id starting abc.com. should update url field xyz.com , rest of url-path must remain same. can achieve this? dont want update url repeatedly 1000 times.
thanks in advance.
if asking 'bulk update' sql's 'update table where...' not possible in solr. have submit each doc (mind you, can submit many docs in 1 request, doc's info must in there).
Comments
Post a Comment