Questions tagged [solr]
Solr is an open source enterprise search platform from the Apache Lucene project, written in Java.
197
questions
40
votes
7
answers
119k
views
How does one get tomcat to bind to ipv4 address?
I recently installed tomcat via an installation script from the apache solr typo3 community and spent the last 3 days trying to figure out why it won't work until by chance I noticed that when I ...
18
votes
2
answers
41k
views
Nginx not caching data
I have a REST API behind an nginx proxy. Proxying works fine, however I am unable to cache any responses. Any help would be much appreciated:
Nginx config:
worker_processes 10;
error_log logs/...
16
votes
4
answers
36k
views
How do we increase the maximum allowed HTTP GET query length in Jetty?
We are using Jetty to run an Apache Solr index. We've had some queries that have grown way beyond the previously expected maximum length, and are now having issues where most queries are not ...
8
votes
3
answers
18k
views
determine ulimit for root user
we believe we have increased the max open file descriptors for the root user. This was done by adding this line to /etc/security/limits.conf:
* - nofile 2048
We think we've ...
8
votes
1
answer
2k
views
Why set a delay for apache solr indexing?
Apache Solr is configured by default to have a certain delay (in my case 2 minutes) before indexing content. I've seen in other posts how to reduce this, but I'm having trouble understanding why you ...
7
votes
2
answers
16k
views
It should be set to 65000 to avoid operational disruption
I'm following Taking Solr to Production | Apache Solr Reference Guide 8.5, however unable to overcome warning while restarting solr service:
# service solr restart
*** [WARN] *** Your open file limit ...
6
votes
3
answers
61k
views
Which is the correct way to restart Solr
I have made some changes at Solr Schema file and I see I 'am forced to restart SolR in order to have Solr running with new schema updates.
This is hosted on a server where solr is running from a ...
5
votes
2
answers
5k
views
PermGen error in Java, while memory usage seems low
Java application dies from time to time with PermGen space error, but when I look at the
memory usage it seems low from what I can tell.
It is a Tomcat application, plus there is SOLR server running ...
5
votes
5
answers
16k
views
Why is solr admin panel not showing?
I have downloaded solr from here and untar'd it. Then went to the example directory in apache-solr-3.1.0/solr/example and ran this command
java -jar start.jar
But when I open http://localhost:8983/...
5
votes
2
answers
2k
views
Solr Search - java.util.Map$Entry cannot be resolved
I have Solr 3.6.2 running and powering the search for a Magento Enterprise site, and it's all working well, with no errors on startup etc.
However when trying to access the following admin pages:
/...
5
votes
1
answer
5k
views
Apache Solr Admin on Tomcat Deployed in WebApps Directory
I am trying to get Apache Solr to work on Redhat6 and Tomcat6 (using these instructions), but get this error when browsing to the admin section, http://localhost:8080/solr-example/admin:
HTTP ...
4
votes
4
answers
9k
views
What is a Servlet Container and how to install one?
I am about to order a VPS (virtual private server) from a provider, and I guess I have to install some Servlet Container right?
I am about to use SOLR and my website is PHP MYSQL JAVASCRIPT based.
...
4
votes
1
answer
5k
views
Trying to install pecl Solr extension but it needs curl
When I try to install solr-beta:
pecl install solr-beta
I get this error:
pecl/solr requires PHP extension "curl"
No valid packages found
install failed
The thing is curl is already installed and ...
4
votes
2
answers
3k
views
solr reverse proxy Apache2
I am trying to setup Apache2 as Reverse Proxy for solr. Apache and Solr are on the same machine. Apache is serving other stuff as regular web server, too.
solsearch config file in /etc/apache2/config....
4
votes
1
answer
1k
views
Upstart restart command doesn't load new updated job config (solr)
Here my upstart config for solr which is located under /etc/init/solr.conf
# /etc/init/solr.conf
description "Starts Solr server"
respawn
start on startup solr_push
script
echo "Starting ...
4
votes
1
answer
507
views
Should the replica version match between replicas of the same shard in SolrCloud
I have a solr cloud (5.2.1) with 5 shards a 2 nodes.
In this cluster i have 163.463.543 items. I indexed 200.000 more items and now the versions / sizeInBytes between two nodes of a cluster are not ...
4
votes
1
answer
1k
views
Tomcat Solr Memory Usage
I am running solr on tomcat server on linux server, when I use the top command I see the "VIRT" very high
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4786 root 20 0 ...
4
votes
1
answer
2k
views
How to monitor SOLR
We have SOLR running on a windows platform in our development environment, and on a Linq platform for production. We would like to monitor the SOLR index. We currently have Microsoft MOM (I think ...
4
votes
1
answer
2k
views
SOlr 4.10.2 500 Internal Server Error Error: {msg=SolrCore 'collection1' is not available due to init failure: Index locked for write
I have a SOLR Master and a Slave running.
After upgrading to SOLR 4.10.2, and fixing all other errors, I cannot get pass this one:
RSolr::Error::Http - 500 Internal Server Error Error: {msg=...
3
votes
3
answers
472
views
Simple full-text search server
I have been looking at search solutions like Sphinx, Solr and Elasticsearch but they are all way too complex for what I need.
I'm basically looking for a server software, best distributed, that ...
3
votes
2
answers
5k
views
How to check if an IP address is EC2 instance
We have an IP address in configuration file (which hosts a solr server that accepts requests at a specific port). The developer who has added that IP address in the configuration file in the source ...
3
votes
1
answer
6k
views
What is the proper iptables configuration for Apache Solr on CentOS?
I know for a fact that iptables running is causing my instance of Apache Solr to be inaccessible.
How do I know this? Because I ran:
/sbin/service iptables save && /sbin/service iptables stop
...
3
votes
2
answers
7k
views
Securing Apache Solr in production
I am setting up Apache Solr 4.1 that will be used to index data for a web app. Only the web app should have access to the Solr. Users and other clients will not talk directly to Solr.
What are some ...
3
votes
3
answers
8k
views
How to change base path of Solr example?
I've followed the Solr tutorial, but the URL they make you use is:
http://localhost:8983/solr/
What is the most simple way to change this URL to:
http://localhost:8983/foobar/
3
votes
2
answers
23k
views
how to enable access to port from network in ubuntu?
when i "netstat -an | grep LISTEN"
i have line:
tcp6 0 0 127.0.0.1:24030 :::* LISTEN
i want it to be
tcp6 0 0 ::24030 :::* ...
3
votes
2
answers
2k
views
Is there an IMAP server that supports searching emails using elasticsearch or solr?
What I am wondering is if there is an IMAP server available that supports the IMAP SEARCH command (https://www.rfc-editor.org/rfc/rfc1730#section-6.4.4), and is fast.
I have had a look around at ways ...
3
votes
3
answers
14k
views
Make Solr server accessible on network
So I've installed Solr on a linux server and I want to access it from another web server and/or my computer.
From the Solar Server, I can see that it's running
[root@solr ~]# wget -qO- http://...
3
votes
1
answer
248
views
How to determine when SOLR starts an index build
So on day 2 of NewJob I've inherited a slight issue with SOLR. The DB team has a number of servers upon which they generate SOLR indexes. The servers aren't beefy enough to run multiple indexes at ...
3
votes
1
answer
110
views
Best location for Solr index files
I'm trying to setup properly Solr under a debian machine. It's working ok but the I'm not sure where's the best location for the index files. Currently they are inside the application's folder but I ...
3
votes
1
answer
5k
views
Lucene Solr - Multi Core vs Multiple Instance for Different Schema Documents
I have performance concerns and wanted suggestions which work best for Multi Core or Multi Instance(with different port)?
My Case First:
Currently I am running Solr with multiple cores and its ...
3
votes
1
answer
5k
views
SolrCore initialization failures
When I visit the dashboard it tells me:
SolrCore initialization failures
The only warning line in /var/log/tomcat6/catalina.out is:
WARNING: New index directory detected: old=null new=/var/solr/...
3
votes
1
answer
2k
views
Apache2 + Solr: Tomcat or Jetty?
I have an (Ubuntu 10.4) server running Apache2 web server. So far so good, I have a few extensions setup just the way I hoped for, I'm happy.
But now I'd like to try out Apache Solr because I'd ...
3
votes
1
answer
479
views
Can Linux RAID 1 account for high latency?
Scenario: we're running a large (3TB total in cluster) Solr installation in EC2. I'm only concerned about disk performance on the read side of things. We suspect that we are limited by disk I/O and ...
3
votes
1
answer
4k
views
How to Install Apache Solr / Java on CentOS?
I've seen only one or two tutorials for installing Solr, and particularly Java, on a CentOS machine, and they seem to be overly complex; heck, I can't quite figure out which version of Java (it seems ...
3
votes
1
answer
4k
views
Zookeeper node is not able to load database on production server anymore
I am running a zookeeper ensemble of 3 on three different ubuntu 14.04 nodes. The setup used to work OK, but now I noticed the zk1 is not operational. It does also not restart:
:/home/www$ sudo /etc/...
3
votes
2
answers
1k
views
Solrcloud node is not comming up
I have a Solrcloud cluster running with 2 nodes, configured with one shard and one replica. Now I have added a node on a new server, registered with the same three zookeepers. The node shows up inside ...
3
votes
0
answers
751
views
Loadbalancing and HA with SolrCloud?
I have a LAMP Application running with solr 3.x on one server for several years now. Now I am migrating due to heavy load to a setup with two dedicated machines where all services are loadbalanced via ...
2
votes
1
answer
10k
views
How can I install daemon on a CentOS box?
I'm basically looking for the equivalent of :
sudo apt-get install daemon
From Debian
I'm trying to configure a Solr daemon as outlined here https://stackoverflow.com/a/2150888/443779
2
votes
3
answers
9k
views
org.apache.solr.common.SolrException: Error loading class 'solr.VelocityResponseWriter'
I have setup an Apache Tomcat 6 server and installed Apache Solr 3.5.0 as per instructions found here http://pabloseminario.com/2011/02/22/installing-solr-on-debian-6-0/.
Now, opening the solr ...
2
votes
2
answers
11k
views
configuring jetty to accept connections from only certain IP addresses
I am using the jetty that is shipped with Apache Solr to run Solr. I would like to configure jetty such that it only accepts connections from certain IP addresses. I know I can bind jetty to 127.0.0.1 ...
2
votes
4
answers
3k
views
solr php extension fails to run on newest Debian Wheezy
I'm trying to use the Solr PHP extension on the recently-upgraded Debian Wheezy. It installs both from PECL and from sources flawlessly but instead of giving me expected functionality it gives me this ...
2
votes
2
answers
2k
views
Only one Apache Solr to search into Multiple/Cross-domain CMSs?
Is it possible for single-instance of Solr to use across multiple Applications, Cross Domains? Like multiple CMSs such as Wordpress + Joomla + Drupal. Any searching from anywhere should be showing the ...
2
votes
1
answer
1k
views
Reducing Solr indexing delay
By default the example Solr application included with version 1.4.1 takes two minutes to process documents sent to the index. I've seen other servers configured to take 3+ minutes. Where can you ...
2
votes
2
answers
4k
views
solr 6.4.0 - Sorry, no dataimport-handler defined
I have installed solr 6.4.0 on ubuntu 16.04 LTS and want to use a configuration previously used on solr CLOUD 5.2.1
After creating a new core and linking the config files I can now see the core on ...
2
votes
2
answers
108
views
Migrating to the Cloud: Private or Public [closed]
This is a matter of opinion but I'm looking for some advice regarding an upcoming migration of physical servers to the cloud. I'm looking for some perspective - any opinions are welcome.
Scenario: ...
2
votes
1
answer
259
views
Can I run a site search like Lucene on a single 2 gig server that's also a web & mysql server
My site's pages have exceeded the limit of pages for Google Custom Search so many of the results are not found in our site search.
I've been reading about Lucene, Nutch, Solr, etc and I'm wondering ...
2
votes
1
answer
8k
views
Log warnings and errors only in Tomcat
I'm running an instance of Apache Solr with Tomcat 6. The scripts I used for installing configured Tomcat to log "everything" which means that it generates huge logfiles because every query etc. is ...
2
votes
2
answers
1k
views
Solr 4.5 uses too much memory on consequent queries, GC runs causing timeouts
There is a index on Solr 4.5 which contains ~50K documents taking ~4Gb on disk. Physical RAM available to JVM is 6Gb (out of total 10Gb on server), OS is 64bit CentOS 5.
One of the applications ...
2
votes
1
answer
349
views
Updating solr on a ColdFusion 9 install?
I'm thinking about upgrading the solr install included with ColdFusion 9 to the latest Apache release. This raises a few questions:
Is there a compelling reason not to upgrade to 3.6 (is it slower ...
2
votes
1
answer
417
views
Tomcat Solr times out
(Plesk 10.4 centos 5.8 linux apache2 server, with Tomcat5 on port 8080 and Apache Solr)
I get "The connection has timed out" on requesting domain.com:8080 or www.domain.com:8080 or ip.ad.dr.ess:8080
...