Skip to main content

defaultRuleProcessorPinecone

const defaultRuleProcessorPinecone: RuleProcessor

Defined in: packages/core/src/utils/formatQuery/defaultRuleProcessorPinecone.ts:19

Default rule processor used by formatQuery for "pinecone" format. Returns a Pinecone metadata filter object, or false if the rule can't be expressed (see formatCapabilities).

  • Always uses explicit $eq (no shorthand).
  • Range operators (incl. between) coerce values to numbers; non-numeric values are skipped. Store dates as epoch ms numbers.
  • null/notNull → $exists: false/$exists: true.
  • String operators, valueSource: "field", and match modes are skipped.

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.