Thank you for your response Anders,

I have a collection consisting of 360000 documents. I deleted a (unique)
index
and I am now trying to regenerate it with no luck.
The error I get is as follows, I have no idea what this is about. What is
even more
strange, is that none of my Xpath queries work after deleting the index!
According to the documentation, Xpath does NOT require an index (but it
performs better
if there is one.)


^GDEBUG> Index Creation: order_id_ix
^GDEBUG>
org.apache.xindice.core.filer.BTreeCorruptException: Invalid Page Type In
query
        at
org.apache.xindice.core.filer.BTree$BTreeNode.query(BTree.java:887)
        at
org.apache.xindice.core.filer.BTree$BTreeNode.query(BTree.java:878)
        at
org.apache.xindice.core.filer.BTree$BTreeNode.query(BTree.java:878)
        at org.apache.xindice.core.filer.BTree.query(BTree.java:236)
        at
org.apache.xindice.core.filer.BTreeFiler$BTreeFilerRecordSet.<init>(BTreeFile
r.java:237)
        at
org.apache.xindice.core.filer.BTreeFiler.getRecordSet(BTreeFiler.java:219)
        at
org.apache.xindice.core.indexer.IndexManager.populateNewIndexers(IndexManager
.java:308)
        at
org.apache.xindice.core.indexer.IndexManager.access$300(IndexManager.java:85)
        at
org.apache.xindice.core.indexer.IndexManager$AutoIndexer.run(IndexManager.jav
a:616) 


> -----Original Message-----
> From: Anders Conrad [mailto:[EMAIL PROTECTED]
> Sent: 2. april 2002 12:53
> To: xindice-users@xml.apache.org
> Subject: Re: A question about re-indexing
> 
> 
> Yes, that is possible, and yes, the index will be populated 
> according to the
> existing xml documents in the collection.
> 
> Anders
> 
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <xindice-users@xml.apache.org>
> Sent: Tuesday, April 02, 2002 12:29 PM
> Subject: A question about re-indexing
> 
> 
> Hi again,
> 
> Is it possible to regenerate an index if someone (accidentally or
> deliberately) deletes the index?
> Will the generating process (xindiceadmin add_indexer) 
> populate the index
> with the values of the -p <tag> for all the existing xml 
> documents in the
> database?
> 
> Thank you!
> 

Reply via email to