Questions tagged [solr]

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

190 questions
2
votes
4 answers

solr php extension fails to run on newest Debian Wheezy

I'm trying to use the Solr PHP extension on the recently-upgraded Debian Wheezy. It installs both from PECL and from sources flawlessly but instead of giving me expected functionality it gives me this on every PHP run: PHP Warning: PHP Startup:…
hijarian
  • 741
  • 1
  • 8
  • 13
2
votes
1 answer

Tomcat Solr times out

(Plesk 10.4 centos 5.8 linux apache2 server, with Tomcat5 on port 8080 and Apache Solr) I get "The connection has timed out" on requesting domain.com:8080 or www.domain.com:8080 or ip.ad.dr.ess:8080 Every reason I can find why this might be seems…
2
votes
1 answer

Solr returning JDBC password

When I visit a Solr URL such as: http://solrserver:8180/solr/project/data-import The response includes the JDBC URL/username/password that was passed into DataImportHandler as part of the initargs section. Are there any configuration options to…
Rich
  • 1,333
  • 5
  • 27
  • 39
2
votes
3 answers

org.apache.solr.common.SolrException: Error loading class 'solr.VelocityResponseWriter'

I have setup an Apache Tomcat 6 server and installed Apache Solr 3.5.0 as per instructions found here http://pabloseminario.com/2011/02/22/installing-solr-on-debian-6-0/. Now, opening the solr application in a browser yields the following…
Thomas Daugaard
  • 123
  • 1
  • 4
2
votes
1 answer

Magento/Solr - where to run the Solr daemon on a 2 server system?

I got almost no experience with Solr, so please bear with me, if the answer is obvious: In a Magento Enterprise 1.11 shop system (about 30k products), where one machine mainly serves the web requests and another machine is dedicated for database…
2
votes
1 answer

Reducing Solr indexing delay

By default the example Solr application included with version 1.4.1 takes two minutes to process documents sent to the index. I've seen other servers configured to take 3+ minutes. Where can you change change this to zero or 15 seconds?
amateur barista
  • 478
  • 3
  • 7
  • 21
2
votes
3 answers

Apache Solr would not start

Apache Solr would not start. Keeps throwing the following error java -jar example/start.jar java.lang.ClassNotFoundException: org.mortbay.xml.XmlConfiguration at java.net.URLClassLoader$1.run(URLClassLoader.java:202) …
bob
  • 63
  • 2
  • 5
2
votes
1 answer

Can I run a site search like Lucene on a single 2 gig server that's also a web & mysql server

My site's pages have exceeded the limit of pages for Google Custom Search so many of the results are not found in our site search. I've been reading about Lucene, Nutch, Solr, etc and I'm wondering if I'd have the requirements for running those on a…
Ian
  • 251
  • 2
  • 10
1
vote
0 answers

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 of a single solr instance. So even if multiple…
P Burke
  • 163
  • 1
  • 10
1
vote
1 answer

Compacting solr indexes

I've got a sizeable Solr server which is chewing a pile of disk. Whilst it is indexing a large amount of data, I'm wondering if there's any operation that will reduce the size of the index, by say dropping deleted-but-still-allocated data in a…
womble
  • 95,029
  • 29
  • 173
  • 228
1
vote
2 answers

Local Devel Server Slow on 192.168.0.* vs localhost

I want to expose my development site to more computers in the house. What I'm finding is that accessing it via an internal ip like 192.168.0.198 is extremely slow compared to hitting localhost . I'd rather train myself a bit in debugging these…
bundini
  • 263
  • 2
  • 9
1
vote
1 answer

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 numShards:3 and replicationFact:3. We don't need data…
Sreeraju V
  • 381
  • 3
  • 16
1
vote
0 answers

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.NullPointerException. Here is my code (the class for…
Dilak
  • 11
  • 2
1
vote
0 answers

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 device have Zookeeper running on them until I start to…
1
vote
0 answers

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 question is that surely there are a tuning needed…
Ali Mezgani
  • 3,810
  • 2
  • 23
  • 36