Questions tagged [solr]

Apache Solr is an open source search server based on the Lucene Java search library.

Apache Solr is an open source search server based on the search library.

Its major features include powerful full-text search, hit highlighting, faceted search, dynamic clustering, database integration, and rich document (e.g. , ) handling. Solr is highly scalable, providing distributed search and index replication, and it powers the search and navigation features of many of the world's largest internet sites.

Solr uses the Lucene Java search library at its core for full-text indexing and search and has REST-like HTTP/XML and APIs that make it easy to use from virtually any programming language. Solr's powerful external configuration allows it to be tailored to almost any type of application without Java coding, and it has an extensive plugin architecture when more advanced customization is required.

Solr can be accessed via HTTP or via numerous client libraries, such as

References:

See also

20557 questions
4
votes
1 answer

POST new schema to SOLR

Is there any way of POSTing a new schema to Solr (eg. is there a handler for managing schema updates) instead of manually placing the new schema.xml in Solr home directory?
bottlenecked
  • 2,079
  • 2
  • 21
  • 32
4
votes
1 answer

ruby 2.1 rails 4 sunspot solr tests fail in suite but pass individually

My team has been stumped on this issue for some time now and are at a loss as to where to try next. The spec below works correctly when run individually, however, when we run this in our suite via bundle exec ./bin/rspec spec these two tests fail…
Chris Hough
  • 3,389
  • 3
  • 41
  • 80
4
votes
4 answers

Matching all values in a query for a multiValued field in SOLR

I have a string multiValued field in SOLR named languages and I want a query to return only exact matches where all of the languages from the query are in the multiValued field. For example, lets say I have three documents: "languages": [ …
user4372823
  • 43
  • 1
  • 3
4
votes
3 answers

Exclude draft articles from Solr index with Sunspot

I have an indexed model called Article and I don't want solr to index unpublished articles. class Article < ActiveRecord::Base searchable do text :title text :body end end How can I specify that article that is not #published? should…
Bogdan Gusiev
  • 8,027
  • 16
  • 61
  • 81
4
votes
7 answers

solr or sphinx? which is better?

Possible Duplicate: Choosing a stand-alone full-text search server: Sphinx or SOLR? I will use it to do full text search in my ruby on rails app. which is the best choice. solr use java to do this job. or sphix in ruby?
www
  • 4,065
  • 7
  • 30
  • 27
4
votes
8 answers

Solr Setup - Error: Could not find or load main class org.apache.solr.cloud.ZkCLI

I am following the tutorial to set-up Solr (http://lucene.apache.org/solr/quickstart.html) using Windows 7, Java version 1.8 and Solr version 4.10.2. Java is installed at C:\root\java and Solr is installed at c:\root\solr-4.10.2. I have added 2…
ADH
  • 2,971
  • 6
  • 34
  • 53
4
votes
0 answers

How to update a particular model in Django Haystack(Solr)

I have 2 models that I want to store and index in Solr. Foo and Moo. Now for this I have created 2 cores Foo and Moo in Solr. In settings file I have created 2 indexes for this. HAYSTACK_CONNECTIONS = { 'default': { 'ENGINE':…
Akash Deshpande
  • 2,583
  • 10
  • 41
  • 82
4
votes
3 answers

Error installing PyLucene JCC on OSX

I am having trouble installing PyLucene JCC on Mac OSX. I dowloaded the latest version of JCC from apache lucene site and fallowed the instruction to install it using the command python setup.py build But I am getting the following error while…
harshs08
  • 700
  • 10
  • 29
4
votes
2 answers

Exception writing document id to the index; possible analysis error

I am getting the above error while indexing the documents.
JavaTechnical
  • 8,846
  • 8
  • 61
  • 97
4
votes
0 answers

Solr Suggester only adding first value from multivalued fields to suggest dictionary

I'm using the Solr Suggest component to return suggestions for a field which is stored multivalued. Problem: Only the first entry of this multivalued field for documents is added to the dictionary database.
Alegis
  • 103
  • 5
4
votes
0 answers

SOLR Select parent documents sorted by a field placed on child document

I am needing to get the parent documents sorted by a field placed on the childs documents. Is this possible? I found ToParentBlockJoinSortField but it is experimental based on the SOLR documentation. Thanks, Sebastian
4
votes
2 answers

Solr: how to highlight the whole search phrase only?

A I need to perform a phrase search. On the search results Im getting the exact phrase matches but looking at the highlighted parts I see that the phrase are tokenized i.e This is what I get when I search for the prase "Day 1" :
George Papatheodorou
  • 1,539
  • 19
  • 23
4
votes
3 answers

Hybris Cluster with a SOLR standalone installation

before I describe my Problem, I want to describe my architecture and what I planned. I've installed 6 Hybris Servers on 6 virtual machines called hybris01-hybris06. They all are clustered and can see each other. I followed these…
Fide
  • 109
  • 1
  • 3
  • 8
4
votes
1 answer

Synonyms in Solr (query time vs index time)

What are the advantages of using synonyms at index time vs expanding at query time? In what case would you use both?
everreadyeddy
  • 738
  • 1
  • 8
  • 18
4
votes
1 answer

get error in solr copyField dest :'textnge' is not an explicit field and doesn't match a dynamicField

I have an issue in solr schema file, i got an error in solr, see my schema file
user3748331