defaultRuleProcessorWeaviate
constdefaultRuleProcessorWeaviate:RuleProcessor
Defined in: packages/core/src/utils/formatQuery/defaultRuleProcessorWeaviate.ts:64
Default rule processor used by formatQuery for "weaviate" format. Returns a
Weaviate where filter object (GraphQL/REST shape), or false if the rule can't be
expressed (see formatCapabilities).
pathis[field], orfieldsplit onfieldIdentifierSeparatorwhen set (e.g. cross-references:"inPublication.Publication.name"w/".").- Value key from
inputType/editor/parseNumbers:date/datetime-local→valueDate(RFC 3339); checkbox/switch →valueBoolean; numbers →valueInt/valueNumber; elsevalueText. - String operators use
Like;*/?in values pass through as wildcards (Weaviate has no escape). Negated string operators wrapLikeinNot. in/notIn→ContainsAny/ContainsNonew/ an array under the singular value key. Text values are tokenized per the property'stokenization.null/notNull→IsNull(requiresinvertedIndexConfig.indexNullState: true).NotandContainsNonerequire Weaviate v1.33+.
See
https://docs.weaviate.io/weaviate/api/graphql/filters
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.