lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <erik.hatc...@gmail.com>
Subject Re: VelocityResponseWriter in Solr Core ?! configuration
Date Mon, 14 Jun 2010 15:25:51 GMT

On Jun 14, 2010, at 9:12 AM, stockii wrote:
> i tried it with 1.4 and put the jars into lib of solr.home but it  
> want be
> work. i get the same error ...
>
> i use 2 cores. and my solr.home is ...path/cores in this folder i put
> another folder with the name: "lib" and put all these Jars into it:
> apache-solr-velocity-1.4-dev.jar
> velocity-1.6.1.jar
> velocity-tools-2.0-beta3.jar
> commons-beanutils-1.7.0.jar
> commons-collections-3.2.1.jar
> commons-lang-2.1.jar

With multicore, you either have to put the JARs in each cores lib/  
directory, or use the multicore sharedLib feature to point to the  
proper lib directory.

>
> and then in solrconfig.xml this line: <queryResponseWriter  
> name="velocity"
> class="org.apache.solr.response.VelocityResponseWriter"/>

Again, I strongly recommend you use class="solr.VelocityResponseWriter".

	Erik


Mime
View raw message