Hi,
I've been unable to get the velocity response writer to work in a multicore
environment. Working from the examples that are distributed with Solr I simply
started from the multicore example and added a hello.vm into
core0/conf/velocity directory. I then updated the solrconfig.xml to add a new
request handler as shown below. I've tried to use the v.base_dir to no success.
Essentially what I always end up with is the default solr response. Has anyone
been able to get the velocity response writer to work in a multicore
environment? If so, could you point me to the documentation on how to do so.
hello.vm
========
Hello World!
solrconfig.xml
===========
…
<requestHandler name="/hello" class="solr.SearchHandler">
<lst name="defaults">
<str name="echoParams">explicit</str>
<!-- VelocityResponseWriter settings -->
<str name="wt">velocity</str>
<str name="v.template">hello</str>
<!-- I've tried all the following in addition to not specifying any. -->
<!--str name="v.base_dir">core0/conf/velocity</str-->
<!--str name="v.base_dir">conf/velocity</str-->
<!--str name="v.base_dir">multicore/core0/conf/velocity</str-->
</lst>
</requestHandler>
…
Regards,
Paul Ramirez