Skip to content

Conversation

M4xymm
Copy link
Member

@M4xymm M4xymm commented Jul 15, 2025

https://issues.hibernatingrhinos.com/issue/RDBC-918/Node.js-Missing-method-Allow-to-query-vector-searching-using-a-document-id

Added forDocument method, refactored vectorSearch.

e.g.

session.query<Dto>({collection: "Dtos"})
            .vectorSearch(field => field.withEmbedding("EmbeddingSingles"),
                factory => factory.forDocument("dtos/full-options"), {
                    similarity: 0.75,
                    numberOfCandidates: 100
                }).all()
image

M4xymm added 2 commits July 15, 2025 10:35
… and introduce `VectorSearchToken`, Added ForDocument method to VectorSearchValueFactory
…cy and enhance code readability in tests and session queries
@M4xymm M4xymm requested a review from kalczur July 15, 2025 09:16
@M4xymm M4xymm merged commit 18f09ef into ravendb:v7.0 Jul 15, 2025
6 checks passed
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.

2 participants