Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: ruby-dev
jruby and solrj
 

Index | Next | Previous | View Flat


goodieboy at gmail

Oct 5, 2008, 7:54 PM


Views: 2081
Permalink
jruby and solrj

I've been messing around with jRuby and SolrJ with nice results. But can't
seem to get the SolrQuery.addFacetField method to work. I get this error:

"for method addFacetField expected [[Ljava.lang.String;]; got:
[java.lang.String]; error: argument type mismatch (TypeError)"

I'm using it like:

query.add_facet_field 'cat'

and also tried:

query.addFacetField 'cat'

Any ideas as to what I'm doing wrong?

Matt

p.s. The other methods I've tried work great: set_query, set_query_type,
set_facet, set_facet_limit, set_facet_min_count, set_include_score,
add_sort_field.

Subject User Time
jruby and solrj goodieboy at gmail Oct 5, 2008, 7:54 PM
    Re: jruby and solrj ryantxu at gmail Oct 5, 2008, 10:36 PM
        Re: jruby and solrj erik at ehatchersolutions Oct 6, 2008, 12:59 PM
    Re: jruby and solrj goodieboy at gmail Oct 6, 2008, 1:19 PM
    Re: jruby and solrj erik at ehatchersolutions Oct 6, 2008, 1:30 PM
    Re: jruby and solrj erik at ehatchersolutions Oct 6, 2008, 8:40 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.