Re: Where can we set the parameters in Solr Config?
Thank you Alex and Jack for pointing out solrcore.properties and core.properties files. This is much better than specifying these on the command line. I think I need to use the solrcore.properties. I will try it in the next few days. Thanks again. Alexandre Rafalovitch wrote > core.properties? > https://cwiki.apache.org/confluence/display/solr/Configuring+solrconfig.xml#Configuringsolrconfig.xml-SubstitutingPropertiesinSolrConfigFiles > > Regards. > Alex Jack Krupansky-3 wrote > The Solr properties can also be defined in solrcore.properties and > core.properties files: > https://cwiki.apache.org/confluence/display/solr/Configuring+solrconfig.xml > > > -- Jack Krupansky -- View this message in context: http://lucene.472066.n3.nabble.com/Where-can-we-set-the-parameters-in-Solr-Config-tp4183706p4184021.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Where can we set the parameters in Solr Config?
The Solr properties can also be defined in solrcore.properties and core.properties files: https://cwiki.apache.org/confluence/display/solr/Configuring+solrconfig.xml -- Jack Krupansky On Tue, Feb 3, 2015 at 3:31 PM, O. Olson wrote: > Thank you Jim. I was hoping if there is an alternative to putting the > parameters on the command line, which would be a pain if there are more > than > a few parameters i.e. like a config file for example. > > Thanks again > > > Jim.Musil wrote > > We set them as extra parameters sent to to the servlet (jetty or tomcat). > > > > eg java -Dsolr.lock.type=native -jar start.jar > > > > Jim > > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Where-can-we-set-the-parameters-in-Solr-Config-tp4183706p4183732.html > Sent from the Solr - User mailing list archive at Nabble.com. >
Re: Where can we set the parameters in Solr Config?
core.properties? https://cwiki.apache.org/confluence/display/solr/Configuring+solrconfig.xml#Configuringsolrconfig.xml-SubstitutingPropertiesinSolrConfigFiles Regards. Alex Sign up for my Solr resources newsletter at http://www.solr-start.com/ On 3 February 2015 at 15:31, O. Olson wrote: > Thank you Jim. I was hoping if there is an alternative to putting the > parameters on the command line, which would be a pain if there are more than > a few parameters i.e. like a config file for example. > > Thanks again > > > Jim.Musil wrote >> We set them as extra parameters sent to to the servlet (jetty or tomcat). >> >> eg java -Dsolr.lock.type=native -jar start.jar >> >> Jim > > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Where-can-we-set-the-parameters-in-Solr-Config-tp4183706p4183732.html > Sent from the Solr - User mailing list archive at Nabble.com.
Re: Where can we set the parameters in Solr Config?
Thank you Jim. I was hoping if there is an alternative to putting the parameters on the command line, which would be a pain if there are more than a few parameters i.e. like a config file for example. Thanks again Jim.Musil wrote > We set them as extra parameters sent to to the servlet (jetty or tomcat). > > eg java -Dsolr.lock.type=native -jar start.jar > > Jim -- View this message in context: http://lucene.472066.n3.nabble.com/Where-can-we-set-the-parameters-in-Solr-Config-tp4183706p4183732.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Where can we set the parameters in Solr Config?
We set them as extra parameters sent to to the servlet (jetty or tomcat). eg java -Dsolr.lock.type=native -jar start.jar Jim On 2/3/15, 11:58 AM, "O. Olson" wrote: >I'm sorry if this is a basic question, but I am curious where, or at >least, >how can we set the parameters in the solrconfig.xml. > >E.g. Consider the solrconfig.xml shown here: >http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_10/solr/exa >mple/example-DIH/solr/db/conf/solrconfig.xml?revision=1638496&view=markup > >There seems be a lot of >${:} >E.g. >${solr.lock.type:native} > >Where do these parameter values get set? Thank you in anticipation. > > > > >-- >View this message in context: >http://lucene.472066.n3.nabble.com/Where-can-we-set-the-parameters-in-Solr >-Config-tp4183706.html >Sent from the Solr - User mailing list archive at Nabble.com.