quantranhong1999 commented on PR #2342: URL: https://github.com/apache/james-project/pull/2342#issuecomment-2219373594
Hi Rene, Thanks for putting this together! > java.lang.IllegalArgumentException: cannot change field "uid" from doc values type=NUMERIC to inconsistent doc values type=NONE It seems we declared the `uid` field with DocValues `NUMERIC` (to be able to search/sort) but somehow during `update` the flag (modified the FLAGS_FIELD of the document at https://github.com/apache/james-project/blob/5ffd1bd106b722dfd3cd61a38c0486637562c58b/mailbox/lucene/src/main/java/org/apache/james/mailbox/lucene/search/LuceneMessageSearchIndex.java#L1276), it seems somehow the DocValues for the `uid` field broke to `NONE`? -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
