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
Querysealed instead of abstract.
2.1.1 #
- Updated
petitparserdependency.
2.1.0 #
- Naming consistency refactor:
ScopeQueryis returned instead ofFieldScope.CompareQueryis returned instead ofFieldCompareQuery.- Old classes are kept in compatibility mode and are deprecated.
- Added
QueryEvaluatorto help evaluating queries.
2.0.0 #
Breaking changes
FieldScope.field,FieldCompareQuery.fieldandFieldCompareQuery.operatorare now aTextQuery.field:<exp>andfield <operator> <exp>:<exp>can now be an empty string.TextQuery.isExactandPhraseQuery.isExactare removed.PhraseQueryis always exact andTextQuerynever is.
Updated
- Added
SourcePositiontoQuery, storing thestartandendindex of the matching input.
1.6.0 #
- Upgraded
petitparserto5.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
petitparserAPI.
1.1.0 #
- Support for non-ASCII characters in scope and words.
1.0.0 #
- Initial version.