Skip to main content

defaultRuleGroupProcessorPinecone

const defaultRuleGroupProcessorPinecone: RuleGroupProcessor<Record<string, unknown>>

Defined in: packages/core/src/utils/formatQuery/defaultRuleGroupProcessorPinecone.ts:18

Rule group processor used by formatQuery for "pinecone" format. Produces a Pinecone metadata filter object.

  • and → $and, or → $or; single-child groups are unwrapped.
  • No group-level $not: not groups are negated via De Morgan push-down (negateRuleGroup). Missing-field semantics may differ from a true NOT.
  • Returns {} if no rules survive; omit the filter param in that case.

See​

https://docs.pinecone.io/guides/search/filter-by-metadata


caution

API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.