Solr is an open source enterprise search platform from the Apache Lucene project, written in Java.
Questions tagged [solr]
190 questions
38
votes
7 answers
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 queried the process listening on the port via "lsof…
Dark Star1
- 1,355
- 6
- 21
- 37
18
votes
2 answers
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/error.log;
error_log logs/error.log notice;
error_log…
nick_v1
- 365
- 2
- 3
- 11
16
votes
4 answers
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 returning any data because the server doesn't respond…
Michael Moussa
- 309
- 1
- 4
- 10
8
votes
1 answer
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 would want a delay in the first place? What…
David Seddon
- 81
- 2
8
votes
3 answers
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 confirmed that the root user's limit was increased…
andersonbd1
- 115
- 1
- 1
- 7
6
votes
4 answers
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 start.jar file but I'am not sure how it was…
Orlando
- 171
- 1
- 1
- 3
6
votes
1 answer
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 is currently 1024.
It should be set to 65000 to…
alexus
- 12,342
- 27
- 115
- 173
5
votes
2 answers
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:
/solr/admin/stats.jsp…
jsims281
- 165
- 1
- 1
- 11
5
votes
2 answers
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 (under the same tomcat).
JVM params in…
serg
- 245
- 1
- 3
- 7
5
votes
1 answer
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 Status 404 - missing core name in path
type Status…
KM.
- 1,746
- 2
- 18
- 31
5
votes
5 answers
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/solr/admin/
it shows like this
HTTP ERROR: 404…
Rahul Mehta
- 919
- 3
- 11
- 13
5
votes
1 answer
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 it seems to be enable when I look at my phpinfo page.
jnbdz
- 897
- 5
- 22
- 43
4
votes
1 answer
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 consistent anymore.
shard1 | sizeInBytes |…
stoer
- 43
- 3
4
votes
1 answer
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=SolrCore 'collection1' is not available due to init…
Andy
- 344
- 1
- 8
4
votes
2 answers
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.d/
# Proxy specific settings
ProxyRequests…
Steven
- 41
- 1
- 2