11,956 questions
0
votes
0
answers
68
views
Azure AI Search Synonym Maps not working as intended
I'm having trouble setting up the synonym mapping feature in Azure AI Search. My results are very inconsistent, and I don't understand why. The documentation isn't very helpful either. Has anyone else ...
1
vote
0
answers
123
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
1
answer
70
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
234
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
244
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 ...
-2
votes
1
answer
238
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
1
answer
46
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. ...
1
vote
0
answers
29
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 ...
1
vote
1
answer
42
views
Can we emulate a batch get type of query in Elastic search, what would be the time complexity?
I have a use case where I might need to query <18000 records by their primaryIds. Currently we have these records in a DynamoDb. We want to be able to get all these records under <1s. So far I ...
0
votes
1
answer
56
views
Can not remove stop words using StandardAnalyzer from Apache Lucene
I use below code to remove stop words from string but it not working:
package com.example;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.apache.lucene....
0
votes
1
answer
51
views
How to handle alphanumeric combinations (like "Hotel101") in Elasticsearch query results with multi_match?
I am working with Elasticsearch and I have an index that contains entries with alphanumeric combinations like "Hotel101 fort". When I search using a query like "Hotel 101 fort", I ...
1
vote
1
answer
61
views
How different types of indexes are stored in elastic search?
In elastic search, the data is divided into lucene indexes which in-turn contain several sub-indexes or lucene segments, and each segment could be independently queried.
If we have an index with ...
1
vote
0
answers
55
views
Lucene query time joins not working, return zero results
I am trying to perform a query time join of two separate indexes, with different document types, using Lucene query time join.
Each index is valid, and they share a common "ID" Long value ...
0
votes
1
answer
280
views
Reading a quite old Apache Lucene index failed using latest version 10.0.0
Windows 10
Lucene 10.0.0
JDK 23.0
I'm new to Lucene and Java, trying to open an index which I believe is 8-10 years old. There are four files in the directory:
Name
Size
_0.cfx
47,942 KB
_s.cfs
1,78,...
2
votes
0
answers
76
views
Confirming Dynamic Core Discovery in Solr 8 Legacy Cloud Mode and Changes in Solr 9
I’m currently working with a Solr 8.11 SolrCloud setup that uses legacyCloud=true in clusterprops.json. I’ve noticed that in this setup, Solr dynamically creates collections and cores upon startup ...
0
votes
1
answer
42
views
Exact search in elasticsearch vs search in list with one value
Is it any difference between exact search query for one value and search query IN list of value with one value.
Let me explain with sql notation.
E.g. for posgtres doesn't matter
Select "name&...
0
votes
1
answer
116
views
Lucene.net basics
I'm struggling with some of the basic concepts, so would be grateful for an explanation of which type of fields to use in what situation (e.g. String or Text), and any relevant parameters (e.g. Field....
1
vote
0
answers
60
views
Solr delete multiple synonyms at once in managed resources
How do I do a bulk delete of some synonyms in the Managed Resource Api.
I find it strange that the documentation only talk about about how to delete
synonyms one at a time. It will be quite sad if we ...
0
votes
1
answer
165
views
solr error SolrException: Error loading solr config from C:\SOLR\solr-9.6.1\core_name\conf\solrconfig.xml Please check your logs for more information
Being new to solr, I recently came across this error in my Solr Admin UI:
core_name:
org.apache.solr.common.SolrException:org.apache.solr.common.SolrException:
Could not load conf for core core_name: ...
1
vote
0
answers
40
views
TF/IDF not considerend for score on a wildcard match
I have noticed, a match on a wildcard search with a custom boost, always adds the full boost to the score. If a match on dame^45, the score of 45 is added, from the score-debug:
45.0 = max of:
45....
0
votes
0
answers
58
views
"Package is not visible" error thrown after upgrading the package version
I have a forked out code of lucene 9.10.0 . When I tried to upgrade versions of one of their dependencies org.apache.commons:commons-compress=1.19 to org.apache.commons:commons-compress=1.26.1, i am ...
-2
votes
1
answer
202
views
Hibernate Search Lucene with file system
I'm new to Hibernate-Search 7.1.1.Final and trying to achieve some basic functionality to work taking reference of this. I'm able to index the data. But can't make the search work. Each time I make ...
-1
votes
1
answer
36
views
Extracting ELK Index Log
I have a log in ELK index like below
2024-06-24T05:05:26.31412196Z stdout F {"time": "2024-06-24T05:05:26+00:00", "remote_addr": "-", "x_forwarded_for"...
2
votes
1
answer
55
views
Elasticsearch, exact documant match
I want to perform an exact match on elasticsearch but the exact match should be on document not on the search string. for example:
I created this index:
PUT /indexName
{
"mappings": {
&...
0
votes
1
answer
36
views
I can't seem to find org.apache.lucene.facet.search.params.IFieldSet in Lucene 4.1.0 source even though the JAR from maven has it
I'm trying to migrate the Lucene jars for our product from 4.1.0 to the latest if possible. I noticed that we seem to be using org.apache.lucene.facet.search.params.IFieldSet derived classes for our ...