Sha256: c6cd93550daad946329b37c3dae39c977dd4d48c1b89cf11653f55a235e40987

Contents?: true

Size: 482 Bytes

Versions: 2

Compression:

Stored size: 482 Bytes

Contents

require "test/unit"
require_relative "../../lib/it_tools/solr"

#  args = {
#    :solr_host => "searcher",
#    :solr_port => "8983" }
#  query = Solr::Query.new args
#  params = { 
#    "query" => "arch", 
#    "category" => "public" }
#  resp = query.do_query params
#  p resp

handler = Handler.new 
params = {                
  "query" => "arch",      
  "category" => "public",
  :solr_host => "searcher",  
  :solr_port => "8983" }     

resp = handler.get_srch params
p resp

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
beta_tools-0.0.5 test/it_tools/test_solr2.rb
beta_tools-0.0.4 test/it_tools/test_solr2.rb