Skip to content

feat: java rest api test and doc improvement#139

Merged
jackye1995 merged 10 commits into
lance-format:mainfrom
LuQQiu:lu/improve_java
Jul 21, 2025
Merged

feat: java rest api test and doc improvement#139
jackye1995 merged 10 commits into
lance-format:mainfrom
LuQQiu:lu/improve_java

Conversation

@LuQQiu

@LuQQiu LuQQiu commented Jul 20, 2025

Copy link
Copy Markdown
Contributor
  1. Fixed the OneOf schema issues
  2. Refactored the Java test suite
  3. Improved the Java SDK documentation

LuQQiu and others added 6 commits July 19, 2025 15:53
- Changed FtsQuery from oneOf pattern to properties-based pattern
- Updated BoostQuery to reference FtsQuery for positive/negative fields
- Modified QueryRequest full_text_query to support both string and structured queries
- Updated Java tests to use new QueryRequestFullTextQuery wrapper
- Added documentation about oneOf pattern handling in CLAUDE.md

This change improves compatibility across different code generators (Java, Python, Rust)
and follows the same pattern as AlterTransactionAction.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Removed structured full-text search from known limitations
- Added comprehensive examples for boolean, phrase, and boost queries
- Updated all FTS examples to use new QueryRequestFullTextQuery wrapper
- Added advanced structured FTS section with detailed code examples

The Java SDK now fully supports complex full-text search queries thanks
to the properties-based pattern implementation.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added enhancement New feature or request python Python features java Java features spec Restful openapi spec rust Rust features labels Jul 20, 2025
@jackye1995 jackye1995 merged commit b07de40 into lance-format:main Jul 21, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request java Java features python Python features rust Rust features spec Restful openapi spec

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants