11,952 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
99
views
Lucene Boolean Operator Problems
Using Lucene, certain queries parse and execute in a completely unexpected way.
Here's the code for testing it (written in Scala, but can be easily translated to Java too):
import org.apache.lucene....
1
vote
0
answers
124
views
What special characters does Lucene StandardQueryParser use?
When user strings are submitted to Lucene's StandardQueryParser.parse, the parser will sometimes throw an exception because the string includes special characters in unexpected ways (e.g. search for &...
1
vote
0
answers
55
views
Why is Elasticsearch mapping my non-date string "24.." to type date?
I’m running a fresh Elasticsearch instance with default config to evaluate dynamic mapping. However, I encountered an unexpected behavior - a field containing an obviously non-date string is being ...
1
vote
1
answer
80
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 ...
0
votes
0
answers
129
views
Fortify Issues -> lucene-core vulnerable due to Memory Allocation with Excessive Size Value
lucene-core has vulnerable issue and caught in the sonatype-2025-000439. Fortify identified as High priority issue.
Is there any other ways to get rid of this issue from Fortify? Any work arounds can ...
0
votes
0
answers
250
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
68
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 ...
1
vote
1
answer
266
views
using lucene 10 how to load an index from a directory
So I am trying to use Lucene in a simple project and every search returns examples of how to do this on 10+ year old versions of lucene where entire packages referenced dont even exist anymore.
I have ...
3
votes
0
answers
141
views
sorting by exact match of multi-field
I'm parsing JMdict (XML DTD), and I'm searching queries by keb, reb, and gloss fields. I'm adding fields to the Documents like so:
Document
keb
reb
gloss
A
明日
あした
tomorrow
あす
near future
みょうにち
--------...
-2
votes
1
answer
268
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:
...
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
54
views
How to retrieve original vector from Lucene
When indexing vector fields, Lucene doesn't allow specifying the vector field as stored (by calling FieldType.setStored(true)) — it throws IllegalStateException: Cannot store value of type class [F. ...
0
votes
1
answer
52
views
Solr Nested Documents
I am trying to figure out how to index nested documents in Solr 8. I have found examples that talk about doing this but none provide a schema.xml.
schema.xml
<schema name="example-data-driven-...
1
vote
0
answers
33
views
LUCENE: Sorting a tokenized string field ALMOST works perfectly as of version 10.0.0
My team has come across an error that only happens with a particular sort condition.
We are using the latest release(10.0.0) and contrary to things we've read in older documentation, sorting on ...
0
votes
1
answer
84
views
How do I get expected results when searching in MongoDB (Atlas)
Issue
I get "Alice Maria Bobsson" when I search with "Alicex Flicex" (Solution 1)
I don't get "Alice Maria Bobsson" when I search with "Alice Bobsson" (...