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

Re: Change Velocity Template Directory

2013-07-15 Thread O. Olson
Thank you Erik. I did not think the Windows file/directory path format would work for Solr. For others the following worked for me: C:\Users\MyUsername\Solr\example\example-DIH\solr\db\conf\mycustom\ Erik Hatcher-4 wrote > Try supplying an absolute path. I'm away from my computer so can't check

Re: Change Velocity Template Directory

2013-07-15 Thread Erik Hatcher
Try supplying an absolute path. I'm away from my computer so can't check just yet, but it is probably coded to consider that value absolute since moving it generally means you want templates outside of your Solr conf/. Erik On Jul 15, 2013, at 13:25, "O. Olson" wrote: > Is there any way