Questions tagged [solr]
Solr is an open source enterprise search platform from the Apache Lucene project, written in Java.
198
questions
0
votes
0
answers
21
views
How does Solr autowarming and the various cache mechanics work?
I was reading about the caches and warming and I'm left with a bunch of
questions.
Google landed me here: https://solr.apache.org/guide/7_3/query-settings-in-solrconfig.html
Though the latest version ...
0
votes
1
answer
670
views
How can I increase entropy in a Rhel 9.1 virtual machine running on Azure with the Rhel image hardened by the Centre for Internet Security?
I am having trouble running Solr 9.2 on the above virtual machine (Rhel9.1 on Azure, image from CIS).
The problem is low entropy as seen in the logs below:
Started Apache Solr 9.
Java 17 detected. ...
0
votes
0
answers
53
views
How to troubleshoot missing Solr metrics via Google Ops Agent?
Following these instructions: https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent/third-party/solr
Logs start ingesting fine, metrics never come.
JMX is enabled:
No errors found in /...
0
votes
0
answers
139
views
Why can slaves not replicate from master when Leader (Searching) and Leader (Replicable) do not match?
I've got a Solr 9.1 master and slave. I have set up replication. The instances runs in containers.
When the slave starts up, I request http://localhost:8983/solr/[core]/replication?command=fetchindex ...
1
vote
1
answer
209
views
fts_solr for Dovecot - can't find plugin file?
I'm trying to follow this to get Solr search setup with my Dovecot install:
https://doc.dovecot.org/configuration_manual/fts/solr/#fts-backend-solr
It all seems to work fine - and I can see the core ...
0
votes
0
answers
51
views
Solr Search query is hitting only one node resulting heap issue on that node
We have multiple instance SOLR Cloud running, SOLR performs well but if we have spike in search request then only one node report heap issue and other node are working normal.
if this happens then we ...
0
votes
1
answer
181
views
Debian 11, multiple Solr versions running on different ports, lsof says that Solr9 is accessible only from localhost.localdomain
I have a Debian 9 server that is running Solr 7.3.
I have upgraded to Debian 11, Solr is still fine.
Now I'm trying to install Solr 9 alongside Solr 7.3, to have both versions running in the same time....
2
votes
1
answer
294
views
Android application compatible with IMAP search without using local index?
I use an email account of several dozens of Giga, on computer and Smartphone.
However, most applications use a local index to speed up the search of emails (this is the case of Outlook and Thunderbird ...
0
votes
1
answer
73
views
Can I use Zookeeper 3.7.1 with Solr 7.7.3?
Each version of Solr ships with a version of Zookeeper. Solr's docs say that you should upgrade Zookeeper if you upgrade Solr, but can you upgrade Zookeeper to a later version that is shipped with ...
1
vote
1
answer
264
views
Securing Apache Solr on an Apache TLS / SSL server
I have a SSL-only website hosted on a CentOS 7, Apache httpd based server. SSL certification is via a Let's Encrypt certificate. The domain has a HTTP Strict Transport Security (HSTS) policy.
I am ...
1
vote
0
answers
105
views
How to Fix Apache Solr 8 Suggester 404 Error?
I get an error 404 when I try to call the suggester. I configured it as
described in the Solr docs and restarted Solr 8:
My configurtion in solrconfig.xml:
<str name="name">...
0
votes
1
answer
166
views
List of services affected by the Apache Log4jshell Vulnerability
Does there yet exist a list of software that is potentially affected by the Apache Log4jshell vulnerability (CVE-2021-44228) that was announced last Friday?
As someone managing a number of servers ...
0
votes
1
answer
558
views
Dovecot FTS by Apache Solr: How to secure Solr?
I set up a Solr server on my Debian 10 VPS to do Full Text Search in my email archiv with email clients. I use Dovecot as IMAP server on the same host.
Everythings works fine so far.
But what I don't ...
1
vote
0
answers
597
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
1
answer
2k
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
0
answers
109
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 ...
6
votes
2
answers
14k
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
1
answer
1k
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
1
answer
84
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
0
answers
134
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
1
answer
1k
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
1
answer
107
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?
...
3
votes
2
answers
4k
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
1
answer
378
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
0
answers
294
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
1
answer
905
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
1
answer
115
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
0
answers
873
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
1
answer
2k
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
1
answer
246
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
1
answer
9k
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
2
answers
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
1
answer
201
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
1
answer
801
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
1
answer
452
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
1
answer
781
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
0
answers
319
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
1
answer
268
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
2
answers
2k
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
2
answers
7k
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
0
answers
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
1
answer
3k
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
1
answer
4k
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
0
answers
614
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
0
answers
197
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
0
answers
267
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 ...
3
votes
2
answers
917
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
0
answers
718
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
1
answer
462
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
0
answers
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 ...