Re: Making additional solr requests in an QueryResponseWriter

2012-03-02 Thread Donnie McNeal
Mikhail, Thanks for the reply. Regarding your comments: 1 - OK. That's good to know. 2 - I thought about adding the subcategories to the category after I sent my original question. This could work, but there are times when we need the subcategories returned within the parent document and times

Re: Making additional solr requests in an QueryResponseWriter

2012-03-01 Thread Mikhail Khludnev
Hello Donnie, 1. Nothing beside of design consideration prevents you form doing search in QueryResponseWriter. You have a request, which isn't closed yet, where you can obtain searcher from. 2. Your usecase isn't clear. If you need just to search categories, and return the lists of subcategories p

Making additional solr requests in an QueryResponseWriter

2012-03-01 Thread Donnie McNeal
Hi all, The documents in our solr index have an parent child relationship which we have basically flattened in our solr queries. We have messaged solr into being the query API for a 3rd party data. The relationship is simple parent-child relationship as follows: category +-sub-category this ult