Skip to content

zerowidth/lucene_query_parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Basic Lucene query parser and syntax checker for Ruby

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages