$ 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
Ruby gem meant to be used in IRB sessions for querying CouchDB-Lucene indices interactively!.
License
tisba/cl-console
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Ruby gem meant to be used in IRB sessions for querying CouchDB-Lucene indices interactively!.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published