CrownChu commented on code in PR #8000:
URL: https://github.com/apache/paimon/pull/8000#discussion_r3465766770


##########
paimon-eslib/src/main/java/org/apache/paimon/eslib/index/ESIndexGlobalIndexReader.java:
##########
@@ -0,0 +1,797 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.paimon.eslib.index;
+
+import org.apache.paimon.fs.SeekableInputStream;
+import org.apache.paimon.globalindex.GlobalIndexIOMeta;
+import org.apache.paimon.globalindex.GlobalIndexReader;
+import org.apache.paimon.globalindex.GlobalIndexResult;
+import org.apache.paimon.globalindex.ScoredGlobalIndexResult;
+import org.apache.paimon.globalindex.io.GlobalIndexFileReader;
+import org.apache.paimon.predicate.FieldRef;
+import org.apache.paimon.predicate.FullTextSearch;
+import org.apache.paimon.predicate.VectorSearch;
+import org.apache.paimon.types.DataField;
+import org.apache.paimon.utils.RoaringNavigableMap64;
+
+import org.elasticsearch.eslib.api.ArchiveDataProvider;
+import org.elasticsearch.eslib.api.ESIndexSearcher;
+import org.elasticsearch.eslib.api.model.FieldIndexConfig;
+import org.elasticsearch.eslib.api.model.FullTextParams;

Review Comment:
   Thanks — root cause was that the earlier change reused version 1.0.0 for 
eslib-core, so consumers (and CI) kept resolving a stale cached 1.0.0 jar that 
predates FullTextParams. Republishing over the same version is unreliable:
     Maven caches release versions in ~/.m2 and never re-downloads them.
     Fixed by cutting a new version instead of overwriting:
     - Bumped io.github.paimon.eslib:eslib-core / eslib-simdvec to 1.0.1, which 
now contains FullTextParams and the matching fullTextSearch(String, String, 
int, FullTextParams) overload.
     - Published 1.0.1 (jar + pom + checksums) to the OSS repo; verified the 
artifact contains FullTextParams (jar tf … | grep FullTextParams → present, 
sha1 4e2e2be3…).
     - Updated paimon-eslib/pom.xml to depend on 1.0.1 for both eslib-core and 
eslib-simdvec.
     - Removed the dead eslib-releases GitHub-raw repository entry (it was 
empty / 404), so the module now resolves from a single, populated source.
     Verified locally with the profile enabled:
     mvn -pl paimon-eslib -Ppaimon-eslib,fast-build -DfailIfNoTests=false test 
→ compiles and passes (9 tests).
     A new version number forces every environment (CI, local .m2) to pull the 
fresh jar, so the cannot find symbol: FullTextParams failure no longer 
reproduces.
     (Commits: paimon 3fcbefb bump to 1.0.1, 2badffe drop dead repo; 
es-paimon-lib d0de40e release 1.0.1.)



-- 
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]

Reply via email to