Changes

Jump to navigation Jump to search
120 bytes added ,  23:54, 13 April 2011
==Indexes==
To support a wide variety of scenarios, the available full-text index canhandle different combinations of the match options defined in the XQuery Full TextRecommendation.By default, most indexing options are disabled. The GUI dialog dialogs for creating new databasesallows to choose or displaying the database properties contain a tab for choosing between all available options. On the command-line, the <code>SET</code> command has to can be used before the to activatefull-text indexing or creating a full-text index is created, either by for existing databases:* <code> SET FTINDEX on; CREATE INDEX fulltext DB FILENAME.xml</code> or* <code> SET FTINDEX on; CREATE DB FILENAME.xmlINDEX fulltext </code>.
The following indexing options are available:
* '''Language''': language-specific parsers wil be used; this option affects tokenization and stemming (if enabled). BaseX comes with built-in support for English and German. Additionally, other languages can be supported using stemmers from [http://lucene.apache.org/java/docs/index.html Lucene] or [http://snowball.tartarus.org Snowball]. If the corresponding JARs or classes are in the Java class-path, BaseX will automatically make use of them (<code>SET LANGUAGE DE</code>)
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu