20,519 questions
1
vote
0
answers
93
views
Solr splitting search term soul-control into two word search ' soul or control '
Using solr for searching document storage.
One document has the word soul-control in it. If I search for soul-control, solr splits that word into a search string soul or control, thus returning any ...
0
votes
0
answers
64
views
Solr stores PostgreSQL date fields as epoch milliseconds (1667952000000) — how to keep pipe-separated date string like 2017-07-17 | 2018-02-20?
I'm migrating data from PostgreSQL into Solr. In PostgreSQL my priority dates are stored as two dates and I want them indexed in Solr as a single pipe-separated string:
2017-07-17 | 2018-02-20
I tried ...
1
vote
0
answers
36
views
Unable to ingest GeoJSON into DDF 2.26.45 (Solr error + ingest fails with no detailed message)
I'm running DDF 2.26.45 on macOS and configured it to use an external Solr 8.6.1 running locally at:
http://localhost:8983/solr
DDF detects Solr correctly:
solr.client = HttpSolrClient
solr.http.url =...
-1
votes
0
answers
17
views
Merging SOLR cores from different servers
I have two servers with Solr installed. They have cores with the same name, but with slightly different content. Is it possible to merge cores with the same name to create a core that will contain all ...
0
votes
0
answers
46
views
Solr 9.9.0 getting slow when there is high load
I'm using Solr 9.9.0 and I recently increased the server RAM from 16 GB to 32 GB, as well as the JVM heap memory to 16 GB. The issue I'm facing is that under high load, both the Solr 9.9.0 UI ...
2
votes
2
answers
61
views
Trouble Faceting on Text Field Terms in Facet Queries
I'm trying to use faceting to look at the terms that were indexed into a field, realizing this is a bit atypical, but I'm using it as a debugging tool. The problem is I'm not seeing any faceted terms....
0
votes
0
answers
66
views
Solr 9.7 - parent clause only finding one document if used with knn
I have a Solr schema where nested documents are enabled. Nested documents have a vector field that I use for dense vector search using knn and the parent clause, looking for the parent document whose ...
0
votes
1
answer
109
views
Load external file in Solr Cloud
Setup:
Kubernetes Solr Cloud (bitnami chart).
Current version 8.11 (also looking to go to 9)
I've tried various methods to get a larger file 120Mb loaded into KeepWordFilterFactory.
Main problems =>...
1
vote
0
answers
55
views
Why does my Solr multivalued=False copyField return multiple values?
I have in my schema:
<field name="mfName_ntk_cs" type="wc_keywordText" indexed="true" stored="true" multiValued="false" />
...
<copyField ...
-3
votes
1
answer
57
views
Solr reporting wrong host-IP to Zookeper [closed]
I have Solr and Zookeeper both running in a Docker-Container on the same machine. When everything stays within the ecosystem it works quite well. However I need to integrate it with another tool that ...
0
votes
1
answer
64
views
Solr search with parentheses failed
In Solr 9.8.1 the following query does not find any results.
research_project_project_id_intS:(69772 69787 71838)
"response":{"numFound":0,"start":0,"numFoundExact&...
1
vote
1
answer
82
views
Setting update.autoCreateFields to false doesn't work in solr
I am sending a request to solr to disable field gessing
curl-X POST http://localhost:8984/solr/products/config -H 'Content-Type: application/json' -d '{
"set-user-property": {
"...
1
vote
1
answer
564
views
Indexing problem with SOLR after Hybris upgrade (MultiMaxScoreQParserPlugin)
There was a need to upgrade our Hybris version from 2211.37 to 2211.41. In this new version, it includes Solr 9.8. There were some issues before I managed to run both build and deploy successfully. I ...
0
votes
0
answers
55
views
Apache Solr IndexUpgrader fails with java.lang.OutOfMemoryError: Java heap space on Large Index (650 GB)
I'm in the process of upgrading Apache Solr from version 8.6.0 to 9.8.0, and part of this involves upgrading the Lucene index format.
I have a large index directory (~650 GB), and I'm running the ...
0
votes
1
answer
44
views
Solr: Formulate a query that matches all terms in a single entry of a multiValued field
Using Solr 8.11.1
I have a schema with a dynamic multiValued field called tcngramm_X3b_en_field_job_titles whose schema is:
{
"name":"tcngramm_*",
"type":"...
1
vote
1
answer
43
views
Solr filter query issue
I try to make a search that get hits with:
At least one match with my queried "tags" OR no indexed field "tags" at all.
My search looks like this:
query: *
I add a filter query ...
0
votes
0
answers
43
views
How to do a Replication in Apache SOLR?
I'm trying to set up a replication for my Apache SOLR which runs on a linux Server. The Slave is also on a debian12 distribution.
Sadly I havent found any useful guide to set up the replication. I ...
4
votes
0
answers
40
views
Soft commit takes 5 seconds in Solr 8.9.0
We are using Solr 8.9.0. We have configured Solr cloud like 2 shards and each shard has one replica. We have used 5 zoo keepers for Solr cloud.
We have used the below schema field in employee ...
1
vote
1
answer
54
views
TYPO3 solr index custom database fields
TYPO3 version: 12.4
EXT:solr version: 12.0.5
I have a TYPO3 site with Solr indexing for pages and news. I also have a product database which I want to search in as well. I tried adding the table to my ...
0
votes
0
answers
46
views
Solr DIH pagination using paginated query processes only one chunk
I'm indexing a SQL-based view into Solr using DataImportHandler (DIH), trying to implement pagination by using ROW_NUMBER() in the query. The goal is to chunk the import by passing start and rows ...
1
vote
0
answers
22
views
Why won't Apache Solr server start with a p12 ssl cert?
I have installed a new .p12 cert. I created it with the following commands:
1. openssl pkcs7 -in ./mydomain.com.p7b -print_certs -out fullchain.pem
2. sudo openssl pkcs12 -export -in fullchain.pem -...
2
votes
0
answers
63
views
Apache Solr 9.8 authorization rules for cores not working
I just installed Solr 9.8.1 and created a core and some authorization rules. However, I am unable to restrict access to the core. The general access rules work, but core-specific rules never seem to ...
1
vote
0
answers
29
views
Solr fq not applying stopword filter? Inconsistent behavior between q and fq
I'm facing a strange issue in Apache Solr 9.4.0 related to stopword filtering.
In my core, I have a field called titlex which is of type text and uses a stopword filter in both its index time and ...
0
votes
0
answers
33
views
solr extracts parts from query
I am lost on the correct terminology here, please suggest clarifications.
I would like to allow users to build search "facets" on a solr-powered web application.
E.g. if they searched for
...
-2
votes
1
answer
61
views
CKAN: How to enable partial string search?
The default search behavior in CKAN is to only search full words.
I'd like to enable partial string search.
This kind of Google search behavior should apply to CKAN as well.
Example: my dataset titled ...
2
votes
0
answers
48
views
Solr 'OR' Query with Negative Existence Check Not Working
Background
I'm working with a Solr index that contains documents with varying schema, as some fields were added more recently. I need to create a query that returns documents matching either of these ...
1
vote
1
answer
76
views
How to change solr field type after data is already indexed?
One field name say field_one is indexed as indexed=false. But I want to change it to indexed=true.
I have also changed the schema.xml and reloaded the collection. Now, I am getting the error
cannot ...
1
vote
0
answers
24
views
Discarding first token in Solr
I have an input string which is ultimately parsed into NGram tokens and indexed in Solr. The strings always start with three alpha characters and then have N characters afterwards. The extra ...
2
votes
0
answers
39
views
Solr 9.8: where to put non-jar resources?
The <lib> directive is disabled in Solr 9.8 by default and will be removed in Solr 10.
It seems all lib directories listed in https://solr.apache.org/guide/solr/latest/configuration-guide/libs....
0
votes
0
answers
33
views
Solrj write operations failing
I'm using Solrj to query a core, print the result and finally, add a new field to it and finally commit the changes back to the core.
This is my attual code:
public void testConnection() {
...
0
votes
1
answer
88
views
How to get plain text version of a node from Alfresco using its API?
I'm trying to get the plain text version of an Alfresco node through its API. I understand that this version is created or the plain text at least is extracted because I can search documents by its ...
0
votes
1
answer
28
views
Error adding document to Solr Docker container from Spring Boot Docker container
I have 2 docker containers. One for my spring-boot application and one for my Solr container.
I created a docker network so that both containers could run on the same network, and started both ...
0
votes
0
answers
16
views
Why is SolrJ not returning copy-fields?
I'm fetching a document by id using SolrJ, like this:
HashMap<String,String> params = new HashMap<String,String>();
params.put("fl", "*");
SolrDocument doc = solr....
0
votes
0
answers
31
views
SolrException: Couldn't restore since doesn't exist; when restoring an existing backup from Google Cloud Storage
I am trying to restore a backup from a GCS bucket using the next API call:
http://mysolr.dns:8983/solr/admin/collections?action=RESTORE&repository=gcs&location=my-backup-folder/&name=...
0
votes
0
answers
248
views
Performance degradation after solr upgrade to 9.8.0 from 9.3.0
We recently upgraded Solr from version 9.3 to 9.8.0 and have observed a significant performance degradation. The schema changes were made to ensure backward compatibility with 9.3 for all existing ...
1
vote
1
answer
61
views
solr custom plugin
I want to figure out how to use my custom plugin for Solr.
I found the following relevant article:
https://medium.com/@akshayt030/developing-custom-filter-plugin-in-lucene-solr-8-63cb099036cc
After ...
0
votes
0
answers
17
views
Solr query no result with q=(NOT type:3 OR type:3) AND *:*
My q=(NOT type:3 OR type:3) AND *:*
debugQuery is this:
"debug":{ "rawquerystring":"(NOT type:3 OR type:3) AND *:*", "querystring":"(NOT type:3 OR type:3) ...
2
votes
0
answers
45
views
How to get an exact substring match search with wildcards for Solr in ColdFusion?
I am trying to implement a search in ColdFusion (with indexing through Solr) where it gets a match on exact substrings and exact substrings only.
Here's my sample code:
<cfset criteriaString = '*#...
0
votes
0
answers
38
views
On Solr 9, how to create a field based on facet query results?
I want to be able to given a facet result, use that result in another calculation.
{
"query": "*:*",
"fields": [
"AverageCost:div($TotalCost, $TotalLeads)&...
0
votes
0
answers
71
views
Performance Degradation After Splitting Collection in SolrCloud
We have a SolrCloud cluster with the following initial setup:
Collection: Single collection with all document types (legal, report, thesis).
Shard: 1 shard with 3 replicas.
Collection Size: ~30GB ...
0
votes
0
answers
34
views
Pysolr using Docker names instead of localhost for SOLR connection
Structure
SOLR Cloud v. 9.8.0, 3 Nodes
Zookeeper v. 3.9.3, 3 Instances
Pysolr latest
Pytest v. 8.3.4
The Problem
In my projects RestAPI I have a function called "search" which makes a ...
0
votes
0
answers
51
views
How can I query Solr from Quarkus using Zookeeper?
I need to perform a Solr query from my Quarkus application. I started using SolrJ, which worked well.
However, to be able to create a native image, I had to configure this:
quarkus.native.additional-...
1
vote
0
answers
49
views
Solr Data Import from S3 with Base64 File Retrieval: How to Configure Solr to Access File Data via UUID and File Type
Previously, files were stored in the database, and indexing in Solr was done as follows:
<?xml version="1.0" encoding="UTF-8" ?>
<dataConfig>
<dataSource name=&...
0
votes
1
answer
105
views
Pysolr JWT Token can't be passed as authentication
Structure
SOLR v. 9.8.0, 3 Nodes
Zookeeper v. 3.9.3, 3 Instances
Pysolr latest
The SOLR and Zookeeper Nodes run in a docker environment.
The Solr Authentication is a MultiAuthPlugin with the ...
-2
votes
1
answer
260
views
How to get lexical search score and vector search score in a hybrid search on Apahce Solr?
I was able to implement a hybrid search engine on Apache Solr 9.6.1 that combines lexical search (edismax) and vector search (KNN-based embeddings) within a single request. The idea is simple:
...
0
votes
2
answers
78
views
vector field in Solr 9.8
I have configured vector field in solr 9.8 version and have indexed documents having vector field. I am not able to figure out how many document indexed exactly have vector field. Other type of fields ...
0
votes
1
answer
97
views
TYPO3 12 with SOLR - readable URL
One of my IndexQueues looks like this
plugin.tx_solr.index.queue {
pressphotos = 1
pressphotos {
type = tx_company_z_pressphotos
label = myPressphotosLabel
fields {
...
1
vote
1
answer
70
views
How does Lucene's SoftUpdateDocument API work?
I have a use case where I need to update the Lucene document's docValue fields in place, i.e., without creating a new document with every update. I believe softUpdateDocument should help me achieve ...
0
votes
1
answer
216
views
Facing error while Installing / Running Apache Solr 2.0 for Alfresco 23.4 Enterprise version
I'm using Alfresco version 23.4 (Enterprise version). I'm facing issues with Solr it's not working properly. Alfresco is working properly. Below I'm attaching some screenshots and command I ran in ...
1
vote
0
answers
39
views
using SOLR export request handler with PHP Solarium
I wonder if there is a possibility to use the SOLR export request handler with the PHP Solarium library: https://solr.apache.org/guide/6_6/exporting-result-sets.html
I can access the results applying ...