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

learn more… | top users | synonyms

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
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: {msg=...
0
votes
0answers
31 views

Solr 4.10 (Tomcat 6) on CentOS 6.7 throws 404 errors

I installed Tomcat 6 enabled port 8181 on a VPS and I am able to see the welcome page when I visit mydomain:8181. I then installed Solr using the tutorial here. When I visit mydomain:8181/solr i get a ...
0
votes
0answers
4 views

solr deletedDoc - why are few document deleted with only updates

I have a solr setup and uniqueKey generated by <updateRequestProcessorChain name="dedupe"> <processor class="org.apache.solr.update.processor.SignatureUpdateProcessorFactory"> ...
0
votes
0answers
146 views

How to create cores on Solr Cloud with basic authentification?

I am running Solr Cloud 5.3.x which is secured by basic authentification. After successfully uploading the config files to zookeeper, I wanted to create the cores. Unfortunatelly this failes. solr ...
0
votes
0answers
11 views

Restoring Solr Cloud 4.7 index

I have a test environment which is created every morning and then destroyed every night. Part of the environment is a SolrCloud (version 4.7) instance connected to a remote Zookeeper cluster. The ...
3
votes
1answer
449 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 ...
0
votes
1answer
29 views

Create a Normal Non-Managed Schema in Solr

I have been scouring the internet trying to figure out how to create a Solr collection that does not use the managed schema. I want to be able to create what I am going to call a normal collection ...
1
vote
1answer
1k 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 ...
0
votes
0answers
10 views

How do I supply username and password to dovecot's fts_solr plugin?

I setup solr-tomcat with password protection (on Ubuntu 16_04) and now would like to connect fts_solr from my dovecot IMAP server. However, I cannot find a way to supply username and password in the ...
3
votes
2answers
98 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
4answers
21k 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 ...
0
votes
0answers
81 views

Solr: Every time I do a bulk import the core admin stops working

Java 1.8.0, Solr 5.5.0. Heap size and other parameters are default. As simple as that. I have a stable core, I run a bulk import, and the core admin becomes completely unresponsive. Here's a dump ...
3
votes
1answer
57 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 ...
0
votes
0answers
405 views

Solrcloud: Error 500 after restart

I have 3 vm windows, on all of them is installed solr 5.4.0 and 3.4.6 zookeeper; the two services start automatically when the vm start. After reboot vms the solr does not respond correctly, it gives ...
0
votes
0answers
22 views

Solrcloud scheduled dataimport

I have 3 Windows VM with solrcloud and zookerper in each VM. More precisely, one collection one shard and three solr instance balanced between them. I have one script in one of them vm that every ten ...
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
2answers
8k 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/...
0
votes
1answer
207 views

Zookeeper will not join the cluster. How to apply patch/upgrade?

I am running a 3 node zookeeper ensemble on ubuntu 14.04. After noticing that node1 was not running, I had to remove the snapshots of this node and now the server did start, but refuses to join the ...
1
vote
0answers
149 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/...
1
vote
0answers
74 views

Unable to create index on solr, when using Zookeeper

Evening, I've created a what I believe to be a simple SOLR cluster, with Zookeeper (external binaries instead of the embeded). For simplicity, this cluster is: Master: SOLR1 Slave: SOLR2 Both ...
1
vote
0answers
47 views

How to calculate amount of memory needed for Solr

I run solr application on a VM with 41G of memory and I saw that the solr consumme a big amount of memory. I appended 16G to the VM in spite of that solr consumme all memory available in 30min. My ...
1
vote
1answer
873 views

How do I add a Solr core without restarting the Solr server?

Question How do I add a Solr core without restarting the Solr server? Is it possible at all? My current way of adding Solr cores (with server restart) According to this FAQ I do the following: ...
0
votes
1answer
111 views

ASP.NET/IIS <---> Solr/Tomcat setup on EC2 - “best practice” configuration

I am an ec2 newbie and deploying an asp.net application that interfaces with Apache solr (on Tomcat). In my dev environment I am running ASP.NET and Solr/Tomcat on my windows box. I am also ...
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 /etc/apache2/config....
0
votes
0answers
92 views

Is it possible to set up Solr 5.x on Openshift?

The Solr 4.x series was able to be set up on Openshift even if it wasn't necessarily that straight forward as it was deployable to an application container such as Tomcat. However, beginning with Solr ...
2
votes
0answers
116 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 ...
1
vote
0answers
39 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 ...
2
votes
0answers
160 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 ...
0
votes
0answers
467 views

Can't create cores on solr 5.2.x due to access rights

I have installed solr 5.2.1 on Ubuntu 14.04 LTS with Java 8.0_51 Somehow the system does not let me create cores. Not through the webmin interface and not through CLI. It seems to be an access right ...
0
votes
0answers
808 views

Installing Solr on Debian 8.1

I managed to get Solr installed on my last server, but I can't seem to figure it out this time. I've followed the details here (not directly for Debian 8.1, but the same instructions worked on my ...
0
votes
0answers
91 views

Using external IP with DataStax Enterprise

We are in a situation where we need Cassandra nodes to be accessible from an external IP, but there is no interface with that IP; traffic to that IP is NATted to the node. Per DataStax's documentation,...
1
vote
0answers
135 views

ManifoldCF keeps running out of memory

I am using ManifoldCF to help index documents to Solr. Solr is configured in Cloud-Mode, with one node/core and an external ZooKeeper (on the same machine as the one running Solr). ManifoldCF reads ...
19
votes
5answers
39k 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 ...
1
vote
2answers
144 views

How to separate solr/home and data/dir in Catalina/localhost XML file?

I've the following configuration file within conf/Catalina/localhost in Tomcat 7: <Context docBase="webapps/solr.war" debug="0" crossContext="true" > <Environment name="solr/home" type="...
0
votes
1answer
313 views

How to override default `solr.home` in XML files under `Catalina/localhost`?

I'm trying to configure two instances of Solr on the same host and I'd like to override solr.home for each instance. I've created two files under Catalina/localhost/ as suggested in Solr Tomcat wiki: ...
-1
votes
2answers
216 views

How to install Solr 4.x on Tomcat via Puppet?

So far I've been using the following recipe for installing Solr 3.x on Tomcat 6: package { 'openjdk-6-jdk' : ensure => installed, } package { 'solr-tomcat' : ensure => installed, } exec { '...
0
votes
1answer
52 views

SolrCloud 4.8.0 - Snapshot directories take a lot of space

Looking at solrhome/data directory in my solrcloud cluster I have found a lot of old snapshot directories like these: snapshot.20150506003702765 snapshot.20150506003702760 snapshot.20150507002849492 ...
2
votes
2answers
768 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 ...
1
vote
0answers
85 views

What could cause duplicates of a unique field when paging the results of a solr query?

I'm moving a solr 1.3 installation from an outdated server to a new server. Unfortunately the client can't upgrade because they can't reindex. The new installation is working well, except that with ...
1
vote
1answer
234 views

Solr Core Auto Discovery

I'm working on a new Solr install of 4.10.2. Someone else set up a working version, but he has no idea how he did it. I need to be sure I know how to reproduce it so I'm faced with a state where I ...
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 ...
1
vote
2answers
762 views

How to fix Tomcat missing SLF4j logging jars?

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 ...
1
vote
0answers
29 views

Solr 503 when using boost function

I have three environments which are set up to use Solr: local, staging and production. The local configuration differs slightly to the staging/production however the other two are identical. I ...
-2
votes
1answer
186 views

Apache Solr in openshift redhat application [closed]

I have a drupal application on openshift redhat server and I would like to install apache solr for my search_api_solr module. Any ideas how to do this ?
0
votes
1answer
828 views

SOLR Error 500: default search field 'name' not defined or not indexed

While I was trying to upgrade from Solr 3.5 to 4.6, I encountered this error. {msg=SolrCore 'core0' is not available due to init failure: default search field 'name' not defined or not indexed. ...
0
votes
2answers
244 views

Add a web based document search to my debian fileserver

I have a Samba-based fileserver with lots of gigs of data on it, mostly Word, Excel, OpenOffice and PDF documents. I've set up a simple web based search interface (Apache, PHP, mlocate) that just ...
2
votes
2answers
933 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 ...
0
votes
3answers
2k views

gracefully stopping Apache Solr from command line

I using using jetty to run Solr using the following cmd line: java -jar start.jar & how can I stop this instance of solr gracefully?
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 ...