Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
include
src
.gitignore
.travis.yml
LICENSE
README.md
rebar.config
rebar.lock
rebar3

README.md

lucene_parser Build Status

lucene_parser is a project for parsing Lucene-like query syntax into tokens.

Usage:

  {ok, Query} = lucene_parser:parse("default_index", "default_field", "foo AND bar").
  Query == #intersection { ops=[#term { s="foo" }, #term { s="bar" }] }.

Notes:

  • All arguments are expected to be lists.
  • The components of the query graph can be found in lucene_parser.hrl.