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

873 questions
74
votes
5 answers

Solr index vs stored

I am a little confused as to what the behaviour of the index and stored attibutes of the Solr fields is. For example if I have the following in the Schema.xml
user1965449
  • 2,641
  • 5
  • 30
  • 47
37
votes
1 answer

Why would certain Sitecore content not be indexed by Solr?

I have a site built using Sitecore 7.5 and Solr 4.7. I am noticing a very strange phenomenon where certain content items are not getting indexed. Here is what is happening. I have a data template called "Content Page". Most of the content items…
Corey Burnett
  • 7,048
  • 9
  • 52
  • 87
28
votes
3 answers

SOLR autoCommit vs autoSoftCommit

I'm very confused about and . Here is what I understand autoSoftCommit - after a autoSoftCommit, if the the SOLR server goes down, the autoSoftCommit documents will be lost. autoCommit - does a hard commit to the disk and make sure all the…
captain-inquisitive
  • 3,277
  • 6
  • 32
  • 55
19
votes
2 answers

Solr Text field and String field - different search behaviour

I am working on Solr 4+. I have several fields into my solr schema with different solr field types. Does the search on text field and string field differs? Because I am trying to search on string field (which is a copy field of few facet fields)…
Ankita
  • 1,352
  • 4
  • 16
  • 36
19
votes
1 answer

How to write nested schema.xml in solr?

How to write nested schema.xml in solr The document in schema.xml says
user2230605
  • 2,199
  • 4
  • 25
  • 37
18
votes
3 answers

Stronger boosting by date in Solr

Boosting by date field in solr is defined as: {!boost b=recip(ms(NOW,datefield),3.16e-11,1,1)} I looked everywhere (examples: Solr Dismax Config for Boost Scoring and Solr boost for multivalued date field and they all reference the…
Shinhan
  • 2,750
  • 1
  • 16
  • 21
18
votes
4 answers

Reloading SolrCloud configuration (stored on Zookeeper) - schema.xml

I have setup a SolrCloud replication using standalone zookeeper. But now I wish to make some changes to my Schema.xml and reload the core. The problem is that when I run a single server Solr (no solrcloud) the new schema is loaded, but I do not know…
Global Warrior
  • 4,762
  • 9
  • 38
  • 71
17
votes
3 answers

How to fix Solr Exception: Could not find necessary SLF4j logging jars?

I have big problems installing Solr 4.3 under Ubuntu 12.04. Firstly i installed tomcat. I can access tomcat via browser on localhost:8080. Into "Tomcat Web Application Manager" i try to install Solr 4.3 via 2solr.war" file. The file is been uploaded…
Stillmatic1985
  • 1,492
  • 5
  • 18
  • 36
16
votes
3 answers

Solr 4.2 - what is _version_field?

I am getting below error in my solr configuration. Caused by: org.apache.solr.common.SolrException: Unable to use updateLog: _version_field must exist in schema, using indexed="true" stored="true" and multiValued="false" (_version_ does not exist) …
meghana
  • 857
  • 1
  • 19
  • 44
13
votes
2 answers

How to configure Solr for improved indexing speed

I have a client program which generates a 1-50 millions Solr documents and add them to Solr. I'm using ConcurrentUpdateSolrServer for pushing the documents from the client, 1000 documents per request. The documents are relatively small (few small…
Avner Levy
  • 5,779
  • 7
  • 42
  • 81
12
votes
1 answer

Adding tokens to a lucene tokenstream

I wrote a TokenFilter which adds tokens in a stream. 1. Tests shows it works, but I don't completely understand why. If someone could shed a light on the semantics I'd be grateful. In particular, at (*), restoring the state, doesn't that mean we…
Johan Sjöberg
  • 43,692
  • 19
  • 120
  • 139
10
votes
2 answers

changing port number for solr-4.3.1

I have been using solr 3 and now I am plan to switch to solr 4. The port that I want to run solr on is 9090 instead of 8080. AFAIK, to change the port number we configure the solr.xml file. The entry in my solr.xml file looks like the…
dehsams123
  • 241
  • 2
  • 7
  • 18
9
votes
4 answers

Deleting index from Solr using solrj as a client

I am using solrj as client for indexing documents on the solr server. I am having problem while deleting the indexes by 'id' from the solr server. I am using following code to delete the…
azhar_salati
  • 1,474
  • 4
  • 25
  • 51
8
votes
1 answer

Solr query for matching nested/relational data

I'm using apache solr for the matching functionality of my webapp, and I encountered a problem of this scenario: I got three programmer, the skill field are their skills, "weight" means how well that skill he/she has: { name: "John", skill:…
Hetfield Joe
  • 1,401
  • 5
  • 15
  • 25
8
votes
5 answers

How to update multiple documents in Solr with JSON?

How to update multiple documents in Solr 4.5.1 with JSON? I tried this but it does not work: POST /solr/mycore/update/json: { "commit": {}, "add": { "overwrite": true, "doc": [{ "thumbnail": "/images/404.png", "url":…
burnersk
  • 2,748
  • 4
  • 24
  • 49
1
2 3
58 59