Re: Change Velocity Template Directory in Solr 4.6

2013-12-12 Thread O. Olson
Thank you very much for the confirmation iorixxx. When I started this thread on Dec. 6, I did not know about the confluence wiki (https://cwiki.apache.org/confluence/display/solr/Apache+Solr+Reference+Guide). I learned about it through another thread I started (http://lucene.472066.n3.nabble.com/Us

Re: Change Velocity Template Directory in Solr 4.6

2013-12-12 Thread Ahmet Arslan
Hi Olson, You are correct v.base_dir parameter is not used at all after SOLR-4882. "{corename}/conf/velocity" is the only option. solr.allow.unsafe.resourceloading system property does not affect this behavior. Wiki needs update. (confluence does not mention v.base_dir parameter) Do you want t

Re: Change Velocity Template Directory in Solr 4.6

2013-12-11 Thread O. Olson
Thank you iorixxx. Yes, when I run: > java -Dsolr.allow.unsafe.resourceloading=true -jar start.jar And I then load the root of my site, I get: ERROR - 2013-12-11 14:36:03.434; org.apache.solr.common.SolrException; null:java.io.IOException: Unable to find resource 'browse.vm' at org.apa

Re: Change Velocity Template Directory in Solr 4.6

2013-12-10 Thread Ahmet Arslan
Hi Olson, Even if you set -Dsolr.allow.unsafe.resourceloading=true, do you still get IOException("For security reasons, SolrResourceLoader cannot load..")? On Wednesday, December 11, 2013 12:17 AM, O. Olson wrote: Hi, Does anyone have a clue regarding this? Or would this question be more ap

Re: Change Velocity Template Directory in Solr 4.6

2013-12-10 Thread O. Olson
Hi, Does anyone have a clue regarding this? Or would this question be more appropriate on the Solr-Dev? After posting this I realized that the template directory needs to be named "velocity" even if you place it under /core/conf/. This seems to be too restrictive. O. O. -- View this message

Change Velocity Template Directory in Solr 4.6

2013-12-06 Thread O. Olson
I would like to know how to set the Velocity Template Directory in Solr.   About 6 months ago I asked this question on this list: http://lucene.472066.n3.nabble.com/Change-Velocity-Template-Directory-td4078120.html  At that time Erik Hatcher advised me to use the v.base_dir in solrconfig.xml. Th