-----------------------------------
From: Christian Schuster
Sent: Tuesday, 6. April 2004 16:48
To: [email protected]
Subject: broken db?
>
>Hi,
>
>what can be the reason if a correctly stored document can't be found?
>Do tools exist that examine and repair a database?
>Actually I use Xindice 1.1b3 embedded.
>
><Person>
> <Name>test</Name>
> <Firma>
> <FirmaID>1cbac12c68351506000000fba55a088f</FirmaID>
> </Firma>
></Person>
>
>The following XPathQuery works:
>/Person[Name='test']
>
>And this one doesn't work, although it does for hundreds of other documents:
>/Person[//FirmaID='1cbac12c68351506000000fba55a088f']
>
>
>Indexers have been added some time ago (using Xindice 1.0):
>call xindiceadmin add_indexer -c /db/plunet/person -n nameindex -p Name
>call xindiceadmin add_indexer -c /db/plunet/person -n firmaindex -p FirmaID
>
>thanks for Your time,
> Christian
Hi again,
I solved the problem by deleting and re-adding the indexers with Xindice 1.0.
However, I got an Error while doing so, perhaps You can use that:
java.io.EOFException
at java.io.DataInputStream.readInt(Unknown Source)
at
org.apache.xindice.xml.sax.SAXEventGenerator.processContainer(SAXEventGenerator.java:254)
at
org.apache.xindice.xml.sax.SAXEventGenerator.start(SAXEventGenerator.java:342)
at
org.apache.xindice.core.indexer.IndexManager$SAXHandler.<init>(IndexManager.java:462)
at
org.apache.xindice.core.indexer.IndexManager.populateNewIndexers(IndexManager.java:318)
at
org.apache.xindice.core.indexer.IndexManager.access$300(IndexManager.java:85)
at
org.apache.xindice.core.indexer.IndexManager$AutoIndexer.run(IndexManager.java:616)