Questions tagged [solr5]

Related to the version 5 of SOLR search engine

Related to the version 5 of SOLR search engine: https://lucene.apache.org/solr/

For more version specific information see Major Changes from Solr 4 to Solr 5

Solr is the popular, blazing-fast, open source enterprise search platform built on Apache Lucene™

165 questions
30
votes
8 answers

How to fix: Error CREATEing SolrCore 'gettingstarted': Unable to create core

I'm getting this error when I try to create a new core in solr. root@ubuntu:/opt/solr# bin/solr create -c gettingstarted -n data_driven_schema_configs Setup new core instance directory: /var/solr/data/gettingstarted Creating new core…
JackXandar
  • 503
  • 1
  • 5
  • 14
18
votes
2 answers

How does Solr's schema-less feature work? How to revert it to classic schema?

Just found that Solr 5 doesn't require a schema file to be predefined and it generates the schema, based on the indexing being performed. I would like to know how does this work in the background? And whether it's a good practice or not? Is there…
Krunal
  • 2,967
  • 8
  • 45
  • 101
11
votes
1 answer

Build Solr suggestions based on sentences instead of the entire field value

I have a Solr instance with a suggester component. It works fine, using the AnalyzingInfixLookupFactory implementation. However, I want to expand the suggestions to a content field, which can contain a lot of text. The suggester finds suggestions…
wadmiraal
  • 181
  • 8
9
votes
4 answers

Deleting index from Solr using solrj as a client

I am using solrj as client for indexing documents on the solr server. I am having problem while deleting the indexes by 'id' from the solr server. I am using following code to delete the…
azhar_salati
  • 1,554
  • 5
  • 28
  • 54
8
votes
2 answers

Is there a SolrJ query builder?

Using solr 5.2.0 was wondering is there a query builder API/Jar/Ckient similar to Elasticsearch query builder API or do we have to bassically do String Kungfu to build queries in Solr?
user432024
  • 4,392
  • 8
  • 49
  • 85
8
votes
1 answer

solr 5.3 - suggest feature not working

I added the search component and the request handler in the solrconfig.xml file, but I get an error saying "No suggester named default was configured" when I type ../../suggest?suggest.q=A&wt=json&suggest.build=true&indent=true&debugQuery=true…
Anusha
  • 647
  • 11
  • 29
7
votes
1 answer

SolrCloud vs Standalone Solr

I am trying to upgrade standard 4.x Solr install to Solr cloud 5.x.I did some performance testing between two and found massive differences. On the same server, at different times, I've ran the below: Solr cloud 5.2.1 & 5.3, 2 shards, 2 replicas, 3…
Javadroider
  • 2,280
  • 1
  • 22
  • 45
5
votes
1 answer

exception writing document id

I have a solr 5.4.1 table that I allow users to make comments on. Through PHP, the user runs the following function: function solr_update($id, $comments) { $ch = curl_init("http://url:8983/solr/asdf/update?commit=true"); $data = array( …
Brian Powell
  • 3,336
  • 4
  • 34
  • 60
4
votes
2 answers

Integration between Nutch 1.11(1.x) and Solr 5.3.1(5.x)

I just started using Nutch 1.11 and Solr 5.3.1. I want to crawl data with Nutch, then index and prepare for searching with Solr. I know how to crawl data from web using Nutch's bin/crawl command, and successfully got much data from a website in my…
resec
  • 2,091
  • 3
  • 13
  • 22
4
votes
1 answer

Solr 5 Integration Tests with Maven

For Solr 5 the developers have announced that the Solr server will soon be a standalone server as opposed to a webapp as it has been in the past. My question is about how I would spin up a clean Solr instance for my integration tests, considering…
Malik Atalla
  • 193
  • 8
4
votes
1 answer

Subentity SolrEntityProcessor stops working since SolR 5.x

I use a data import like this
KingCrunch
  • 128,817
  • 21
  • 151
  • 173
3
votes
2 answers

local param not working in solr 8 but working in solr 5

I am migrating from solr 5.5 to solr 8. Query for solr 5.5 looks like - qt=/dismax product_fields_Ref1=product_concept^279841 sku_and_product_fields_Ref1=silhouette_concept^234256…
3
votes
0 answers

enabling RAMDirectoryFactory in solr-5.50 showing zero segment size on interface

I am trying to load a solr core (35MB for testing) in memory for faster request serving. For loading whole core in memory, I got to know of using RAMDirectoryFactory in my core's solrconfig.xml file. I replaced the default DirectoryFactory…
Snjv94
  • 372
  • 1
  • 8
3
votes
0 answers

Bug in solr's isWithin operator for geo spatial filtering?

Consider following document in solr index. { "id": "580ddd10a5a18387fba12f1b5805374872931533336fa0ce", "conceptid": "580ddd10a5a18387fba12f1b", "storeid": "5805374872931533336fa0ce", "startTime":…
Pratik Patel
  • 1,305
  • 1
  • 17
  • 44
3
votes
1 answer

Solr Boosting specific field values

I'm trying to boost the score for documents returned from a search in solr. The boost I want to achieve is something along the lines of: field1:(value1)^5 OR field2:(value2)^2 If the document does have field1 matching value1, boost by 5. If…
pigate
  • 351
  • 1
  • 7
  • 16
1
2 3
10 11