lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Willnauer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-6714) Expose version and resource description in CorruptIndexException and friends
Date Mon, 03 Aug 2015 16:01:05 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-6714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14652027#comment-14652027
] 

Simon Willnauer commented on LUCENE-6714:
-----------------------------------------

> Looks good. Can we change resourceDescription/resourceDesc to just be one way for all
3 exceptions? Then they will have a consistent API. I prefer the longer one personally.

sure thing!

> Expose version and resource description in CorruptIndexException and friends
> ----------------------------------------------------------------------------
>
>                 Key: LUCENE-6714
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6714
>             Project: Lucene - Core
>          Issue Type: Improvement
>    Affects Versions: 5.2.1
>            Reporter: Simon Willnauer
>            Priority: Minor
>             Fix For: 5.3, Trunk
>
>         Attachments: LUCENE-6714.patch, LUCENE-6714.patch
>
>
> It would be nice to access the minVersion, maxVersion in IndexTooNewException and IndexTooOldException
as well as the resoruce description in CorruptIndexException programmatically. I'd love to
use this to support better serialization on top of those exception as well as structured responses
from the individual values. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message