I suppose it depends on the version. On Sun, Mar 2, 2025 at 10:55 AM Ralf Heyde <ralf.he...@gmx.de.invalid> wrote:
> 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 <m...@apache.org>: > > > > 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 console that should answer your questions. > > > >> On Sun, Mar 2, 2025 at 12:21 AM Daniel Cerqueira <dan.l...@lispclub.com > > > >> wrote: > >> > >> 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? > >> - Which codec does it uses? > >> - What command line do I use (in a terminal) to create a lucene index > >> with the same version as the files above? > >> > >> Cheers. > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > >> For additional commands, e-mail: java-user-h...@lucene.apache.org > >> > >> > > > > -- > > Sincerely yours > > Mikhail Khludnev > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > > -- Sincerely yours Mikhail Khludnev