query 2.2.0 query: ^2.2.0 copied to clipboard
Search query parser to implement customized search. Supports boolean groups, field scopes, ranges, comparisons...
2.2.0 #
- Make
Query
sealed instead of abstract.
2.1.1 #
- Updated
petitparser
dependency.
2.1.0 #
- Naming consistency refactor:
ScopeQuery
is returned instead ofFieldScope
.CompareQuery
is returned instead ofFieldCompareQuery
.- Old classes are kept in compatibility mode and are deprecated.
- Added
QueryEvaluator
to help evaluating queries.
2.0.0 #
Breaking changes
FieldScope.field
,FieldCompareQuery.field
andFieldCompareQuery.operator
are now aTextQuery
.field:<exp>
andfield <operator> <exp>
:<exp>
can now be an empty string.TextQuery.isExact
andPhraseQuery.isExact
are removed.PhraseQuery
is always exact andTextQuery
never is.
Updated
- Added
SourcePosition
toQuery
, storing thestart
andend
index of the matching input.
1.6.0 #
- Upgraded
petitparser
to5.0.0
.
1.5.0 #
1.4.0 #
- Migrated to null safety.
1.3.0 #
1.2.0 #
- Update sources to Dart 2.3 SDK and lints.
1.1.2 #
- More lints and checks in
analysis_options.yaml
.
1.1.1 #
- Support for new
petitparser
API.
1.1.0 #
- Support for non-ASCII characters in scope and words.
1.0.0 #
- Initial version.