: everything is completely clear. For example the main part of the request
: result should be a DocList (or set) but which classes are responsible for
: the further processing of these results. In particular where are the fields
: of the returned documents selected (where can they be given as parameters)?
:
: Can someone give a short overview of what happens after the request result
: is returned in de handler; i.e. which classes are responsible for the
: further work?

once a RequestHandler's handleRequest method is called, a ResponseWriter
is used to format the result -- the ResponseWriter involved is what
renders all of the data in the SolrQueryResponse, including any DocLists
and fetches the underlying Documents from the SolrIndexSearcher (and pays
attention to the fields that should be returned (according to
SolrQueryResponse.getReturnFields())

: Any important tips or guidelines that should be taken care of while writing
: a particular RequestHandler?

just make sure you stick to the contract of SolrQueryResponse regarding
the kinds of data you stuff in it -- that way any ResponseWriter will be
able to render the responses from your handler cleanly.



-Hoss

Reply via email to