Skip to main content

defaultRuleProcessorMilvus

const defaultRuleProcessorMilvus: RuleProcessor

Defined in: packages/core/src/utils/formatQuery/defaultRuleProcessorMilvus.ts:48

Default rule processor used by formatQuery for "milvus" format. Returns a Milvus boolean filter expression, or "" if the rule can't be expressed (see formatCapabilities).

  • Field names are emitted verbatim (incl. JSON paths like meta["k"]). They are not escaped; whitelist field names.
  • Strings are double-quoted (\ and " escaped). String operators use like; %, _, and `` in values are escaped.
  • Range operators (incl. between) coerce numeric strings to numbers; other strings are compared as strings. Store dates as epoch ms numbers.
  • null/notNull → is null/is not null (Milvus 2.5+).
  • valueSource: "field" is supported for comparison operators and between/ notBetween only.
  • Match modes are skipped.

See​

https://milvus.io/docs/boolean.md


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.