isoos / query

Search query parser library in Dart
BSD 3-Clause "New" or "Revised" License
20 stars 6 forks source link

Search query parser library

The library helps to parse search queries (e.g. custom search boxes) and enables custom search index implementations.

Supported expressions:

Usage

A simple usage example:

import 'package:query/query.dart';

main() {
  final q = parseQuery('some text OR field:another');
  // prints "(some (text OR field:another))"
  print(q);
}