Questions tagged [solrclient]

22 questions
4
votes
1 answer

SOLR - Node: conflicts in 2 libraries

I was using solr-node library in node js. solr-node: https://www.npmjs.com/package/solr-node Function file of solr-node https://github.com/godong9/solr-node/blob/master/lib/query.js So while writing query, I was not able to find for edismax bq…
Prashant Patil
  • 2,463
  • 1
  • 15
  • 33
2
votes
0 answers

Why does @SolrDocument doesn't create collection/core if it doesn't exist and throw 404 error

Is there a way to create automatically in solr server startup or programmatically in spring-data-jpa using any annotations?
1
vote
0 answers

Solr 8.11 giving "ERROR: Input redirection is not supported, exiting the process immediately" in cloud mode while starting with hybris server

I am using solr 8.11 with Hybris 2205.7, sapmachine-jdk-17.0.6 Using solr in Cloud mode While starting Local hybris server getting the below issue and its stuck there only Console Log Below are my solr related properties in local.properties `# Solr…
1
vote
1 answer

How to mock Solrclient request for java?

I have a java code to establish a connection to the Solr server. I am not sure how I can mock it. Please check my code below. SolrClient solrClient = new HttpSolrClient.Builder(url).build(); QueryResponse res =…
1
vote
1 answer

skip update for particular field in solr

I want to skip update of particular field in solr document. I am importing data from csv to solr. added one extra field "RecCount" from managed schema as follows: Case 1: If i set default value
Deepali Jadhav
  • 540
  • 2
  • 8
  • 18
1
vote
0 answers

How to Implement Connection Pool in HttpSolrClient?

I want to implement Connection Pooling in SolrClient using java. Not getting right doc. Some one please help rigth now I am trying as below SolrClient Solr = new HttpSolrClient.Builder(solrUrlString + solrCoreName).build();
1stenjoydmoment
  • 229
  • 3
  • 14
1
vote
2 answers

Extracting specific values from an array within an object

I'm setting up a test to ensure that a faceted Solr query 'contents' are correctly displayed within a page element, using javascript. The Solr query result, which I've named "ryanlinkstransmissionpage", is; { Transmission: [ 'Manual', 12104,…
Darren Harley
  • 75
  • 1
  • 18
0
votes
0 answers

Apache Solr client session time out exception, closing socket connection

from few days i am getting below error in my apache solr cloud network. but i am not exactly getting what the issue is my network is working fine all other thing is working properly also my machine is capable of bearing heavy load at solr cloud…
0
votes
0 answers

Deleting documents by query and commiting in Lucene index taking long time using SolrJ

To delete documents from lucene index, we are using solrJ 5.5.4 library where we are calling deleteByQuery() and commit() method to perform our operation. The overall operation of deleting documents from lucene is taking around 2-3 sec which should…
Ayush
  • 3
  • 2
0
votes
0 answers

Solr client 'CloudHttp2SolrClient' (version 8.11.1) after switching from ZK to Solr ulrs shows worse performance

Such change is advertised by Solr creators as something that reduces dependency on ZK and is advised to be done to migrate to solr9: https://solr.apache.org/guide/solr/latest/upgrade-notes/major-changes-in-solr-9.html We are using solr 8.11.1 and…
0
votes
0 answers

My Solr in JAVA code giving exception IOException occurred when talking to server at: https://solruatinternal.rics.org:8983/solr/#/ricsglobal

When i Hit url https://solruatinternal.rics.org:8983/solr/#/ricsglobal in browser i am able to see my solr is up and runing but when i hit this url from code String URL ="https://solruatinternal.rics.org:8983/solr/#/ricsglobal"; SolrClient server =…
0
votes
0 answers

Undefined fields issue for Insert/update in Solr6

I am trying to insert/update the solr document into solr collection "ACCT_ID:"1234" "ACCOUNT_NAME:"Test", "ACCT_Address":"", In Solr5 i am not getting any error if the input/update fields not available in solr schema. for example ACCT_Address is…
0
votes
0 answers

product search not working properly in solr 8.11 with SAPCommerceCloud 2205.7

I am using solr 8.11 with hybris 2205.7 and sapmachine jdk 17 product search not working when searching with complete product code. Ex: If my product code is 12345 I am getting results when searching with 123 but Not getting result when searching…
0
votes
0 answers

Getting java.lang.NoClassDefFoundError: HttpSolrClient$Builder And java.lang.NoSuchMethodError: SolrInputDocument.([Ljava/lang/String;)V

Following is the code that I have written from Solr Documentation (Solrj tab) I believe the getSolrClient method has following implementation: String solrUrl = solrServerUrl.concat("test-core"); final SolrClient client = new…
Dragon
  • 25
  • 4
0
votes
1 answer

Is there a way converting String to SolrDocumentlist?

I am trying to write MockMVC test for a searchController where I want to mock entry point of solr data to the api. So that my api do the rest of the sorting stuff and through mockMVC test I can validate the…
Sigma
  • 1
  • 2
1
2