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
2 answers

SolrNet query not working for Scandinavian characters

When making a query through SolrNet that contains Scandinavian characters like ø, æ, å the query returns no results while queries containing regular words work fine. The query has been added to the FilterQueries collection using the SolrQueryByField…
Pankaj Kumar
  • 1,748
  • 6
  • 28
  • 41
4
votes
1 answer

How to replace a group of documents without "downtime" in Solr?

i have a solr standalone server (not solr cloud), holding documents from a few different sources. Routinely i need to update the documents for a source, typically i do this by deleting all documents from that source/group, and indexing the new…
tiagosilva
  • 1,695
  • 17
  • 31
4
votes
1 answer

Can we crawl and index Google Drive documents using nutch and solr?

I have tried indexing public url of a google drive document, but it seems that it does not work . Is there any way to crawl google drive documents via nutch and make their index using solr?
4
votes
0 answers

Query on multivalued fields size

I need a help. I need a query that the results are based on a multivalued field size. For example: I want all documents with 5 skus. I have a multivalued field named skulist. Can i search for multivalued fields size? Thanks.
paulo freitas
  • 51
  • 1
  • 3
4
votes
1 answer

Solr date variable resolver is not working with MySql

I have used Solr 3.3 version as Data Import Handler(DIH) with Oracle. Its working fine for me. Now I am trying the same with Mysql. With the change in database, I have changed the query used in data-config.xml for MySql. The query has variables…
Abhijit Bashetti
  • 8,518
  • 7
  • 35
  • 47
4
votes
0 answers

SolrCloud - core swap and Zookeeper distribution in Sitecore solution

Recently I came across a very stange behaviour of Zookeeper looking after Solr setup. In details: Sitecore allows for SOLR core switch on full index rebuild. This feature is very handy, when one decides for rebuiding index data from scratch.…
Drakkonite
  • 507
  • 3
  • 9
4
votes
1 answer

Unable to retrieve computed distance in Spatial Solr queries

I'm using this plugin to allow spatial queries in Solr. I have followed the steps included in the documentation and I've got the spatial queries working fine. Now I want to retrieve the computed distance. I added these lines in the solrconfig.xml…
gimenete
  • 2,649
  • 1
  • 20
  • 16
4
votes
3 answers

Sunspot::Solr::Server::JavaMissing: You need a Java Runtime Environment to run the Solr server

Trying to start Solr with sunspot but having an issue with the Java Runtime Environment by getting this error. root@oktobTest:~# dokku run oktob bundle exec rake sunspot:solr:start rake aborted! Sunspot::Solr::Server::JavaMissing: You need a Java…
Ahmad Ajmi
  • 7,007
  • 3
  • 32
  • 52
4
votes
2 answers

How to deploy the same webapp with different logging? (Tomcat, Solr)

We are using multiple solr instances on tomcat but want that they log into different log files. How could we do this? We are using the follwing xml file under tomcat/conf/Catalina/localhost to make it working:
Karussell
  • 17,085
  • 16
  • 97
  • 197
4
votes
3 answers

Solr luceneMatchVersion syntax

I have Solr 4.10 and I have collection on it with solorconfig.xml has the value for as follows: 4.7 Is this correct? I saw other examples that has values such as LUCENE_35 What I need to…
SaidbakR
  • 13,303
  • 20
  • 101
  • 195
4
votes
0 answers

How to dynamically set Solr shards on Spring Data Solr query

How can I pass shard information on a spring-data-solr query? Using the SolrJ interface I can set: SolrQuery query = new SolrQuery(); query.add("shards", StringUtils.join(shardList, ",")); ... I would like to do the same with spring-data-solr but…
4
votes
2 answers

How to get the cluster state of Solr Cloud using the solrZkClient and zkStateReader?

I've downloaded and installed Solr (SolrCloud) v. 4.10.3 on my local system, and can run it without any problems, index documents, interact with its web UI. I can also use the following command line to interact with its ZooKeeper: zkcli.sh -z…
Emre Sevinç
  • 8,211
  • 14
  • 64
  • 105
4
votes
1 answer

Is Solr SuggestComponent able to return shingles instead of whole field values?

I use solr 5.0.0 and want to create an autocomplete functionality generating suggestions from the word-grams (or shingles) of my documents. The problem is that in return of a suggest-query I only get complete "terms" of the search field which can be…
Stefan
  • 55
  • 5
4
votes
1 answer

Solr: Synonyms using the Managed Resources REST API

How do I change an initArgs value for Synonyms using the Managed Resources REST API? In particular, I need to change the following: "initArgs":{"ignoreCase":false} ... to…
GregE
  • 41
  • 4
4
votes
1 answer

Lucene: Java versions migration without re-indexing

I recently encountered a problem and would love to hear any thoughts on this subject. Precondition: Lucene Implementation Version: 2.9.1 Solr: 1.4 Java 6 Large and heavy index in store :) Main idea: Change JDK version from 1.6 to 1.8. So, does…