Skip to content

Conversation

@agourlay
Copy link
Member

@agourlay agourlay commented Oct 4, 2024

New APIs examples

Points.SearchMatrixOffsets offsets =
        client
            .searchMatrixOffsetsAsync(
                Points.SearchMatrixPoints.newBuilder()
                    .setCollectionName(testName)
                    .setFilter(Filter.newBuilder().addMust(matchKeyword("foo", "hello")).build())
                    .setSample(3)
                    .setLimit(2)
                    .build())
            .get();
Points.SearchMatrixPairs pairs =
        client
            .searchMatrixPairsAsync(
                Points.SearchMatrixPoints.newBuilder()
                    .setCollectionName(testName)
                    .setFilter(Filter.newBuilder().addMust(matchKeyword("foo", "hello")).build())
                    .setSample(3)
                    .setLimit(2)
                    .build())
            .get();
    List<Points.FacetHit> facets =
        client
            .facetAsync(
                Points.FacetCounts.newBuilder()
                    .setCollectionName(testName)
                    .setFilter(Filter.newBuilder().addMust(matchKeyword("bar", "hello")).build())
                    .setKey("foo")
                    .setLimit(2)
                    .build())
            .get();

TODO

  • bump version after container release

@agourlay agourlay marked this pull request as ready for review October 4, 2024 09:59
@agourlay agourlay requested a review from Anush008 October 4, 2024 09:59
Copy link
Member

@Anush008 Anush008 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🫡

@agourlay
Copy link
Member Author

agourlay commented Oct 8, 2024

Final versions updated ✔️

@agourlay agourlay merged commit 9600bb8 into master Oct 8, 2024
@agourlay agourlay deleted the 1.12.0 branch October 8, 2024 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants