Questions tagged [solrconfig]

53 questions
0
votes
0 answers

Indexing data from multiple data sources (CSV, RDBMS)

we are working on indexing data from multiple data sources using a single collection, for that specified data sources information in the data-config file and also updated managed-schema.xml by adding the fields from all the data sources by…
0
votes
1 answer

SolrCloud 8.1.1 CDCR Replication not working: failed due to (409) version conflict actual=-1

Trying to setup Uni-directional CDCR with Solr 8.1.1, after syncing data directories from source to target replicas (1 to 1) in source logs I see: 2020-03-09 11:04:28.873 INFO (cdcr-replicator-17-thread-4) [ ] o.a.s.h.CdcrReplicator Forwarded 0…
S Jayesh
  • 191
  • 1
  • 4
  • 19
0
votes
1 answer

Using Solr V2 API to update Solr config in standalone mode throws SolrException "Solr not running in cloud mode"

Trying to modify config with V2 API in Solr runnning in the standalone mode. The request is build as follow: V2Request v2Request = new V2Request.Builder(String.format("/collections/%s/config", collectionName)) …
0
votes
1 answer

Solr storage handling

I have six node solr cluster and every node having 200GB of storage, we created one collection with two shards. I like to know what will happen if my document reached 400GB (node1-200GB,node-2 200GB) ? is solr automatically use another free node…
0
votes
1 answer

Solr core cannot initialize because of write.lock in spellcheck index directory

I am having a lock issue when trying to initialize a Solr core: SolrCore Initialization Failures: MySolrCore: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: org.apache.lucene.store.LockObtainFailedException: Lock held by…
zBomb
  • 339
  • 1
  • 17
0
votes
1 answer

Apache Solr : Error : unknown field _src_

I went through this link and added the code in one of core to upload a multilevel JSON and it worked very well but when I created another core and added same then it is throwing the below error. I spent so much time to solve this error but no…
0
votes
1 answer

Reloading External file field with server up

I am trying to implement an external file field in order to change ranking values in Solr. I've defined a field and field type in the schema and, in the "solrconfig.xml", bellow the tags, created the external file and added the reload…
0
votes
0 answers

Working with Solr configuration

We are using solr for indexing in our project. Indexing is working fine as of now. We need to work on scenario where solr is down for some reason. What should indexing process do then? Is there way during solr restart we can inject some script to…
user987316
  • 894
  • 4
  • 13
  • 35
0
votes
2 answers

Modifying solrconfig.xml from SolrJ?

I want to modify the solrconfig.xml file from my java code. If there is any source which gives examples of implementation of abstract SolrRequest in SolrJ for modifying solrconfig.xml, could you please point me out to them. Thanks
0
votes
2 answers

SolrCore Initialization Failures: trouble reloading core

Somebody help. I am getting "org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Could not load conf for core account: Plugin Initializing failure for [schema.xml] fieldType. Schema file is solr/account\conf\schema.xml" when I…
king iyk
  • 63
  • 1
  • 10
0
votes
0 answers

convert curly quotes to straight quotes when user queries solr

I am new to solr and trying to figure out how do I convert curly quotes to straight quotes when a user queries. Currently I am doing it using the method and it works perfectly fine. //converts raw user query string with curly quotes to straight…
raj247
  • 381
  • 1
  • 4
  • 21
0
votes
1 answer

How to ingest data from db in solr cloud

I have succefully setup solr cloud using this article SolrCloud – 2 Nodes Solr, 1 Node ZK Setup . Earlier i used solr and inside solr i created a folder name "TestSolr" with in that i have folder and files like conf,data,core.properties etc. Within…
swayam swayam
  • 131
  • 1
  • 12
0
votes
1 answer

Apache solr search issue

i've got a search issue with apachesolr. For example The contents that i've indexed are: Tiramisu d'hiver Velouté d'hiver Minestrone d'hiver crémeux, Smoothie version hiver when i search "hiver", i get only Smoothie version hiver as results. When…
j.b
  • 151
  • 1
  • 7
  • 17
0
votes
0 answers

Solr6 fails to add a core, shows following error

I am using solr 6.3.0 on redhat machine, integrated with tomcat server. One of my core is not getting added. The core imports data from a SQL Server database. The solr.log files prints the following message. Can someone help finding me, what is…
0
votes
2 answers

how to backup solrconfig file from running solr

I have a single core solr server. when solr was running, in one collection solrconfig.xml and schema.xml files replaced by mistake. now collection worked correctly and correctly response to request but valid file in conf folder is replaced by…
mniknam
  • 15
  • 1
  • 4