On Mar 6, 2009, at 2:55 PM, Shalin Shekhar Mangar wrote:

On Sat, Mar 7, 2009 at 12:27 AM, Brian Knoth <bkn...@myperfectgig.com>wrote:

Apologies up front if this is a often-asked newbie question, but I've
searched the solrhandler docs and I can't find what I'm interested in.

I'd like to be able to present multiple queries to SOLR, for example:

[(+a +b) ]
[(+a +c)]
[(+a+ d)]

And get back a multi-result set (one for each query). I don't see that any
of the default, included search handlers provide this capability?

Is this possible, or would a custom handler need to be created.


No but you can always fire three requests. Writing your own handler which prints data in a custom format means that you can no longer use existing
solr clients for java/ruby/python etc.

That's not a fair characterization of at least the Ruby client. The NamedList (err, Hash in Ruby) is simply a data structure returned that can be easily navigated. Sure, any client API that expects a certain structure will have issues, but in general no problem in just Hashing it out.

        Erik

Reply via email to