Questions tagged [solr4]

Solr4 is the first release of Solr to use Java 1.6 and to include the SolrCloud functionality in it.

Solr4 is the first release of to use Java 1.6 and to include the SolrCloud functionality in it.

For more version specific information see Major Changes from Solr 3 to Solr 4

887 questions
5
votes
2 answers

Shared schema and configuration across multiple Solr 4.6 cores

I have a number of sites which I am indexing using Solr 4.6.0 and I wish to maintain separate cores for each. Each of the cores will share the same schema.xml and same solrconfig.xml. Ideally, I would be able to create new cores through the admin…
diffa
  • 2,986
  • 1
  • 22
  • 35
5
votes
1 answer

SolrCloud and updates that require index rebuild and/or modify code

SolrCloud, thanks to ZooKeeper integration, has some nice utilities for managing and reloading core/collection configuration. However, this only fully covers the case of trivial updates - but there are also nontrivial updates. Nontrivial in this…
mikołak
  • 9,605
  • 1
  • 48
  • 70
5
votes
0 answers

rails4 solr sunspot multiple core, separated indexes how can I make it work?

$ rails -v Rails 4.0.0 $ cat Gemfile.lock | grep solr rsolr (~> 1.0.7) sunspot_solr (2.0.0) rsolr (1.0.9) sunspot_solr (>= 1.2) sunspot_solr! $ cat Gemfile.lock | grep sunspot remote:…
kukrt
  • 2,117
  • 3
  • 21
  • 32
5
votes
4 answers

Multiple queries in Solr

My problem is I have n fields (say around 10) in Solr that are searchable, they all are indexed and stored. I would like to run a query first on my whole index of say 5000 docs which will hit around an average of 500 docs. Next I would like to query…
user2575429
  • 111
  • 2
  • 3
  • 8
5
votes
2 answers

How to update Solr documents on the Solr server side with custom handler / plugin

I have a core with millions of records. I want to add a custom handler which scan the existing documents and update one of the field based on a condition (age>12 for example). I prefer doing it on the Solr server side for avoiding sending millions…
Avner Levy
  • 6,601
  • 9
  • 53
  • 92
5
votes
2 answers

Solr4 currently only looks at the default "df" field, how can we search multiple fields?

In Solr 4, I see that we've configured the default field "df" in the /select request handler: