Changes

Jump to navigation Jump to search
17 bytes added ,  14:11, 14 August 2012
no edit summary
| '''Summary'''
|A new full-text index will drop tokens that are listed in the specified stopword list. A stopword list may decrease the size of the full text index. A standard stopword list for English texts is provided in the directory {{Code|etc/stopwords.txt}} in the official releases.
|}
 
===WRITEBACK===
{|
|-
| width='90' | '''Signature'''
|{{Code|WRITEBACK}}
|-
| '''Default'''
|{{Code|false}}
|-
| '''Summary'''
|Updates on XML nodes are written back to the input files. Note that no backups of your original files will be created if this option is turned on.
|}
| '''Summary'''
|Enables all [[XQuery 3.0]] features supported by BaseX. If this option is set to {{Code|false}}, the XQuery parser will only accept expressions of the XQuery 1.0 specification.
|}
 
===SERIALIZE===
{|
|-
| width='90' | '''Signature'''
|{{Code|SERIALIZE}}
|-
| '''Default'''
|{{Code|true}}
|-
| '''Summary'''
|Results of XQuery expressions will be serialized if this option is turned on. For debugging purposes and performance measurements, this option can be set to {{Code|false}}.
|}
| '''Examples'''
|<code>$a=1,$b=2</code> &nbsp; binds the values {{Code|1}} and {{Code|2}} to the variables $a and $b<br/><code>a=1,,2</code> &nbsp; binds the value {{Code|1,2}} to the variable $a<br/><code>{URI}a=x</code> or <code>'URI':a=x</code> &nbsp; binds the value {{Code|x}} to the variable $a with the namespace {{Code|URI}}.
|}
 
===SERIALIZER===
{|
|-
| width='90' | '''Signature'''
|{{Code|SERIALIZER [params]}}
|-
| '''Default'''
|''empty''
|-
| '''Summary'''
|Contains parameters for serializing queries; see [[Serialization]] for more details. Keys and values are separated by equality signs, and multiple parameters are delimited by commas.
|-
| '''Example'''
|<code>encoding=US-ASCII,omit-xml-declaration=no</code> : sets the encoding to {{Code|US-ASCII}} and prints the XML declaration.
|}
 
===EXPORTER===
{|
|-
| width='90' | '''Signature'''
|{{Code|EXPORTER [params]}}
|-
| '''Default'''
|''empty''
|-
| '''Summary'''
|Contains parameters for exporting all resources of a database; see [[Serialization]] for more details. Keys and values are separated by equality signs, multiple parameters are delimited by commas.
|}
|}
===AUTOFLUSHLSERROR===
{|
|-
| width='90' | '''Signature'''
|{{Code|AUTOFLUSHLSERROR [error]}}
|-
| '''Default'''
|{{Code|true0}}
|-
| '''Summary'''
|Flushes database buffers to disk after each update. If this This option is set to {{Code|false}}, bulk operations (multiple single updates) will be evaluated faster. As a drawback, specifies the chance of data loss increases if maximum Levenshtein error for the database is not explicitly flushed via BaseX-specific fuzzy match option. See the page on [[CommandsFull-Text#FLUSHFuzzy_Querying|FLUSHFull-Texts]] commandfor more information on fuzzy querying.
|}
===MAXSTATRUNS===
{|
|-
| width='90' | '''Signature'''
|{{Code|MAXSTAT RUNS [num]}}
|-
| '''Default'''
|{{Code|301}}
|-
| '''Summary'''
|Specifies the maximum Specify number of index occurrences printed runs a query is executed by the <code>[[Commands#INFOXQUERY|INFO INDEXXQUERY]]</code> command. The result is only serialized once, and the measured times are averages of all runs.
|}
=Serialization Options= =LSERROR==SERIALIZE===
{|
|-
| width='90' | '''Signature'''
|{{Code|LSERROR [error]SERIALIZE}}
|-
| '''Default'''
|{{Code|0true}}
|-
| '''Summary'''
|This Results of XQuery expressions will be serialized if this option specifies the maximum Levenshtein error for the BaseX-specific fuzzy match is turned on. For debugging purposes and performance measurements, this option. See the page on [[Full-Text#Fuzzy_Queryingcan be set to {{Code|Full-Texts]] for more information on fuzzy queryingfalse}}.
|}
===RUNSSERIALIZER===
{|
|-
| width='90' | '''Signature'''
|{{Code|RUNS SERIALIZER [numparams]}}
|-
| '''Default'''
|{{Code|1}}''empty''
|-
| '''Summary'''
|Specify number of runs a query is executed by the Contains parameters for serializing queries; see [[Commands#XQUERY|XQUERYSerialization]] commandfor more details. The result is only serialized onceKeys and values are separated by equality signs, and multiple parameters are delimited by commas.|-| '''Example'''|<code>encoding=US-ASCII,omit-xml-declaration=no</code> : sets the encoding to {{Code|US-ASCII}} and prints the measured times are averages of all runsXML declaration.
|}
===EXPORTER==={||-| width='90' | '''Signature'''|{{Code|EXPORTER [params]}}|-| '''Default'''|''empty''|-| '''Summary'''|Contains parameters for exporting all resources of a database; see [[Serialization Options=]] for more details. Keys and values are separated by equality signs, multiple parameters are delimited by commas.|}
===XMLPLAN===
| '''Summary'''
|Location of the {{Code|dotty}} executable.
|}
 
=Other Options=
 
===AUTOFLUSH===
{|
|-
| width='90' | '''Signature'''
|{{Code|AUTOFLUSH}}
|-
| '''Default'''
|{{Code|true}}
|-
| '''Summary'''
|Flushes database buffers to disk after each update. If this option is set to {{Code|false}}, bulk operations (multiple single updates) will be evaluated faster. As a drawback, the chance of data loss increases if the database is not explicitly flushed via the [[Commands#FLUSH|FLUSH]] command.
|}
 
===WRITEBACK===
{|
|-
| width='90' | '''Signature'''
|{{Code|WRITEBACK}}
|-
| '''Default'''
|{{Code|false}}
|-
| '''Summary'''
|Updates on XML nodes are written back to the input files. Note that no backups of your original files will be created if this option is turned on.
|}
 
===MAXSTAT===
{|
|-
| width='90' | '''Signature'''
|{{Code|MAXSTAT [num]}}
|-
| '''Default'''
|{{Code|30}}
|-
| '''Summary'''
|Specifies the maximum number of index occurrences printed by the <code>[[Commands#INFO|INFO INDEX]]</code> command.
|}
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu