Hello all!

Not sure if this is a bug, but.
I've added an index to one of collection and noticed performance improvement when searching for a document with given key, but since then no XPath queries find me what I request. Index addition line was:


xindice.bat ai -l -c /db/videos/movies -n movie_identity -p [EMAIL PROTECTED]

   And XPath that worked earlier but not any more:

xindice.bat xpath -l -c /db/videos/movies -q "[EMAIL PROTECTED]'somekey']"

After deleting an index XPath queries works again.
And something else... From time to time when I delete indexes, I receive this WARNing:


[WARN] IndexManager - -ignored exception <org.apache.xindice.core.filer.FilerException: Filer is closed>org.apache.xindice.core.filer.FilerException: Filer is closed
at org.apache.xindice.core.filer.Paged.checkOpened(Paged.java:549)
at org.apache.xindice.core.filer.BTreeFiler.readRecord(BTreeFiler.java:76)
at org.apache.xindice.core.Collection.getEntry(Collection.java:695)
at org.apache.xindice.core.indexer.IndexManager.populateNewIndexers(IndexManager.java:323)
at org.apache.xindice.core.indexer.IndexManager.access$400(IndexManager.java:57)
at org.apache.xindice.core.indexer.IndexManager$PopulateIndexersTimerTask.run(IndexManager.java:628)
at java.util.TimerThread.mainLoop(Timer.java:432)
at java.util.TimerThread.run(Timer.java:382)


   But index creates well.

--
Veniamin Fichin



Reply via email to