lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Rafalovitch <arafa...@gmail.com>
Subject Re: Custom SearchHandler with custom QueryResponseWriter
Date Tue, 09 Aug 2016 14:04:46 GMT
Where did you put the jar that contains those custom classes? Perhaps
they are not being loaded. Is there an error message in the logs?

Are you doing this in standalone Solr or in a cloud-mode?

Regards,
   Alex.
----
Newsletter and resources for Solr beginners and intermediates:
http://www.solr-start.com/


On 9 August 2016 at 20:04, Markus Boese <markus.boese@gmail.com> wrote:
> Hello everyone,
> I'm trying use my QueryResponseWriter with my SearchHandler, but the
> write(...)-Method of my QueryResponseWriter is not called.
>
> Excerpt of my sorlconfig.xml:
>
>     <queryResponseWriter name="wwWriter" class="my.writer.WWResponseWriter"
> />
>
>     <searchComponent name="wwSearcher"
> class="my.search.component.WWSearchComponent" />
>
>     <requestHandler name="/ww" class="solr.SearchHandler">
>         <lst name="defaults">
>             <str name="wt">wwWriter</str>
>             <str name="df">ww_search_key</str>
>             <str name="rows">10</str>
>         </lst>
>         <arr name="last-components">
>             <str>wwSearcher</str>
>         </arr>
>     </requestHandler>
>
> Could anyone explain why a request to "/ww" not includes a call of
> WWResponseWriter?
> I just want to render custom Json aus output.
>
> --
> Greetz,
>
> Markus Boese

Mime
View raw message