lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: how to change the segment file names
Date Sun, 11 May 2008 01:37:30 GMT
Of course, you can make use of addIndexes and merge existing indices that way.


Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch


----- Original Message ----
> From: Chris Hostetter <hossman_lucene@fucit.org>
> To: "java-user@lucene.apache.org" <java-user@lucene.apache.org>
> Sent: Saturday, May 10, 2008 12:43:10 PM
> Subject: Re: how to change the segment file names
> 
> : 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


---------------------------------------------------------------------
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