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

What is the difference between dismax and EdisMax?

I like to know what is the difference between DisMax and EDisMax..? Is there any useful reference to know about that.? Also, I would like to know what are the queries DisMax failed to produce the result for which EDisMax is able to produce the…
gangatharan
  • 781
  • 1
  • 12
  • 28
24
votes
3 answers

How to write a solr query for retrieving all records with numeric field value less then specified?

Let's assume we have a set of mp3-players with names and prices. How to write a correct solr query for finding all goods with a certain name and with price less then 100$? q = "(name:(ipod) AND price ???? 100.0)"
Roman
  • 64,384
  • 92
  • 238
  • 332
24
votes
3 answers

How to fix exceeded limit of maxWarmingSearchers?

Anyone know why and how to resolve this as I have a very busy updates and searches at the same time. Error opening new searcher. Exceeded limit of maxWarmingSearchers=2, try again later
d4v1dv00
  • 971
  • 4
  • 10
  • 21
24
votes
2 answers

java - MongoDB + Solr performances

I've been looking around a lot to see how to use MongoDB in combination with Solr, and some questions here have partial responses, but nothing really concrete (more like theories). In my application, I will have lots and lots of documents stored in…
Guillaume
  • 2,912
  • 3
  • 35
  • 59
24
votes
6 answers

How to set Apache solr admin password

I an not very familiar with solr. I have installed solr successfully. It is using jetty webserver. My solr version is 4.10.3. It admin page is not protected by password. Anyone can access it. I want to apply a paaword on solr admin. How I will do…
Hafiz Muhammad Shafiq
  • 8,168
  • 12
  • 63
  • 121
24
votes
3 answers

Socket hangup while posting request to Node-http-proxy Node.js

I'm working in Node.js Project and I want node to act as a proxy for solr For proxy: I used Node-http-proxy. the problem is that proxy work excellent in case of get requests but in case of post requests it results in socket hang up exception Here…
Tareq Salah
  • 3,720
  • 4
  • 34
  • 48
24
votes
5 answers

Solr exact word search

I want to configure my Solr search engine so I get an exact match for the search term I enter. eg. 'taxes' should return documents with 'taxes' and not 'tax', 'taxation' etc. Any help or tips would be appreciated.
Ruth
  • 5,646
  • 12
  • 38
  • 45
24
votes
2 answers

How to do NOT IN query in Solr?

How can I exclude a set of document IDs from Solr result set? Essentially something like /select?q=tag_id:367 AND NOT id:(306670,302209) I tried it and it does not exclude documents with those id's.
arun
  • 10,685
  • 6
  • 59
  • 81
24
votes
5 answers

Solr Query - HTTP error 404 undefined field text

I've got a Solr instance running on my Ubuntu machine using the default Jetty server that the Solr download comes with. Whenever I start Solr using java -jar start.jar The server starts fine but there is always an exception thrown: INFO:…
Jarrod Nettles
  • 6,193
  • 6
  • 28
  • 46
23
votes
3 answers

How to delete SOLR indexed data by query with curl?

I have a SOLR schema.xml like this: I want to delete "blue" and "stationwagon" tagged records from SOLR…
Guray Celik
  • 1,281
  • 1
  • 14
  • 13
23
votes
5 answers

How to stop solr with command line

I want to stop solr by command so if find this article http://rc98.net/solrinit echo "Stopping Solr" cd $SOLR_DIR java -Xmx1024m -DSTOP.PORT=8079 -DSTOP.KEY=stopkey -jar start.jar --stop what is Xmx1024m ? and where i will find…
XMen
  • 29,384
  • 41
  • 99
  • 151
23
votes
6 answers

Node.getTextContent() is undefined in Node

In my project I am facing a problem stating The method getTextContent() is undefined for the type Node I am currently using jdk 1.5, can anybody tell me what this is about.
Romi
  • 4,833
  • 28
  • 81
  • 113
23
votes
2 answers

Difference between q and fq in Solr

Someone please give me a decent explanation of the difference between q and fq in Solr query, covering some points such as - Do they have the same syntax? Do they return same results? When to use which one and why? Any other differences
Mawia
  • 4,220
  • 13
  • 40
  • 55
23
votes
1 answer

Is Solr 4.0 capable of using 'join" for multiple core?

I notice Solr 4.0 has introduced 'join' feature for documents having relationships. this is great, however, I notice examples given by http://wiki.apache.org/solr/Join are for single core which all documents are in single index. Does anybody know if…
zx_wing
  • 1,918
  • 3
  • 26
  • 39
22
votes
1 answer

Solr: What are the benefits of length normalization/omitNorms=false?

We're using Solr to search articles of various lengths. We index both descriptive metadata (title, author, category, keywords, etc) and the full article text. We do not boost relevance at index time - all boosts are done at query time (we use…
Oskar Austegard
  • 4,599
  • 4
  • 36
  • 50