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
22
votes
5 answers

Using ElasticSearch and/or Solr as a datastore for MS Office and PDF documents

I'm currently designing a full text search system where users perform text queries against MS Office and PDF documents, and the result will return a list of documents that best match the query. The user will then be to select any document returned…
ngekas
  • 325
  • 1
  • 2
  • 6
22
votes
3 answers

When to definitely use SOLR over Lucene in a Sitecore 7 build?

My client does not have the budget to setup and maintain a SOLR server to use in their production environment. If I understand the Sitecore 7 Content Search API correctly, it is not a big deal to configure things to use Lucene instead. For the…
Patrick Jones
  • 1,896
  • 14
  • 26
22
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,390
  • 6
  • 27
  • 45
22
votes
3 answers

Create new cores in SOLR via HTTP?

Is it possible to create new cores in SOLR via HTTP? I can't seem to find a definitive answer to what seems like a very simple question... Each core I want to create will have the same schema/configuration (multi-tenant SaaS architecture). I found…
Keith Palmer Jr.
  • 27,666
  • 16
  • 68
  • 105
22
votes
5 answers

Apache solr search part of the word

I'm using apache solr search engine for indexing my website database.. I'm using django+http://haystacksearch.org/ So let's say I have document that have word "Chicken" When I search for "chicken" - solr can find this document But When I search…
Djangonaut
  • 5,511
  • 7
  • 40
  • 53
22
votes
1 answer

What is omitNorms and version field in solr schema?

I am not understanding when to use omitNorms="true". I read 2-3 links but still I am not clear with its meaning. what does it mean "Set to true to omit the norms associated with this field (this disables length normalization and index-time boosting…
Kamal Kishore
  • 325
  • 2
  • 4
  • 15
22
votes
9 answers

Solr wildcard query with whitespace

I have a wildcard query that looks something like: q=location:los a* I'd like it to match "los angeles" and "los altos". A query like: q=los* Works just fine, but as soon as I add whitespace I get no results. How I can use whitespace in my…
tbaz
  • 1,016
  • 2
  • 9
  • 11
21
votes
1 answer

where solr store search index, in database or in file?

I am new to Solr. can anybody tell where it stores index. in existing site database create new database into xml files. Thanks in advance EDIT: i am asking this because i need a list of files to copy over to production. Suppose, if i index a site…
innocent
  • 273
  • 1
  • 3
  • 7
21
votes
10 answers

What are some Search Servers out there?

I'm looking to find alternatives to Solr from the Apache Software Foundation. For those that don't know, Solr is an enterprise search server. A client application uses a web-services like interface to submit documents for indexing and also to…
bpapa
  • 21,409
  • 25
  • 99
  • 147
21
votes
3 answers

Solr documents with child elements?

Is it somehow possible to create a solr document that contains sub-elements? For example, how would I represent something like this:
cambo
  • 973
  • 4
  • 11
  • 22
21
votes
6 answers

How to fix "Requested array size exceeds VM limit" error in Java?

Is there an log option that can let tomcat log the bad query instead just throwing this ? SEVERE: java.lang.OutOfMemoryError: Requested array size exceeds VM limit (Tried log level to FULL, but only capture the above) This is not enough…
ajreal
  • 46,720
  • 11
  • 89
  • 119
21
votes
4 answers

How can I set JVM-Memory in Solr-5.0

How can I increase heap space memory in Solr-5.0? I just want to set minimum and maximum Heap space memory of Solr.
Ankita
  • 1,416
  • 4
  • 17
  • 42
21
votes
1 answer

Angular.js - Filter in img src tag

We use Angular mainly for our search form, which is pretty complex. We use Solr as search framework and get our search results via AJAX/JSONP, which works perfectly. There should be an image in every search result, but it can happen that there is…
Hyque
  • 718
  • 1
  • 6
  • 9
20
votes
1 answer

Solr function query that operates on count of multivalued field

Can I, within a Solr function query, count the number of values in a multivalued field? How would I write a function query that returns documents with, say, 3 or more values for a particular field?
Dave
  • 1,204
  • 2
  • 14
  • 25
20
votes
4 answers

How to reindex all docs in Solr data

I am going to change some field types in the schema, so seems it must re-index all the docs in current Solr index data with this kind of change. The question is about how to "re-index" all the docs? One solution that I can think of is to "query" all…
Yinan
  • 278
  • 1
  • 2
  • 6