Questions tagged [solr]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
50 views

Solr Service Running But Curl Request Connection refused

I have installed Solr 8.5.2 on Ubuntu 20.04 & have created some blank cores for testing. I was able to access Admin UI at http://139.59.75.45:8983/solr/ But after I tried to upload a document from ...
1
vote
0answers
182 views

Zookeeper ensemble leader reporting incorrect number of followers

I have a zookeeper ensemble running in Kubernetes consisting of 3 instances. The ensemble operates mostly correctly and successfully services the Solr cluster it is backing. One thing does seem ...
0
votes
0answers
27 views

ModSecurity rules for Apache SOLR injection protection?

Is there anything similar to the SQL injection rules (from Trustwave SpiderLabs), but to harden a Apache SOLR already placed behind an Apache (with mod_proxy and mod_security2). I couldn't find ...
0
votes
1answer
361 views

How to change the default password in Solr?

I have a Solr server with Ubuntu 20.04 I followed the doumentation, but I cannot change the default password. How can I do this ? ubuntu@www-example-com ~ $ $ curl --user solr:SolrRocks http://...
0
votes
0answers
31 views

Solr Docker Hosting Best Practice - How to - Need suggestion

I need to host Solr server with many cores for few clients. Currently I am hosting it externally, on third party hosting provider. So i don't have to manage this. However, I am now planning to host it ...
0
votes
0answers
20 views

Secure Solr to access only from whitelisted IP

With Solr 8.5.2, i want to limit access to certain static IP only. This is hosted using Docker image. Can you advise how to secure Solr in such way that it can be accessed only from whitelisted IP.
2
votes
1answer
3k 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 ...
0
votes
1answer
458 views

Why is the max heap much smaller than the value I set in Xmx (with -XX:+UseParallelGC -XX:+UseParallelOldGC)

I am running a SolrCloud on k8s with the following setting: Heap params: -server -Xms280m -Xmx312m Other params: -XX:+UseParallelGC -XX:+UseParallelOldGC -XX:+UseAdaptiveSizePolicy -XX:...
-1
votes
1answer
70 views

Server - should I add memory? [duplicate]

We have a few servers on Google Cloud Platform. I enabled Google stackdriver and it looks like our Solr servers are consistently at 70%+ memory utilization. We can increase the memory if it is likely ...
1
vote
0answers
81 views

Best Way to Achieve Solr Resilience for Drupal With Two Solr Nodes Available?

I'm trying to figure out the best way to deploy solr (6.6.6) on two nodes in conjunction with Drupal 7 to provide some kind of resilience. The first problem is that Drupal only supports the concept ...
0
votes
1answer
767 views

ubuntu server tar -xvf failed for solr.tar.gz

I am trying to extract solr server downloaded from https://www.apache.org/dyn/closer.lua/lucene/solr/7.7.2/solr-7.7.2.tgz But am getting an error on ubuntu server. gzip: stdin: not in gzip format I ...
0
votes
1answer
43 views

Change WebApp ROOT application in tomcat 8 (No WAR file)

I am trying to change the ROOT application for another one that I installed using Maven but I do not achieve it, the application also uses apache solr. Is there any way to place both at root level? ...
1
vote
2answers
1k 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 ...
1
vote
1answer
210 views

Migration from Standalone Solar to SolrCloud in AWS

Our Developers is working in Local Standalone Solr Server and we have many cores in Local Solr. Now we are planning to migrate it to SolrCloud in AWS Infrastructure for replication purpose with ...
1
vote
0answers
231 views

Solr Spark indexing failure due to an error accessing the collection

I am using Solr with Spark in Java to index documents. (Ubuntu 16.0.4) I have set Zookeeper running on port 2181 and my collection test has two shards When I launch my code I have a java.lang....
0
votes
1answer
659 views

In solr query hyphen is replaced with question mark

I have two different collections- test1 and test3 in SolrCloud. When I search for "BUG-123" in test1 I see following parsed query in debug section. "debug": { "rawquerystring": "\"BUG-123\"", ...
0
votes
1answer
58 views

Where is solr.xml on datastax 5 (dse)?

I have dse 5.0 setup with solr and I can't find solr.xml file in solr/home or solr web home. Where it stores solr.xml on dse ?
2
votes
0answers
614 views

Installing Solr 6.5.0 on Ubuntu 16.04; can't access admin UI

I am trying to install Solr on an Ubuntu server. I followed this guide: https://www.howtoforge.com/tutorial/how-to-install-and-configure-solr-on-ubuntu-1604/ Everything appeared to work, except I ...
2
votes
1answer
816 views

Restore Solr core on server restart?

When our Solr 5.5.4 server restarts, it loses any cores it was running with previously. When I try to re-create/re-add them using the original paths (via the web interface) I am told the core already ...
0
votes
1answer
193 views

Search service installation on existing ColdFusion 11

We have ColdFusion 11 installed and working on production Windows Server 2012 R2 server. Search Services and Solr were not initially installed. What would be the steps to add them now? Is there a ...
0
votes
1answer
6k views

Importing Solr Cores from one old Solr to another

I have old version of Solr on one server. i have 4 Cores in it. I have installed new fresh solr on new server. I have physically moved the old core directories as well, to new server Cores directory, ...
2
votes
2answers
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
1answer
182 views

Debian Solr Version

Looking into installing Solr on Debian, I've noticed the Debian packages are all for Solr 3.6.2, which is positively ancient, considering the latest stable version of Solr is 6.3.0. Is there any ...
0
votes
1answer
644 views

Unknown Job Issue: Ubuntu Upstart Conf though syntax is ok

I am trying to run Apache Solr 4.10.4 as service in Ubuntu 14.04. I have written the following upstart conf file : sudo vim /etc/init/my-solr-job.conf # my-solr - Search Backend Engine description ...
0
votes
1answer
428 views

Dovecot Solr schema location on Ubuntu 16.04?

Short: where do I put the Dovecot solr-schema.xml on Ubuntu 16.04? Long: I'm currently setting up Dovecot, Postfix and a few other plugins to interact with each other. For FTS (Fast text search) ...
0
votes
1answer
632 views

Jetty service fail on start in ubuntu 14

I install the solr-jetty package in a Ubuntu 14 container running in a cloud9 workspace. To install the package I run the following command: sudo apt-get install solr-jetty The installation doesn't ...
2
votes
0answers
276 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 ...
0
votes
1answer
234 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 ...
5
votes
2answers
1k 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
6k 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 ...
2
votes
0answers
17 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 ...
0
votes
1answer
2k 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 ...
3
votes
1answer
3k 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
497 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
166 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 ...
2
votes
0answers
247 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
1answer
471 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
0answers
650 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 ...
4
votes
1answer
349 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
1k 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
3k 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 ...
1
vote
0answers
316 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
482 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 ...
2
votes
1answer
6k 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: ...
1
vote
2answers
740 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
1k 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
vote
1answer
233 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 ...
1
vote
0answers
464 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
votes
2answers
437 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 { '...
3
votes
1answer
4k 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 ...