Solr is an open source enterprise search platform from the Apache Lucene project, written in Java.

learn more… | top users | synonyms

18
votes
5answers
38k 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 ...
10
votes
3answers
18k 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 ...
5
votes
2answers
4k 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
1answer
4k 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 ...
5
votes
1answer
1k 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 ...
5
votes
4answers
20k 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
1answer
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
2answers
4k 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 ...
4
votes
5answers
8k 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 ...
4
votes
1answer
837 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
1answer
1k 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 ...
3
votes
4answers
6k 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. ...
3
votes
3answers
369 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
1answer
442 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 ...
3
votes
2answers
4k 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
1answer
89 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
1answer
52 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 ...
3
votes
1answer
4k 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 ...
3
votes
1answer
189 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
1answer
1k 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
1answer
396 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
1answer
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
2answers
77 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: ...
2
votes
2answers
7k 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 ...
2
votes
1answer
3k 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 ...
2
votes
1answer
4k 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 http://stackoverflow.com/a/2150888/443779
2
votes
2answers
4k 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
4answers
2k 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
3answers
7k 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
2answers
922 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 (http://tools.ietf.org/html/rfc1730#section-6.4.4), and is fast. I have had a look around at ways ...
2
votes
1answer
699 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
3answers
3k 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/
2
votes
2answers
84 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
1answer
247 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
1answer
1k 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
2answers
3k 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- ...
2
votes
1answer
1k 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 ...
2
votes
1answer
279 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
1answer
365 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 ...
2
votes
1answer
279 views

Magento/Solr - where to run the Solr daemon on a 2 server system?

I got almost no experience with Solr, so please bear with me, if the answer is obvious: In a Magento Enterprise 1.11 shop system (about 30k products), where one machine mainly serves the web requests ...
2
votes
3answers
2k views

Apache Solr would not start

Apache Solr would not start. Keeps throwing the following error java -jar example/start.jar java.lang.ClassNotFoundException: org.mortbay.xml.XmlConfiguration at ...
2
votes
1answer
816 views

What are the negatives of setting a high wait_timeout setting in MySQL?

I'm looking at the possibility of increasing the wait_timeout on a MySQL server in an effort to avoid a streaming JDBC SELECT in a Solr Data Import Handler from timing out after the default 28800 ...
2
votes
2answers
745 views

Solr4 installation with Jetty

I am trying to install Solr4 latest and want to run it with Jetty (servlet container). JAVA_HOME=/usr/lib/jvm/jre JAVA_OPTIONS="-Dsolr.solr.home=/opt/solr $JAVA_OPTIONS" JETTY_HOME=/opt/solr ...
2
votes
0answers
15 views

Memory usage in docker container - 600MB for OS only? [duplicate]

I am running docker swarm across two Debian 8 nodes, each with 1GB ram. I wanted to see how much memory was available to my application process (which will be a Solr server) so I did: docker-compose ...
2
votes
0answers
110 views

How to restrict access to the SolrCloud 5.3.x Admin UI?

I just installed SolrCloud 5.3.x and found that the way to secure the Admin UI has changed. Apparently there is a new plugin which does role based authentication and all info on how to secure the ...
2
votes
0answers
149 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
1answer
1k 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: ...
2
votes
0answers
143 views

Solr on a two node Jboss cluster

Are there any issues with deploying Solr on two node jboss cluster with the index shared on a NFS mount point? We would like to do this for high-availability across data centers.
2
votes
1answer
480 views

Issue with solr memory usage

I'm having memory problems with a Solr slave instance. The problem is that every time the slave replicates new changes from the master, the slave starts a new searcher, and apparently the old one ...
2
votes
1answer
78 views

Solr returning JDBC password

When I visit a Solr URL such as: http://solrserver:8180/solr/project/data-import The response includes the JDBC URL/username/password that was passed into DataImportHandler as part of the initargs ...