GUI Textindex: false although true

Wednesday, 16 December 2015 · 3 messages
BG
Benjamin Gathmann16 Dec 2015 11:05 #
I use the GUI of the current release 8.3.1. I have played around with the options in BaseX to test the speed of CREATE and ADD operations. Now the GUI "Open and manage" box shows me for any DB I create: Up-to-date: true TEXTINDEX: false ATTRINDEX: false However, I have never set TEXTINDEX or ATTRINDEX to false, and the files in the "data" directory suggest that the indexes are there, as does a "GET TEXTINDEX" (returns "true"). I only made the following changes: set updindex true; set autooptimize true; set autoflush false;
-- joe-security-logo Joe Security LLC Benjamin Gathmann, Developer & Support business parc Reinach, Christoph Merian-Ring 11, 4153 Reinach, Switzerland benjamin.gathmann at joesecurity.org <mailto:benjamin.gathmann at joesecurity.org>, http://www.joesecurity.org ------------------------------------------------------------------------ The information contained in this email and any attachments is confidential and may be subject to copyright or other intellectual property protection. If you are not the intended recipient, you are not authorized to use or disclose this information, and we request that you notify us by reply mail or telephone and delete the original message from your mail system.
CG
Christian Grün16 Dec 2015 14:59 #
Hi Benjamin,
Quoted text · Benjamin Gathmann · 5 lines
> I have played around with the options in BaseX to test the speed of CREATE and ADD operations. > Now the GUI "Open and manage" box shows me for any DB I create: > Up-to-date: true > TEXTINDEX: false > ATTRINDEX: false
The reason is the autoflush flag: The meta data has not been written to disk yet. "true" will be displayed once you close the database in the GUI.
Quoted text · Benjamin Gathmann · 1 line
> as does a "GET TEXTINDEX" (returns "true").
Please be aware that this command will always give you the value of the global option. You can use INFO DB to get info on the currently opened database. Hope this helps, Christian
Quoted text · Benjamin Gathmann · 15 lines
> > I only made the following changes: > set updindex true; set autooptimize true; set autoflush false; > > -- > > Joe Security LLC > > Benjamin Gathmann, Developer & Support > business parc Reinach, Christoph Merian-Ring 11, 4153 Reinach, Switzerland > benjamin.gathmann at joesecurity.org, http://www.joesecurity.org > > ________________________________ > > The information contained in this email and any attachments is confidential and may be subject to copyright or other intellectual property protection. If you are not the intended recipient, you are not authorized to use or disclose this information, and we request that you notify us by reply mail or telephone and delete the original message from your mail system.
CG
Christian Grün16 Dec 2015 15:09 #
PS: I’ve just added a little flush call, which will now be called before the database dialog is opened. The new snapshot is available in a few minutes [1]. Christian [1] http://files.basex.org/releases/latest/
Quoted text · Christian Grün · 39 lines
On Wed, Dec 16, 2015 at 2:59 PM, Christian Grün <christian.gruen at gmail.com> wrote: > Hi Benjamin, > >> I have played around with the options in BaseX to test the speed of CREATE and ADD operations. >> Now the GUI "Open and manage" box shows me for any DB I create: >> Up-to-date: true >> TEXTINDEX: false >> ATTRINDEX: false > > The reason is the autoflush flag: The meta data has not been written > to disk yet. "true" will be displayed once you close the database in > the GUI. > >> as does a "GET TEXTINDEX" (returns "true"). > > Please be aware that this command will always give you the value of > the global option. You can use INFO DB to get info on the currently > opened database. > > Hope this helps, > Christian > > >> >> I only made the following changes: >> set updindex true; set autooptimize true; set autoflush false; >> >> -- >> >> Joe Security LLC >> >> Benjamin Gathmann, Developer & Support >> business parc Reinach, Christoph Merian-Ring 11, 4153 Reinach, Switzerland >> benjamin.gathmann at joesecurity.org, http://www.joesecurity.org >> >> ________________________________ >> >> The information contained in this email and any attachments is confidential and may be subject to copyright or other intellectual property protection. If you are not the intended recipient, you are not authorized to use or disclose this information, and we request that you notify us by reply mail or telephone and delete the original message from your mail system.

⚡Generated with XQuery