RE: Need help for conversion code from Lucene 2.4.0 to 8.11.2

2023-02-13 Thread Saha, Rajib
Hi Uwe, Thanks for the detailed clarification. We are brain storming, how we can achieve our part on the points of IndexOutput. I have a question. Can it be possible someway to make the content of the file output in IndexOutput in a readable format? Our moto is to compare the content of the fil

Re: Computing multiple different aggregations over a match-set in one pass

2023-02-13 Thread Greg Miller
Hi Stefan- That helps, thanks. I'm a bit confused about where you're concerned with iterating over the match set multiple times. Is this a situation where the ordinals you want to facet over are stored in different index fields, so you have to create multiple Facets instances (one per field) to co

Lucene Hunspell Spell checker

2023-02-13 Thread Thanos Agelakpoulos
Hello, I'm trying to create a java-wrapper library to lang-detect and then spell check for the detected languages. I'm currently using Apache Tika as a lang detector and i'm trying to use lucene.analysis.hunspell package for spell-checking, as i've i seen it supports many languages.My issue is,

How to highlight fields that are not stored?

2023-02-13 Thread Shifflett, David [USA]
Hi, I am converting my application from reading documents into memory, then indexing the documents to streaming the documents to be indexed. I quickly found out this required that the field NOT be stored. I then quickly found out that my highlighting code requires the field to

Lucene 5.2.1 and Java 17

2023-02-13 Thread Claude Lepère
Hi all. We are using Lucene 5.2.1 with Java 8. Will there be compatibility problems when upgrading to Java 17 while keeping Lucene 5.2.1 in a first stage? Many thanks in advance. Claude Lepère

Re: Lucene Hunpell Spell checker

2023-02-13 Thread Dawid Weiss
It'd be good if you could share the problematic scenario as a piece of code (ideally a forked Lucene repository, with a test case?) so that we can take a look. There's been a ton of improvements to hunspell packages in Lucene 9 (and on the main branch) - you should take a look and perhaps take some

Compare / Diff between stored values of two lucene indexes.

2023-02-13 Thread David Port Louis
Hello, I'm trying to take the diff between the stored doc vals of two lucene indexes just like taking diff between two tables in SQL. My current approach is two query both the indexes in java and check for the equality of the result. Is there any other efficient method to perform the same. Thanks

RE: Lucene Hunpell Spell checker

2023-02-13 Thread Thanos Agelakpoulos
*here

Lucene Hunpell Spell checker

2023-02-13 Thread Thanos Agelakpoulos
Hello, I'm trying to create a java-wrapper library to lang-detect and then spell check for the detected languages. I'm currently using Apache Tika as a lang detector and i'm trying to use lucene.analysis.hunspell package for spell-checking, as i've i seen it supports many languages.My issue is,