You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2008/09/22 20:28:44 UTC
[jira] Resolved: (LUCENE-336) [PATCH] Add ability to specify the
segment name when optimizing an index
[ https://issues.apache.org/jira/browse/LUCENE-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless resolved LUCENE-336.
---------------------------------------
Resolution: Won't Fix
Assignee: (was: Lucene Developers)
I think it's too dangerous to offer an API through IndexWriter to pick the name of segments that are written.
> [PATCH] Add ability to specify the segment name when optimizing an index
> ------------------------------------------------------------------------
>
> Key: LUCENE-336
> URL: https://issues.apache.org/jira/browse/LUCENE-336
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Index
> Affects Versions: CVS Nightly - Specify date in submission
> Environment: Operating System: All
> Platform: All
> Reporter: Eric Isakson
> Priority: Minor
> Attachments: optimizeWithSegmentName.patch.diff
>
>
> In my application I need to keep the filenames in my index from changing from
> one index build to the next. I modified the index writer to allow me to supply
> a segment name when I optimize the index. I thought this might be useful to
> others, so I'm attaching a patch with my change.
> This patch is against the CVS HEAD on January 18th, 2005 around 3:30pm Eastern
> Time
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org