Re: No inline metadata reader available for version 109

Natalia Shilenkova <[email protected]> Tue, 25 Jan 2011 22:33:42 -0500
Newsgroups gmane.text.xml.xindice.user
Message-ID <[email protected]>
On Jan 25, 2011, at 2:19 PM, Andre Juffer wrote:

> On 01/25/2011 09:14 PM, Natalia Shilenkova wrote:
>>>>> What would be the appropriate course of action to resolve this =
issue. Is
>>>>> there a way to extract the binary file in another way (not =
XML-based) so
>>>>> that I manually delete the affected entry.
>>>>>=20
>>>>> XIndice version: v1.1b5-dev
>>>>>=20
>>>>=20
>>>> Andre,
>>>>=20
>>>> Are you trying to retrieve the corrupted document from the database =
or
>>>> just delete it? If it is the latter, then the simplest way, I =
think, is to
>>>> create new empty collection and load the existing documents.
>>>=20
>>> Yes, I thought already that is probably the way to go. It will be
>>> cumbersome.
>>=20
>> Yes, it can take a while, depending on the size of a collection... I
>> think it may be possible to delete the corrupted entry using =
low-level
>> API that doesn't try to interpret the data, but I would strongly
>> recommend rebuilding the collection anyway, just to be sure that =
there
>> are no hidden problems.
>=20
> On the other hand, the way I've set things up is that there are =
related XMl documents in the database with names (ids) likes 23-0.0, =
23-0.1, 23-0.2 etc So, I can retrieve groups of related XML documents =
with one command. If I can insert them also as groups (collection) then =
it going to be a lot easier.
>=20
> I am pretty sure that I going to rebuild the collection. Looks more =
straightforward. It could be accomplished with a simple script.

There is also Xindice command-line tool that has import and export =
options. If my memory serves me right, import reads files in a directory =
and creates entries in the collection with ids that correspond to file =
names, but I don't think it supports binary data. Would something like =
import make the migration easier?=20

Regards,
Natalia


>=20
> Thanks,
> Andre
>=20
>=20
> --=20
> Andre H. Juffer              | Phone: +358-8-553 1161
> Biocenter Oulu and           | Fax: +358-8-553-1141
> Department of Biochemistry   | Email: [email protected]
> University of Oulu, Finland  | WWW: www.biochem.oulu.fi/Biocomputing/
> StruBioCat                   | WWW: www.strubiocat.oulu.fi
> NordProt                     | WWW: www.nordprot.org
> Triacle Biocomputing         | WWW: www.triacle-bc.com