Hi,
I have been using CmdIndexBuild.java a lot recently always without problems.
CmdIndexBuild uses BPlusTreeRewriter to build a BPlusTree.
By the way, great peace of code, very useful and fast: thanks Andy!.

CmdIndexBuild calls .sync() on the BPlusTree object, but not .close().

Should we call .close() just to be sure or .sync() it's fine?

(I am trying to nail down a sort of "intermittent" problem and I spotted
this while I was investigating possible causes).

I do not think this is a problem, but double checking and/or calling .close()
is not a bad idea.

Cheers,
Paolo

[1] http://svn.apache.org/repos/asf/incubator/jena/Jena2/TDB/trunk/src/main/java/com/hp/hpl/jena/tdb/store/bulkloader2/CmdIndexBuild.java

Reply via email to