Hello,
I'm a little bit confused with indexes auto update mechanism. Having created a DB with UPDINDEX=true, and after inserting nodes, 'info database' shows : Indexes Up-to-date: false Text Index: ON Attribute Index: ON Full-Text Index: OFF
whereas UPDINDEX=true. After issuing 'optimize', Up-to-date come back to true and FT index to ON.
Does this mean index are not automatically updated if 'optimize' is not run?
I use BaseX73-20120528.232116.jar
Is there any comprehensive documentation about index update mechanism?
Thank-you, Gilles.
Hi Gilles,
I’m a little bit confused with indexes auto update mechanism.
our incremental update feature is still work-in-progress, which is we haven’t included it in all interfaces yet (e.g., the GUI). However, the existing functionality is well-tested and has proven to be stable. As the info command shows, text and attribute indexes will always be up-to-date. In the final version, the full-text index and database statistics will be updated, too (and the output will be less confusing).
Is there any comprehensive documentation about index update mechanism?
Dimitar’s master thesis will give you in-depth information on how incremental updates work:
http://files.basex.org/publications/Popov%20%5b2012%5d,%20Advanced%20Storage...
Some more hints (which you’ve probably already seen) are given in our documentation:
http://docs.basex.org/wiki/Indexes#Value_Indexes http://docs.basex.org/wiki/Options#UPDINDEX
Best, Christian ___________________________
Having created a DB with UPDINDEX=true, and after inserting nodes, ‘info database’ shows :
Indexes
Up-to-date: false
Text Index: ON
Attribute Index: ON
Full-Text Index: OFF
whereas UPDINDEX=true.
After issuing ‘optimize’, Up-to-date come back to true and FT index to ON.
Does this mean index are not automatically updated if ‘optimize’ is not run?
I use BaseX73-20120528.232116.jar
Thank-you,
Gilles.
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
basex-talk@mailman.uni-konstanz.de