Skip to content

goncalotomas/lucene_parser

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.