Basic Lucene query parser and syntax checker for Ruby
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
spec
.gitignore
.rspec
Changes
Gemfile
Guardfile
LICENSE
README.md
Rakefile
lucene_query_parser.gemspec

README.md

Lucene Query Parser

Synopsis

This library provides a basic parser that implements the majority of the Lucene Query Syntax "specification". Additionally, it includes a check_lucene_query script to check for errors in a given query.

Requirements

  • Ruby 1.8.7 (hasn't been tested elsewhere)
  • parslet
  • rainbow
  • Rspec 2 for development

Install

gem install lucene_query_parser

Usage

check_lucene_query --help

check_lucene_query query.txt

pbpaste | check_lucene_query -

Development

bundle
rake

Contributing

Fork, patch, test, and send a pull request.