Changes

Jump to navigation Jump to search
879 bytes added ,  14:03, 17 January 2016
=Value Indexes=
Value indexes can be created and dropped by the user. By default, the text and attribute index will be created, and all text and attribute nodes will be indexed.  In the GUI, index structures can be managed in the dialog windows for creating new databases or displaying the database properties. On command-line, the commands <code>[[Commands#CREATE INDEX|CREATE INDEX]]</code> and <code>[[Commands#DROP INDEX|DROP INDEX]]</code> are used to create and drop index structures. With <code>[[Commands#INFO INDEX|INFO INDEX]]</code>, you get some insight into the contents of an index structure, and <code>[[Commands#SET|SET]]</code> allows you to change the index defaults for new databases: * <code>OPEN factbook; CREATE INDEX fulltext</code>: Open database; create full-text index* <code>SET ATTRINDEX true; SET ATTRINCLUDE id name; CREATE DB factbook.xml</code>: Enable attribute index; only index 'id' and 'name' attributes; create database* <code>OPEN factbook; INFO INDEX TOKEN</code>: Open database; show info on token index Four types of values indexes are available: a text and attribute index, and an optional token and full-text index.:
==Text Index==
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu