Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDocument with same document id can't be replaced #19
Labels
Milestone
Comments
|
Let me think about it, may not be allowed to repeat id. |
|
If I use riot as a search engine of customer support tickets system,each ticket can be treated as a document, and ticket id equals document id.When the ticket is edited by user, I will update the document, but if the document can't be replaced, those documents are redundant. |
|
Ok, I see, let me think about it and improve it. |
|
You can RemoveDoc first then IndexDoc, let me think about how to do better. |
|
OK |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I add the document with same id but different content to the index, the former still can be searched.
Maybe it should be replaced by the latter.