-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 10.2-SNAPSHOT
-
Fix Version/s: 10.3
-
Component/s: Elasticsearch
-
Tags:
-
Sprint:nxcore 10.3.5
-
Story Points:2
In our Elasticsearch implementation of DOCUMENT_HISTORY_PROVIDER, we use Match Query for docUUID criteria in order to get document's history.
This performs a fulltext query on docUUID field where - is analysed as a separator when using default Elasticsearch settings. This could lead to error when documents share a sub part of their UUID and Elasticsearch mapping is not correct.
We should query Elasticsearch with a Term Query in order to get audit entries whose docUUID matches exactly the queried one.