In cloud mode, configurations live in ZooKeeper.
By doing the
-Dvelocity.template.base.dir=/example/files/conf/velocity/ trick
(or baking that into your solrconfig setup for the VelocityResponseWriter) you
can have the templates on the file system instead though.
—
Erik Hatcher, Senior Solutio
Hi Erik
When running solr in simple mode on my laptop, I found the *vm files under
under server/solr/COLLECTION_NAME/conf
however, when running on my server in cloud mode (with only one node), I do
not find these conf/ directory under server.
Does it sit on another place?
thanks!
On Tue, Jun 9
Do note that changing the file copied under solr/server is risky, as you may
delete and recreate the collection and lose your changes. If you use the
system property trick mentioned below, you can develop without having to
recreate the collection but once you do it’ll incorporate the changes.
Assuming you're in SolrCloud, you'd have to push the
config set up to Zookeeper and issue a Collections API
RELOAD command on the collection.
But if you've got it worked out, it doesn't matter.
FWIW,
Erick
On Mon, Jun 8, 2015 at 2:37 PM, Sznajder ForMailingList
wrote:
> Hi
>
> I am using 5.
Hi
I am using 5.1
Currently, I defined a directory solr-conf/ .
Under this directory, I have a velocity directory containing my different
*.vm files.
When I create a collection, I am creating via
bin\solr create -c COLL_NAME -d PATH_TO_SOLR_CONF
Your indication was helpful : changing the file c
What version of Solr? And where is the file you’re changing?
With Solr 5.2, one example of what you’re trying to do is under example/files.
In the README we have this:
bin/solr start
-Dvelocity.template.base.dir=/example/files/conf/velocity/
When you create a collection it clones the co
Thanks!!
However, each time I change a *.vm file, I do not succeed to see the change
on my browser until, I delete + recreate the collectoin and re-index.
Isn't there a way to immediately see the display change?
Best regards
On Mon, Jun 8, 2015 at 11:46 PM, Erik Hatcher
wrote:
> Benjamin -
>
Benjamin -
The templates for VelocityResponseWriter (/browse, etc) are under
conf/velocity. Find the template that generates the piece you want to affect
(which may be hit.vm or hit_.vm? - depends on which version of Solr
you’re using and which configuration you’ve started with to be more prec
Hi
I would like one of the fields, I display in the results of Velocity UI, to
be a hyperlink.
In my example, I am storing a field "url" containing the link to the online
page of the indexed document and I would like to have this displayed field
a hyperlink to this page.
Could you please indicat