We used a custom fieldType that segments the values of a field A into tokens. We then define uniqueKey as that field A. It seems when we update a document by solr, documents that have different values (one contains the other as a substring) gets collided into one so the result is the new document removed the old one.
Does uniqueKey field has to be string typed? How does the comparison of the values work for updating documents? thanks, -Hui