lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] Resolved: (LUCENE-336) [PATCH] Add ability to specify the segment name when optimizing an index
Date Mon, 22 Sep 2008 18:28:44 GMT


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:
>             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:
For additional commands, e-mail:

View raw message