Questions tagged [solr8]
75 questions
5
votes
3 answers
Solr Nested Documents not properly setup
I am trying to create a solr document with a child document. I am using solr 8.2.0
In order to comply with the instructions in https://lucene.apache.org/solr/guide/8_0/indexing-nested-documents.html#indexing-nested-documents , I added the following…

Yirmiyahu Fischer
- 503
- 2
- 9
- 22
5
votes
3 answers
Getting "Parent filter should not be sent when the schema is nested" when using parent filter in fl in solr 8
I am trying to fetch the parent document with child documents. But getting "Parent filter should not be sent when the schema is nested" error.
Attached the query in below that I have tried but I can't get the solution
q : {!parent…

Sangeetha
- 51
- 4
4
votes
1 answer
Setting up solr cloud on two machines
Enviornment - solr-8.9.0, java version "11.0.12" 2021-07-20 LTS, apache-zookeeper-3.6.1-bin/
To set-up solrCloud i have done following steps-
Setting-up Zookeeper on Node 1
a. Go inside /conf directory.
b. Make a copy of zoo_sample.cfg &…

user595014
- 114
- 3
- 8
- 20
4
votes
1 answer
solr - basic authentication
(total beginner question alert!)
I am trying to set basic authentication on SOLR 8.3 (docker container: FROM solr:8.3) following this doc:
I have added the /var/solr/data/security.json:
{
"authentication":{
"blockUnknown": true,
…

TudorIftimie
- 1,050
- 11
- 21
4
votes
1 answer
Basic Authentication is not working in Apache solr 8
I working on the Apache solr (version 8) authentication, using basic authentication API. Using below security.json and placed in the $Solr_Home(/opt/solr/server). But still i am not getting authentication popup when I open the solr site
{
…

Girija S
- 141
- 1
- 11
3
votes
1 answer
Specifying the default core in SOLR 8
I am upgrading a Solr 4 server to Solr 8, and one issue I found is the format of solr.xml changed and I can no longer specify ... - this leads to having to specify the core name in the URL's to search, dataimport…

Andrey
- 20,487
- 26
- 108
- 176
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…

Vibhav Singh Rohilla
- 760
- 1
- 5
- 17
2
votes
0 answers
Solr sort on multivalue field produces Bytesref error in multi-shard env
Solr 8.11 (in SolrCloud mode) returns a 500 error when querying with sort parameter sort=field("RECORD_DATE") asc.
The error message is:
class java.lang.String cannot be cast to class org.apache.lucene.util.BytesRef (java.lang.String is in module…

Juuso Ohtonen
- 8,826
- 9
- 65
- 98
2
votes
0 answers
Solr 8.7 configset empty when uploaded with authentication
We have enabled authentication in Solr 8.7 and now I want to upload a configset and thereby create a collection based on this configset.
I have followed the below steps:
create config zip
(cd /disk/configsets/my-collection/conf && zip -r - *) >…

Aneesha Rao
- 47
- 6
2
votes
1 answer
How to get the version of lucene index in solr
My use case: I am currently on solr 5.5 and upgrading to solr 8.8
For this, I will need to do re-indexing on all machines where solr is installed. I need to do a check on the index version, if the index is made from the old version, then I will run…

Shreya Patni
- 64
- 1
- 7
2
votes
0 answers
Solr Suggester dictionary query response changes value when reloading core using multiple dictionaries
I'm using multiple dictionaries in Solr 8.7.0 suggester.
Each one is for a different typefield, because I needed different tokenizers to be used.
Both of them are using the same analyzer (AnalyzingInfixLookupFactory), and when I build them, they…
2
votes
1 answer
Solr throws error on partial update after upgrade to 8.8
I'm doing a simple partial update scenario which worked with version 6.x and 7.x of Solr. After upgdrading both Solr and Solrj to 8.8, I'm getting the following exception:
2021-02-23 14:57:58.201 ERROR (qtp-459670553-28) [ x:core1]…

Mohsen
- 3,512
- 3
- 38
- 66
2
votes
2 answers
Solr edismax query syntax error "Query Field '_text_' is not a valid field name"
I had originally created in my solr schema 3 copy fields:
curl -X POST -H 'Content-type:application/json' --data-binary '{"add-copy-field": {"source":"company_name","dest":"_text_"}}' http://my-instance/solr/listing/schema
curl -X POST -H…

Jesse
- 8,223
- 6
- 49
- 81
1
vote
1 answer
Set solr field values based on other fields
I have three fields in the Solr core:
Field1,
Field2,
Field3.
I am setting a value for Field1 and Field2 in the DIH, but I want to set the value for Field3 based on some values in Field1 and Field2.
For Example, Field1 and Field2 are the boolean…

Ramesh Yadav
- 31
- 5
1
vote
0 answers
Converting Array of Strings to Array of Objects in SOLR 8.5.2 Document Structure
I am facing an issue with my SOLR (version 8.5) document structure. Currently, I have an array of strings with delimited values in my document, and I'd like to transform it into an array of objects for easier querying.
Original Document…

user8024268
- 11
- 3