Skip to content

DX-2255: Allow Metadata in Filter#11

Merged
CahidArda merged 2 commits intomainfrom
DX-2255-allow-metadata-in-filter
Nov 24, 2025
Merged

DX-2255: Allow Metadata in Filter#11
CahidArda merged 2 commits intomainfrom
DX-2255-allow-metadata-in-filter

Conversation

@CahidArda
Copy link
Copy Markdown
Collaborator

Made it possible to pass metadata fields in filters:

const results = await searchIndex.search({
  query: "test-data",
  limit: 2,
  filter: {
    AND: [{ text: { glob: "*test-data*" } }, { "@metadata.count": { greaterThanOrEquals: 3 } }],
  },
  semanticWeight: 0.5,
  inputEnrichment: false,
});

@linear
Copy link
Copy Markdown

linear Bot commented Nov 24, 2025

@CahidArda CahidArda merged commit 459ab47 into main Nov 24, 2025
1 check 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