simple query string
This block is part of the query group and was last modified in core v10.4.28.
Connection Type
This block connects from a query type block. Make sure to connect this block to the appropriate left-hand side connection.
Parent Requirements
This block requires specific parent elements: query_bool_must, query_bool_must_not, query_bool_filter, query_bool_should, query_first_defined. Ensure this block is placed within the appropriate parent context.
simple query string v10.4.28 - fields required
fielddefinitions - search required
value - operator (OR)
value
- query
query
Emits a simple_query_string full-text clause over the selected fields; unlike query string, invalid syntax in the search input is ignored instead of failing the search, so this is the safe choice for raw user input. Fields are read from the fielddefinitions pin (entries without a non-empty field string are dropped) and search defaults to "". default_operator is "OR" unless the or pin holds a truthy value, which is then stringified into the operator.
A typical wiring for simple query string: get multiple feeds the fields pin; convert to lowercase feeds the search pin; the query out pin feeds must.
Commonly used with
In production blueprints, this block is most often wired together with:
- get multiple: feeds into this block. get multiple existing fields.
- must: this block feeds into it. All queries provided must match.
- convert to lowercase: feeds into this block.
Used in these guides
These documentation pages use or explain this block:
- Storage Examples
- Storages
- Example: E-Commerce Catalog
- Example: Simple Blog
- Build Your First CRUD App
- Block Quick Reference
Version history
Introduced in v10.4.28.
Back to
query Return to the main group to view all sub-groups Back to query Return to the group to view all blocks within this group 