Skip to main content

Questions tagged [solr]

Apache Solr is an open source search server based on the Lucene Java search library.

0 votes
0 answers
10 views

How to remove/hide '_version_' field in solr response?

I am working with Apache Solr and I need to hide or remove the version field from the search response. I have tried using the fl (field list) parameter to exclude the version field, but I am ...
Akshay Saambram's user avatar
0 votes
0 answers
6 views

Why am I getting an error trying to use spatial search in Solr?

I am trying to find all points(lat,lng values) that are within a 5 km radius with this line {!geofilt sfield=latlng}&pt=45.15,-93.85&d=5 where latlng is the name of the field in my schema that ...
Savannah Shannon's user avatar
0 votes
0 answers
18 views

Solr Restore API gives incorrect response

I have solr cloud version 9.5 with two nodes deployed in kubernetes cluster. I am trying to restore the collection backup using the Solr restore API. I am experiencing an issue with the Solr backup ...
teji's user avatar
  • 11
-1 votes
1 answer
28 views

Refresh Solr stock after ordering

We have a business requirement that forced us to do a live refresh of stocks in Solr every after a user orders. What I did was created a new action in our orderProcess.xml that will put a lock, run ...
iamrooovic's user avatar
0 votes
1 answer
8 views

Where put the Solr DefaultWrapperModel configuration?

on this section https://solr.apache.org/guide/solr/latest/query-guide/learning-to-rank.html#using-large-models, we are advised to use the DefaultWrapperModel to load large models. But it does not say ...
krionz's user avatar
  • 447
-1 votes
0 answers
11 views

solr Document contains at least one immense term whose length is longer than the max length 32766

In my solr when I build suggester after adding the data, it gives me the following error Solr HTTP error: OK (500) { "error":{ "msg":"**Document contains at least one immense ...
Prakhar Pratap's user avatar
0 votes
0 answers
19 views

Solr returning 404 after startup when sending update request

After Solr startup and creating collections, I'm waiting for collection to become active by sending request to http://localhost:8984/api/collections/, checking state and health. However even if health ...
czuponga's user avatar
0 votes
0 answers
12 views

error:Task: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Error loading class 'solr.scripting.xslt.XSLTResponseWriter'

while upgrading solr from 8.11.3-slim to 9-slim I am getting error "Task: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Error loading class 'solr.scripting.xslt....
Priyanka Kumari's user avatar
0 votes
0 answers
16 views

SOLR 8.1.1 not returning the results if the query has a number of AND/OR clauses

There are issues in my SOLR 8.1.1 instance which is setup as an Azure App. The Query like following is failing: ((((((title_t:("code of practice on local authority accounting in the united ...
Maverick HT's user avatar
0 votes
0 answers
24 views

Solr backup not getting created in both solr nodes

I have solr cloud version 9.5 with two nodes deployed in kubernetes cluster. I am trying to take solr backup using the Solr backup API Bakup API - http://localhost:8982/solr/admin/collections?action=...
teji's user avatar
  • 11
0 votes
0 answers
22 views

How to Extract the First Sentence with Highlighted Term and Surrounding Sentences in Solr

I'm working with Solr and need to extract the first sentence that matches the query along with its highlighted snippet and surrounding sentences. How can I achieve this using Solr? Lets take this ...
Przemek's user avatar
  • 647
0 votes
0 answers
33 views

Samba server in Solr Docker image, on localhost

Why Accessing the data inside Solr is cumbersome. Need to ssh into /var/solr directory, and then use command-line operations. So instead, if I can just expose the data directory to a Samba share, and ...
M A's user avatar
  • 1
0 votes
0 answers
13 views

How to changes servers for an existing Solr Cloud Collection

Context: My company is using Solr 7.0 in cloud mode, kept in sync by a Zookeeper ensemble; 3 Solr nodes, 3 Zookeeper nodes; 1 collection, 1 shard, 3 replicas (each replica on one of the Solr instances)...
bobo's user avatar
  • 93
0 votes
0 answers
15 views

Query Solr in Cassandra Datastax to Search JSON Object Fields

Problem: I have a Cassandra table using Datastax Enterprise (DSE) that stores an id and a data field, where data contains a JSON object. I've enabled Solr indexing to optimize search performance. ...
Thần Hoàng's user avatar
0 votes
1 answer
46 views

Unable to filter by child and extend the results to the grandchild in solr

What we need: We want all documents that have institutions in a specific range of latitude and longitude, and for these documents we want to return all the children of the document. one document is ...
Sina Sarshar Pour's user avatar

15 30 50 per page
1
2 3 4 5
1374