You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Michał Brzezicki <mb...@gmail.com> on 2013/01/18 18:37:31 UTC

Tool for Lucene storage recovery

Hi,

I have created simple tool for recovering data from corrupted storage files
in lucene (*.fdt). Code is available here http://pastebin.com/nmF0j4np you
just have to implement method "handleDocument".

Hope you will never have to use it :)

-- 
Michał

Re: Tool for Lucene storage recovery

Posted by Erick Erickson <er...@gmail.com>.
P.S. Or just attach the code without your customized doc recovery
stuff with a note about how to carry it forward? That way someone
could pick it up if interested and generalize it.

Best
Erick

On Mon, Jan 21, 2013 at 12:37 PM, Erick Erickson
<er...@gmail.com> wrote:
> Maybe do the handling as an overridable method and make it abstract?
> That would give the skeleton of all the recovery stuff, but then
> require the user to implement the actual recovery?
>
> Just a thought
> Erick
>
> On Mon, Jan 21, 2013 at 9:06 AM, Michał Brzezicki <mb...@gmail.com> wrote:
>> I don't think it is possible to simply compile it as jar since you need to
>> implement handling of recovered documents.
>>
>> --
>> Michał
>>
>> 2013/1/19 Simon Willnauer <si...@gmail.com>
>>
>>> hey,
>>>
>>> do you wanna open a jira issue for this and attach your code? this
>>> might help others too and if the shit hits the fan its good to have
>>> something in the lucene jar that can bring some data back.
>>>
>>> simon
>>> On Fri, Jan 18, 2013 at 6:37 PM, Michał Brzezicki <mb...@gmail.com>
>>> wrote:
>>> > in lucene (*.fdt). Code is available here http://pastebin.com/nmF0j4npyou
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>>
>>>

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


Re: Tool for Lucene storage recovery

Posted by Erick Erickson <er...@gmail.com>.
Maybe do the handling as an overridable method and make it abstract?
That would give the skeleton of all the recovery stuff, but then
require the user to implement the actual recovery?

Just a thought
Erick

On Mon, Jan 21, 2013 at 9:06 AM, Michał Brzezicki <mb...@gmail.com> wrote:
> I don't think it is possible to simply compile it as jar since you need to
> implement handling of recovered documents.
>
> --
> Michał
>
> 2013/1/19 Simon Willnauer <si...@gmail.com>
>
>> hey,
>>
>> do you wanna open a jira issue for this and attach your code? this
>> might help others too and if the shit hits the fan its good to have
>> something in the lucene jar that can bring some data back.
>>
>> simon
>> On Fri, Jan 18, 2013 at 6:37 PM, Michał Brzezicki <mb...@gmail.com>
>> wrote:
>> > in lucene (*.fdt). Code is available here http://pastebin.com/nmF0j4npyou
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>
>>

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


Re: Tool for Lucene storage recovery

Posted by Michał Brzezicki <mb...@gmail.com>.
I don't think it is possible to simply compile it as jar since you need to
implement handling of recovered documents.

-- 
Michał

2013/1/19 Simon Willnauer <si...@gmail.com>

> hey,
>
> do you wanna open a jira issue for this and attach your code? this
> might help others too and if the shit hits the fan its good to have
> something in the lucene jar that can bring some data back.
>
> simon
> On Fri, Jan 18, 2013 at 6:37 PM, Michał Brzezicki <mb...@gmail.com>
> wrote:
> > in lucene (*.fdt). Code is available here http://pastebin.com/nmF0j4npyou
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Re: Tool for Lucene storage recovery

Posted by Simon Willnauer <si...@gmail.com>.
hey,

do you wanna open a jira issue for this and attach your code? this
might help others too and if the shit hits the fan its good to have
something in the lucene jar that can bring some data back.

simon
On Fri, Jan 18, 2013 at 6:37 PM, Michał Brzezicki <mb...@gmail.com> wrote:
> in lucene (*.fdt). Code is available here http://pastebin.com/nmF0j4np you

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