Questions tagged [solrclient]

22 questions
0
votes
1 answer

Javascript Solr (facet) query script not working correctly

I'm using solr-client to perform a faceted Solr query, and the result of my javascript solr query script doesn't match what's listed in Solr. So in Solr, the query I've created is as below. This gives the results I'm after. And my corresponding…
Darren Harley
  • 75
  • 1
  • 18
0
votes
1 answer

SOLR query with DISMAX giving empty result with code and working fine with solr admin

I'm trying to query certain fields using "DISMAX Query Parser" , so the query is like…
0
votes
1 answer

How to run Solr instance from Java

I have a spring boot app which is used to load data into solr during post construct and retrieve accordingly but i want to make sure solr server is up and running before spring boot app comes up. How can i achieve that? Is there a way to load solr…
0
votes
1 answer

Updates not visible to client after Solr softCommit

I have a node application which queries and updates a solr instance. Queries all work fine. When I edit an item and submit the update, however, it doesn't show up when I query again, unless I restart the solr server. I am currenlty running solr…
nmogk
  • 73
  • 5
0
votes
1 answer

How to close a SolrClient connection?

I am using SolrClient for python with Solr 6.6.2. It works as expected but I cannot find anything in the documentation for closing the connection after opening it. def getdocbyid(docidlist): for id in docidlist: solr =…
akshayks
  • 199
  • 9
0
votes
1 answer

Solr returning all the documents on query

I have a solr core setup. The schema of the core is as follows: docId: '', text: '' Here is the screenshot of my core admin page: Here is my SolrCrudRepository Interface package com.example.webtool.repository; import…
Siddharth Sinha
  • 578
  • 2
  • 15
  • 35
0
votes
1 answer

How to change path in SolrClient

Regarding documentation one has to set the path (i.e. core) on initialization of SolrClient: $client = new SolrClient([ 'hostname' => 'localhost', 'port' => 8983, 'path' => '/solr/coreXYZ', ]); As I need access to multiple cores (ex.…
rabudde
  • 7,498
  • 6
  • 53
  • 91
1
2