lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: how to change the segment file names
Date Sat, 10 May 2008 16:43:10 GMT
: Currently, segment file names all start with _0, and increase with each new
: segment created. But seems there is no easy way to change the segment file
: names.
: 
: This causes trouble when copying one index to another index's directory, if
: the .cfs files have the same name.

This isn't something that's really supported in Lucene.  A Lucene index is 
a directory -- you should treat the entire directory as special, and not 
add your own files (or files from another Lucene index) in to it.


-Hoss


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message