Open TiangeZhu opened 1 year ago
This is according to doc_id. If there is a doc with different doc_id but same content, we allow that because he comparison between content is rather hard and time-consuming.
CURL responde: error message if the duplicate exists. (or allow it?)
use --force or more simple: give a warning that people should first delete the doc then index it because it already exists
This is according to doc_id. If there is a doc with different doc_id but same content, we allow that because he comparison between content is rather hard and time-consuming.
CURL responde: error message if the duplicate exists. (or allow it?)