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

learn more… | top users | synonyms

9
votes
3answers
11k 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 ...
7
votes
4answers
19k 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 ...
5
votes
1answer
3k 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
2answers
2k 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
2answers
11k 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
636 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
1answer
4k 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
2k 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
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
3answers
321 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
2answers
2k 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
5answers
4k 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 ...
3
votes
1answer
86 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
2k 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
152 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
649 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 ...
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
380 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 ...
2
votes
4answers
5k 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. ...
2
votes
1answer
2k 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
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
6k 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
1answer
468 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
2k 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
78 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
237 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

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
1answer
208 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
264 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
225 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
1answer
663 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
1answer
489 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
3answers
1k 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
0answers
96 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
300 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
74 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 ...
1
vote
2answers
347 views

Solr vs 'this' word

There is a smal problem with solr. When I try to search text containing the word 'this' by issuing 'this' in the search console, solr doesn't find anything. However there are no problems with other ...
1
vote
1answer
482 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 ...
1
vote
1answer
247 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 ...
1
vote
1answer
36 views

Alfresco's SOLR using the wrong drive?

I just did a migration of Alfresco to a new server with a different drive layout. Instead of being on "C", it's now on "E". I changed the alfresco-global.properties references to point to E. ...
1
vote
2answers
180 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 ...
1
vote
2answers
65 views

Why server writes much more than reading the disk

I'm running one Ruby on Rails application, I use Passenger Nginx, Ruby on Rails 3.2, search gem Sunspot (which uses Solr as its search engine). My application works ok with around 6K active users but ...
1
vote
5answers
6k views

How to fix Solr - Server is shutting down issue?

I was having a running Solr 4.1 on Windows Server 2008 R2. The Solr is deployed on Tomcat. However, today it stops suddenly, and while accessing Solr it gives following error. HTTP Status 503 - ...
1
vote
2answers
1k views

Limiting solr (not java) to use a certain amount of memory

I know I can pass parameters to java to limit the amount of memory used, but that doesn't change the application behavior. (assuming I will get an out of memory exception or similar) I would like to ...
1
vote
2answers
517 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 ...
1
vote
3answers
4k views

How to stop Solr service from command line

I used to start Solr with this command: java -jar start.jar and all I had to do to stop it was press Control + C But then I started it this way: java -jar start.jar & Which starts it as a ...
1
vote
1answer
1k views

Severe errors in solr configuration: Error loading class

Installed Solr on my Windows XP PC. Tomcat seems to be working fine. Cannot get Solr to work. I noticed the TrieDateField is declared in a file called schema.xml in the SolrHome directory. Any ...
1
vote
1answer
468 views

Compacting solr indexes

I've got a sizeable Solr server which is chewing a pile of disk. Whilst it is indexing a large amount of data, I'm wondering if there's any operation that will reduce the size of the index, by say ...
1
vote
1answer
54 views

Tomcat SFL4j error

I am getting this error when trying to start a new application using Tomcat: Could not find necessary SLF4j logging jars. If using Jetty, the SLF4j logging jars need to go in the jetty lib/ext ...