Skip to main content

defaultRuleProcessorQdrant

const defaultRuleProcessorQdrant: RuleProcessor

Defined in: packages/core/src/utils/formatQuery/defaultRuleProcessorQdrant.ts:34

Default rule processor used by formatQuery for "qdrant" format. Returns a Qdrant filter condition, or false if the rule can't be expressed (see formatCapabilities).

  • contains/doesNotContain use match.text, which matches tokens, not substrings (unindexed fields use the word tokenizer + lowercasing; a full-text index controls this).
  • beginsWith/doesNotBeginWith use match.prefix (Qdrant v1.19+; case-sensitive, untokenized, keyword values only; keyword index w/ prefix: true accelerates it).
  • Range operators always coerce values to numbers (or RFC 3339 datetimes for date/ datetime-local input types); non-coercible values are skipped.
  • Float equality is emitted as range: { gte: v, lte: v } (match.value only accepts strings, integers, and booleans).
  • Match modes some/none map to nested (arrays of objects only).

See​

https://qdrant.tech/documentation/concepts/filtering/


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.