You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/pypaimon/cli.md
+42Lines changed: 42 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -362,6 +362,48 @@ Table 'mydb.old_name' renamed to 'mydb.new_name' successfully.
362
362
363
363
**Note:** Both filesystem and REST catalogs support table rename. For filesystem catalogs, the rename is performed by renaming the underlying table directory.
364
364
365
+
### Table Full-Text Search
366
+
367
+
Perform full-text search on a Paimon table with a Tantivy full-text index and display matching rows.
4 Data lake platforms like Paimon handle large-...
403
+
```
404
+
405
+
**Note:** The table must have a Tantivy full-text index built on the target column. See [Global Index]({{< ref "append-table/global-index" >}}) for how to create full-text indexes.
406
+
365
407
### Table Drop
366
408
367
409
Drop a table from the catalog. This will permanently delete the table and all its data.
# Function to run Tantivy full-text index test (Java write index, Python read and search)
246
+
run_tantivy_fulltext_test() {
247
+
echo -e "${YELLOW}=== Step 8: Running Tantivy Full-Text Index Test (Java Write, Python Read) ===${NC}"
248
+
249
+
cd"$PROJECT_ROOT"
250
+
251
+
echo"Running Maven test for JavaPyTantivyE2ETest.testTantivyFullTextIndexWrite..."
252
+
if mvn test -Dtest=org.apache.paimon.tantivy.index.JavaPyTantivyE2ETest#testTantivyFullTextIndexWrite -pl paimon-tantivy/paimon-tantivy-index -q -Drun.e2e.tests=true;then
253
+
echo -e "${GREEN}✓ Java test completed successfully${NC}"
254
+
else
255
+
echo -e "${RED}✗ Java test failed${NC}"
256
+
return 1
257
+
fi
258
+
cd"$PAIMON_PYTHON_DIR"
259
+
echo"Running Python test for JavaPyReadWriteTest.test_read_tantivy_full_text_index..."
260
+
if python -m pytest java_py_read_write_test.py::JavaPyReadWriteTest::test_read_tantivy_full_text_index -v;then
261
+
echo -e "${GREEN}✓ Python test completed successfully${NC}"
0 commit comments