lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
Subject Re: Non-index files under the search directory
Date Tue, 22 Nov 2016 10:13:39 GMT
Lucene won't merge foreign files for you, and in general it's
dangerous to put such files into Lucene's index directory because if
they look like codec files Lucene may delete them.

Can you just add a StoredField to each document to hold your information?

Mike McCandless

On Mon, Nov 21, 2016 at 11:38 PM, Xiaolong Zheng
<> wrote:
> Hello,
> I am trying to adding some meta data into the search data base. Instead of
> adding a new search filed or adding a phony document, I am looking at the
> method, which is create new
> file in the search directory.
> I am wondering does indexwriter can also merge this non-index file while it
> merging multiple search index?
> And if I am stepping back a little bit, what's is the best way to add meta
> data into the search database.
> For example, I would like to add a indicator which is showing the different
> kind of stemmer is being used while it created.
> Thanks,
> --Xiaolong

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message