jeme edited a comment on issue #487: URL: https://github.com/apache/lucenenet/issues/487#issuecomment-846160731
You need an indexed field for ID rather than just a stored one. Otherwise UpdateDocument won't turn over any results and as such it turns into an ADD instead. (Update effectively does Delete -> Add) Since the ID is an integer, using a numeric field type would also be adviced. -- 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. For queries about this service, please contact Infrastructure at: [email protected]
