Project

cl-console

0.0
No commit activity in last 3 years
No release in over 3 years
This is a little helper to query CouchDB-Lucene indices from an IRB session. It is meant to be used for a very easy inspection, query-testing and exploration of c-l indices.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 1.2.0
 Project Readme

CouchDB-Lucene Console

$ gem install cl-console
$ irb -rrubygems -rcl_console
>> cl = CLConsole.new("database/ddoc/index")
=> #<CLConsole:0x101df9d08 [...]>
>> cl.q "test"
=> {"total_rows"=>1, "etag"=>"11a69b3141bc67e8", "search_duration"=>0, "q"=>"default:test", "rows"=>[{"id"=>"f3fba9f61520e0ef2a245772a900074c", "score"=>1}], "fetch_duration"=>0, "limit"=>25, "skip"=>0}
>> cl.help