Re: MetricsHistoryHandler getOverseerLeader fails when hostname contains hyphen

2018-07-25 Thread Chris Hostetter
: Subject: MetricsHistoryHandler getOverseerLeader fails when hostname contains : hyphen that's unfortunate. I filed a jira... https://issues.apache.org/jira/browse/SOLR-12594 : Can one just ignore this warning and what will happen then? I think as long as you don't care

MetricsHistoryHandler getOverseerLeader fails when hostname contains hyphen

2018-07-25 Thread Andi S
least there's a warning. Looking at the code you can see that it has to fail if the hostname of the node contains a hyphen: [https://github.com/apache/lucene-solr/blob/d25f62634b95e49df739a5a2612f9b719ef3a77d/solr/core/src/java/org/apache/solr/handler/admin/MetricsHistoryHandler.java#L335] Ca

Re: Can replace the IP with the hostname or some unique identifier for each node in Solr

2018-06-14 Thread Jan Høydahl
See this FAQ https://github.com/docker-solr/docker-solr/blob/master/Docker-FAQ.md#can-i-run-zookeeper-and-solr-clusters-under-docker -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 8. jun. 2018 kl. 14:52 skrev akshat : > > Hi, > > I have deployed Solr in docker swar

Re: Can replace the IP with the hostname or some unique identifier for each node in Solr

2018-06-08 Thread Shawn Heisey
On 6/8/2018 6:52 AM, akshat wrote: My question -> Is it possible to some way we can trick the ​S​olr by replacing the IP which it shows in the graph to some unique identifier so that when swarm brings the new node it should still be pointing to the unique identifier name, not the IP. Each Solr

Can replace the IP with the hostname or some unique identifier for each node in Solr

2018-06-08 Thread akshat
Hi, I have deployed Solr in docker swarm and scaling the replicas as 3. What I have achieved -> Created the Solr core replicas in the other containers. Blocker -> When I kill a container ​, D ocker swarm brings another container with a different IP. So, when I see the graph it is still pointing

Hostname of Solr server in Velocity template?

2016-05-19 Thread Alex Ott
Hello I have the code that need to work with multiple Solr instances. Code receives the REST API call initiated from the UI generated by Solr from Velocity template, and I need to specify the hostname of the server that initiated this call. But I can't find what parameter I can use to ge

Re: Hostname

2013-08-31 Thread William Bell
E:8983/solr/#/ >> >> That seems like a really useful thing to have. >> >> I think I'd actually go further - provide a config option, off by >> default in 4.x and on by default in trunk, that returns the detected >> hostname (or a configurable value) with ev

Re: Hostname

2013-08-31 Thread William Bell
gt; > http://DNSNAME:8983/solr/#/ > > That seems like a really useful thing to have. > > I think I'd actually go further - provide a config option, off by > default in 4.x and on by default in trunk, that returns the detected > hostname (or a configurable value) with ev

Re: Hostname

2013-08-31 Thread Shawn Heisey
king. > > http://DNSNAME:8983/solr/#/ That seems like a really useful thing to have. I think I'd actually go further - provide a config option, off by default in 4.x and on by default in trunk, that returns the detected hostname (or a configurable value) with every response. That coul

Hostname

2013-08-31 Thread William Bell
In the Solr 3 the console showed the name of the server. Can we get that added - it was very useful since we use a load balancer and we want to know which machine we are on So that we can see if the load balancer is working. http://DNSNAME:8983/solr/#/ -- Bill Bell billnb...@gmail.com

Re: hostname -> ipaddress change in solr4.0 to solr4.1+

2013-05-22 Thread Shawn Heisey
On 5/22/2013 12:53 PM, Anirudha Jadhav wrote: Logging/UI used to show hostname in 4.0 in 4.1+ it switched to ip addresses is this by design or a bug/side effect ? If you are talking about SolrCloud, this was an intentional change. By including a host property either on the Solr startup

hostname -> ipaddress change in solr4.0 to solr4.1+

2013-05-22 Thread Anirudha Jadhav
Logging/UI used to show hostname in 4.0 in 4.1+ it switched to ip addresses is this by design or a bug/side effect ? its pretty painful to look at ip addresses, I am planning to change. let me know if you have any concerns -- Anirudha

Re: clusterstate stores IP address instead of hostname now?

2013-05-20 Thread Shawn Heisey
On 5/20/2013 9:25 AM, Daniel Collins wrote: Just done an upgrade from Solr (cloud) 4.0 to 4.3 and noticed that clusterstate.json now contains the IP address instead of the hostname for each shard descriptor. Was this a conscious change? It caused us some pain when migrating and breaks our own

clusterstate stores IP address instead of hostname now?

2013-05-20 Thread Daniel Collins
Just done an upgrade from Solr (cloud) 4.0 to 4.3 and noticed that clusterstate.json now contains the IP address instead of the hostname for each shard descriptor. Was this a conscious change? It caused us some pain when migrating and breaks our own admin tools, so just checking if this is

Re: passing parameters into the XSLTResponseWriter: particularly hostname

2009-03-09 Thread Fergus McMenemie
>: I was wondering if there was a way of passing parameters into >: the XSLTResponseWriter writer. > >I don't think there's anyway to pass input in the traditional >sense, but you can set default/invariant params along with echoParams=all >to get the values you want into the XML doc itself wher

Re: passing parameters into the XSLTResponseWriter: particularly hostname

2009-03-08 Thread Chris Hostetter
: I was wondering if there was a way of passing parameters into : the XSLTResponseWriter writer. I don't think there's anyway to pass input in the traditional sense, but you can set default/invariant params along with echoParams=all to get the values you want into the XML doc itself where you

passing parameters into the XSLTResponseWriter: particularly hostname

2009-02-27 Thread Fergus McMenemie
items in the result set highlighted to them. However many RSS clients require links to the underlying content to be absolute. So I need to pass in the full hostname, of the machine serving the results, to the transform generating my RSS feed. How do I do this? Regards Fergus

Re: Problem with machine hostname and Solr/Tomcat

2007-05-29 Thread Brian Lucas
Thanks Chris, it was as easy as adding the hostname to /etc/hosts to fix. hossman_lucene wrote: > > : Anyone encounter a problem when changing their hostname? (via > : /etc/conf.d/hostname or just the hostname command) I'm getting this > error > : when going to the ad

Re: Problem with machine hostname and Solr/Tomcat

2007-05-25 Thread Chris Hostetter
: Anyone encounter a problem when changing their hostname? (via : /etc/conf.d/hostname or just the hostname command) I'm getting this error : when going to the admin screen, I have a feeling it's a simple fix. It : seems to work when it thinks the machine's name is just '

Problem with machine hostname and Solr/Tomcat

2007-05-25 Thread Brian Lucas
Anyone encounter a problem when changing their hostname? (via /etc/conf.d/hostname or just the hostname command) I'm getting this error when going to the admin screen, I have a feeling it's a simple fix. It seems to work when it thinks the machine's name is