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] [Updated] (LUCENE-6714) Expose version and resource description in CorruptIndexException and friends
Date Mon, 03 Aug 2015 15:45:04 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-6714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Simon Willnauer updated LUCENE-6714:
------------------------------------
    Attachment: LUCENE-6714.patch

here is a simple patch

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