OAsik opened a new issue, #532: URL: https://github.com/apache/solr-operator/issues/532
I'm updating a SOLR doc via the below command: `'base Uri'/update?overwrite=true&commitWithin=2000&wt=json` The problem is SOLR duplicates the doc instead overwritting the old one. After the update, I have end up with two docs with same id field (id field is also defined as a `uniqueKey`), but different `_version_` numbers. Updated docs have two new fields that older versions do not have (as I have make additions to the schame.xml file recently). I'm sharing necessary parts of my schema below: `<?xml version="1.0" encoding="UTF-8" ?>` `<schema name="My Project Solr 7.2.0 (stable version) Instance" version="1.6">` `<field name="id" type="string" indexed="true" stored="true" required="true" />` `<field name="_version_" type="long" indexed="true" stored="true"/>` `<!-- other fields -->` `<uniqueKey>id</uniqueKey>` Why I end up with two docs with same unique key field after the update command? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
