Re: How can I know the lucene index version from files

2025-03-01 Thread Ralf Heyde
Hey, You might use ‚luke‘ to figure it out. Luke is part of the lucene project and a tool to look into indexes. Cheers Ralf Von meinem Telefon gesendet, etwaige Rechtschreibfehler kann ich nicht ausschliessen > Am 02.03.2025 um 08:18 schrieb Mikhail Khludnev : > > Hi Daniel. > Giving >Lucene

Re: How can I know the lucene index version from files

2025-03-01 Thread Mikhail Khludnev
Hi Daniel. Giving >Lucene41< my bet it's written by 4.1..4.9 version. Presumably you may get 4.9 (a decade old, heh) and invoke https://lucene.apache.org/core/4_9_0/demo/overview-summary.html#Searching_Files Or write a snippet of code, which opens a Directory\IndexReader and then print it to conso

How can I know the lucene index version from files

2025-03-01 Thread Daniel Cerqueira
I have this lucene index files, in a directory: ``` $ ls _1p.fdt _1p.fdx _1p.fnm _1p_Lucene41_0.doc _1p_Lucene41_0.pos _1p_Lucene41_0.tim _1p_Lucene41_0.tip _1p.nvd _1p.nvm _1p.si segments_1 segments.gen write.lock ``` - How can I know which is the version of this lucene index? -

Re: apache-lucene blowing up with large file

2025-03-01 Thread Dawid Weiss
The simple answer is - split your large text document into smaller documents, then use the same command but give it the folder where those smaller fragments are. This said, I think you should take a look at using the Java API directly, Daniel. You'll have a lot more control over how you index your