Questions tagged [solr]
Solr is an open source enterprise search platform from the Apache Lucene project, written in Java.
188
questions
0
votes
1
answer
136
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
0
answers
104
views
Dovecot slow searching a huge mailbox
We store a bcc of every outsent mail in a mailbox and we store the Message-ID in our DB.
We have a web page that gets the sent mail from imap using the message-id using "SEARCH HEADER Message-ID &...
0
votes
1
answer
191
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
355
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
1k
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
42
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
1
answer
9k
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
766
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
75
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
106
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
913
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
79
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?
...
2
votes
2
answers
3k
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
306
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
269
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
795
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
86
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
704
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
1k
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
204
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
7k
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
196
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
725
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
441
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
697
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
303
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
248
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
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
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
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
0
answers
557
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
174
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
252
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
1
answer
635
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
695
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
380
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 ...
0
votes
0
answers
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
0
answers
328
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
0
answers
500
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
1
answer
8k
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
2
answers
885
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
1
answer
2k
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
1
answer
245
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
0
answers
543
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
2
answers
462
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
1
answer
5k
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 ...