zzzxl1993 commented on code in PR #245:
URL: https://github.com/apache/doris-thirdparty/pull/245#discussion_r1827565459


##########
src/core/CLucene/index/FieldInfos.cpp:
##########
@@ -114,6 +118,17 @@ IndexVersion FieldInfos::getIndexVersion() {
        return IndexVersion::kV0;
 }
 
+uint32_t FieldInfos::getFlags() {
+       size_t numFields = byNumber.size();
+       for (int i = 0; i < numFields; i++) {
+               FieldInfo* fi = fieldInfo(i);
+               if (fi->getFlags() > 0) {
+                       return fi->getFlags();

Review Comment:
   To address compatibility issues with Clucene, this is currently the only 
solution.



-- 
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: dev-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@doris.apache.org
For additional commands, e-mail: dev-h...@doris.apache.org

Reply via email to