Got it. Currently I don't use any custom codecs.

2013/9/18 Adrien Grand <jpou...@gmail.com>

> Hi,
>
> Since Lucene 4.0 which introduced codecs, it is not possible anymore
> to know based on filename extensions whether files have been created
> by Lucene or not: every codec is free to use any file extension.
>
> On Wed, Sep 18, 2013 at 1:03 PM, Yonghui Zhao <zhaoyong...@gmail.com>
> wrote:
> > In lucene 4.3.0 there is no IndexFileNameFilter.
> >
> > And I find in org.apache.lucene.index.IndexFileNames the index file
> > extensions have  only 3 types.
> >
> >
> > public static final String INDEX_EXTENSIONS[] = new String[] {
> >     COMPOUND_FILE_EXTENSION,
> >     COMPOUND_FILE_ENTRIES_EXTENSION,
> >     GEN_EXTENSION,
> >   };
> >
> >
> > But there should be  many extensions  such as: fdt fdx fnm. ...
> >
> > I want to know if there is any elegant way to filter these extensions
> > rather than list all extensions by myself.
>
>
>
> --
> Adrien
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>
>

Reply via email to