lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Lu" <chris...@gmail.com>
Subject how to change the segment file names
Date Wed, 07 May 2008 22:53:19 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.

How to change the segmant file names after it's built?
Or, how to set a different starting counter for the segment file names?

Thanks!

-- 
Chris Lu
-------------------------
Instant Scalable Full-Text Search On Any Database/Application
site: http://www.dbsight.net
demo: http://search.dbsight.com
Lucene Database Search in 3 minutes:
http://wiki.dbsight.com/index.php?title=Create_Lucene_Database_Search_in_3_minutes
DBSight customer, a shopping comparison site, (anonymous per request) got
2.6 Million Euro funding!

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message