: I can't change the two-query fundamentals, but I'd like to hide the : implementation from the client. If I wanted to concentrate this logic at : the server, should I be considering a custom request handler?
i do this, there's nthing wrong with teh appraoch ... but in my case i'm wuerying the same internal Solr index both times -- the irst query is to get metadata documents relating to the inpupt, and htose metdata documents define rules about how the rest of hte input should be interpreted -- but it's still one index, it's just that not all the documents have all the same fields. if you really want to query a completley seeperate index, then some questions are raised about where this index is and how you'll query it ... but RequestHandlers are just java classess -- you cna do anything you want in them and get data from anywhere you want, so go wild. (MoreLikeThis actually works this exact same way by they way ... you can specify a query, which is used to generate a list of documents, and then those documents are used to build the queris for a second search.) -Hoss