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

CF9's Apache Lucene vs SQL Server's full text search?

ColdFusion 9's full text search is now based on Apache Lucene Solr (or Verity, but it has too much limitations). We also use SQL Server. Which one's better? Which one's easier? UPDATE: going to use for... searching against the name &…
Henry
  • 32,689
  • 19
  • 120
  • 221
4
votes
1 answer

How to get MoreLikeThis result

I'm trying to understand how Solr MorelIkeThis works. Steps I've done - In schema.xml I've written - field name="path_exact" type="string" indexed="true" stored="true" termVectors="true"/> field name="title" type="text_general" indexed="true"…
Pakira
  • 1,951
  • 3
  • 25
  • 54
4
votes
2 answers

Solr 5.0 don't create schema.xml

I'm trying to learn Solr and i'have downloaded the official documentation. First of all, i've generated a new core with the command: solr create -c mycore This command have created mycore under solr/server/solr While continue reading i would like…
Mistre83
  • 2,677
  • 6
  • 40
  • 77
4
votes
1 answer

What's a schema.xml example for using block join (nested fields)?

I'm finding good examples for using JSON in writing to solr with block joins (nested fields basically), but what would the schema.xml look like? For example, I have a document that has many SKUs and I want to have tags on these skus. There are…
Eldorian
  • 603
  • 1
  • 6
  • 18
4
votes
0 answers

Solr test framework Runtime Exception: Resource was found on classpath, but cannot be resolved to a normal file

I've developed a Solr plugin and tested it using Solr's Test Framework. I'm trying to upgrade my plugin from Solr 4.6 to Solr 4.10 by replacing the old Solr 4.6 jars with the newer 4.10 jars that my plugin depends upon. The upgrade caused my tests…
snakile
  • 52,936
  • 62
  • 169
  • 241
4
votes
1 answer

Why am I getting "unable to write data to the transport connection" errors when re-indexing my Solr search index for Sitecore 7?

When I try to re-index my Sitecore 7 site using Solr. I get the following errors in the Solr log. 10232 09:10:03 WARN Crawler : AddRecursive DoItemAdd failed - {550B5CEF-242C-463F-8ED5-983922A39863} Exception: System.IO.IOException Message:…
Corey Burnett
  • 7,312
  • 10
  • 56
  • 93
4
votes
5 answers

Solr Error Document is missing mandatory uniqueKey field id

While Importing the data into Solr using DataImportHandler, I am getting the below error. Please someone provide your suggestion. org.apache.solr.common.SolrException: Document is missing mandatory uniqueKey field: id at…
Mukesh G
  • 41
  • 1
  • 1
  • 2
4
votes
3 answers

Return solr response in json format

I am trying to return solr response in JSON format. However I am not able to get the JSON response. Below is my solr config:'
user1247412
  • 647
  • 7
  • 16
  • 29
4
votes
1 answer

Solr schema, how to get dynamic fields in a collection

I'm running Solr 4.10.3. setting dynamic fields of the type *_f I would like to list all the added dynamic fields, but am not having luck using /schema/dynamicfields, or /schema/fields routes. I see that the schema-browser in the web-app dashboard…
Rob Foree
  • 375
  • 3
  • 15
4
votes
1 answer

cursorMark is stateless and how it solves deep paging

as specified here cursormark is stateless but I don't get how it it is solving deep paging issue if its stateless. Does solr stores the indexed data in sort by unique key field if so then it will clarify my confusion. if I am wrong please explain…
ck reddy
  • 494
  • 7
  • 17
4
votes
2 answers

Adding Zookeeper to existing Solr

I have an existing Solr setup, running on a standalone Solr instance. I have been asked to add resilience and high availability to this setup. So I would like to add replication to my setup, for which I believe SolrCloud is the way to go? I have…
4
votes
1 answer

Solrcloud replicas goes in recovery mode right after update

We have a cluster of solr cloud server with 10 shards and 4 replicas in each shard in our stress environment. In our prod environment we will have 10 shards and 15 replicas in each shard. Our current commit settings are as follows …
4
votes
2 answers

Alternatives to search software/servers to retrieving IDs for all matching documents

I am trying to figure out how to filter a very large set of documents based on keyword matching. I have 20+million entries with ID and (several) text fields in my SQL database and I want to get all IDs for which the text matches a set of keywords.…
dennis
  • 683
  • 2
  • 5
  • 18
4
votes
1 answer

Rails Sunspot Solr any_of with scalar field and fulltext search

I am using rails 4.0 with sunspot solr. I wish to do a this: (read_flag IS TRUE) OR ( (read_flag IS NIL) AND (fulltext params[:search] is true)) This is my code in (post.rb): @search = Post.search do any_of with…
jaxxie
  • 141
  • 8
4
votes
2 answers

PECL install solr error `php_bin d:\xampp\php\php.exe appears to have a suffix \php.exe ...`

Was trying to install solr extension from pecl using pecl install solr but getting this error php_bin d:\xampp\php\php.exe appears to have a suffix \php.exe, but config variable php_suffix does not match
Kuldeep Dangi
  • 4,126
  • 5
  • 33
  • 56