Re: A little mild abuse of SearchHandler

2012-04-02 Thread Benson Margulies
I've answered my own question, but it left me with a lot of curiosity. Why is the convention to build strings joined with commas (e.g in SolrQuery.addValueToParam) rather than to use the array option? All these params are Map, so why cram multiples into the first slot with commas ?

A little mild abuse of SearchHandler

2012-04-02 Thread Benson Margulies
I've got a prototype of a RequestHandler that embeds, within itself, a SearchHandler. Yes, I read the previous advice to be a query component, but I found it a lot easier to chart my course. I'm having some trouble with sorting. I came up with the following. 'args' is the usual Map. firstpassSort