[ 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to