Questions tagged [solr7]

31 questions
3
votes
1 answer

How to disable shardsWhitelist, I am getting Following error

So when I add shards in RawQueryParameter of Solr Admin I get following error **error":{ "metadata":[ "error-class","org.apache.solr.common.SolrException", "root-error-class","org.apache.solr.common.SolrException"], …
2
votes
0 answers

add replica or move replica on new node using Pysolr

I want to add replicas to new instances using PySolr/or via api calls. Scenario: For updating AMIs of EC2 instances on which Solr is running with 0 downtime, I have planned to add new instances(with new AMI) add replica on new instances and then…
Tannu Priya
  • 313
  • 2
  • 15
2
votes
3 answers

How to find exact keywords in solr search?

Actually I am facing one problem in solr search. There is an author field in which I stored two value like "deep kumar-singh" and "deep kumar singh". When I search the author:"deep kumar-singh" It returns both results. But I want only one result to…
Deepak saini
  • 4,100
  • 2
  • 17
  • 20
2
votes
0 answers

How to sort parent document by child documents lowest price in solr

I am new in solr i want to sort parent document by child documents lowest price . Please see below mentioned sample data. { "parentID": 1, "children": { "numFound": 2, "start": 0, "docs": [ { "type":…
R B
  • 658
  • 4
  • 12
1
vote
0 answers

Indexed records are getting deleted in solr. What could be the reason?

Indexed records are getting deleted in Solr 7.7.2 version. This is happening only in 1 instance. There is no specific pattern when it is getting deleted. In 18000 records, sometimes around 2000 or 8000 are remaining after deletion. Physical memory…
1
vote
0 answers

Nested date range faceting by with start/end according to parent bucket

I want create a nested date range facet that has buckets by year, month, and day. A query like this for a hard-coded date range (e.g. between 2020 to 2022) { "q": "*:*", "start": 0, "rows": 0, "json.facet": { "year": { "type":…
Tomalak
  • 332,285
  • 67
  • 532
  • 628
1
vote
1 answer

What does hits in solr logs indicate?

I see below log message in my solr logs webapp=/solr path=/admin/ping params={} hits=1421599 status=0 QTime=26 o.a.s.c.ShardLeaderElectionContextBase make sure parent is created o.a.s.c.ZkController Core needs to recover: what does hits in…
arjunsv3691
  • 791
  • 6
  • 19
1
vote
1 answer

How do you use the Solr 7.4 restore API with HDFS?

I'm using Solr 7.4 along with Hadoop 2.7.5. I have an existing Collection that I want to backup and restore. I was able to complete the backup with no issues, but now I want to test the restore API. I'm doing all this in a staging environment as a…
RyanWorks
  • 39
  • 6
1
vote
1 answer

Edismax query not working after migrating to solr 7.7 from 6.6

I have migrated to solr version 7.7 from 6.6 But after migrating to this version my edismax query is not working and returning 0 values. My edismax query is something like this. {!edismax qf='title' mm=1 k='("messi"^4.02 "ronaldinho"^2.01)'…
1
vote
0 answers

Is there a limitation in Solr 7.6.0 that it cannot use the system's full data transfer capacity?

In order to find out how well Solr 7.6.0 performs on Azure VMs (specifically the replica recovery scenario) I did a performance test. The objective was to find out how quickly a failed replica node could recover in a shard. What I did ? I ran a…
Khetanshu
  • 9
  • 2
1
vote
1 answer

Data at the root level is invalid. Line 1, position 1 on sitecore upgrade to 9.2

I am trying to update sitecore from 9.0.2 to 9.2 I have installed a new instance of 7.5 Currently my sitecore site is using solr 6.6.2. I have changed the solr.search connection string to new 7.5 solr instance. But when I tried to load the site it…
Hrishikesh T T
  • 339
  • 2
  • 11
0
votes
0 answers

Solr 7.7 cant parse hybris 6.7 java double value

I trying to upgrade solr from 5.3(hybris 5.7) to 7.7(hybris 6.7). After start full index from hybris i have NumberFormatException in solr 7.7. Difference that i see, its content-type, 5.3 - application/xml, 7.7 - application/javabin. 5.3 based on…
0
votes
0 answers

Is there a way to boost based on value of an index property in Hybris solr?

We have a requirement wherein we need to make boosting for a field dynamic. Let's say that we have an indexed property foo, we need to perform a mathematical calculation on foo to determine its boost value which would be different for every…
0
votes
1 answer

solr distinct query I want only certain fields to be listed

I want to find the number of unique records based on myparam value. Solr distinct query I want only certain fields to be listed. too many ifs in the distinctValues ​​array in the results. whereas I just want to get the countDistinct…
mustafa
  • 1
  • 1
0
votes
2 answers

Solr Query is not able to pick up expected documents in result set

I have a Solr document whose fields and values are shown below. and the parsed query which i am trying to Hit to fetch this document is "red tape white casual shoes"- parsedquery: "+(DisjunctionMaxQuery((keywords_text_en:casual |…
hades512k
  • 61
  • 7
1
2 3