xml-xindice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schuster" <Christian.Schus...@edv-konzepte.com>
Subject RE: broken db?
Date Wed, 07 Apr 2004 10:09:27 GMT
-----------------------------------
From: Christian Schuster 
Sent: Tuesday, 6. April 2004 16:48
To: xindice-users@xml.apache.org
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)


Mime
View raw message