Changes

Jump to navigation Jump to search
994 bytes removed ,  16:35, 9 December 2010
no edit summary
[on]/[off] or a value can be set:</p>
<h3>===General options</h3> <ul> <li><code>debug</code>: Show internal debug info, usually used for development of new features.</li> <li><code>mainmem</code>: Use main-memory mode. Now all data is stored exclusively in main memory and enables even faster evaluation times, but the data is lost after shut down of BaseX.</li> <li><code>timeout [TIME]</code>: Set server timeout in seconds. The timeout describes the maximum execution time of a query at the BaseX server. The timeout is deactivated if <code>TIME</code> is set to <code>0</code>.</li> <li><code>serverport [PORT]</code>: Client/server communication: <code>PORT</code>, used for starting the server.</li> <li><code>restport [PORT]</code>: Client/server communication: <code>PORT</code>, used for starting the REST server.</li> <li><code>host [HOST]</code>: Client/server communication: <code>HOST</code>, used for connecting new clients.</li> <li><code>port [PORT]</code>: Client/server communication: <code>PORT</code>, used for connecting new clients.</li> </ul> ===
<h3>Database options</h3> ;debug<ul> <li><code>dbpath [PATH]</code>: Set a new database <code>PATH</code>.</li> <li><code>chop</code>: Chop all XML whitespace nodes and reduce the memory consumption of the database without lack of information.</li> <li><code>intparse</code>: Use Show internal XML parser instead of standard Java XML parser and reduce main memory consumption.</li> <li><code>entity</code>: Internal parser parses XML entities.</li> <li><code>dtd</code>: Internal parser parses a DTD and checks the parsed XML data against the DTD.</li> <li><code>pathindex</code>: Create index for paths and speedup path based queries.</li> <li><code>textindex</code>: Create index for text nodes and speedup queries querying the entire text of a node.</li> <li><code>attrindex</code>: Create index for attribute values and speedup queries querying attribute values.</li> <li><code>ftindex</code>: Create index for fulltext and speedup queries querying full text.</li> <li><code>wildcards</code>: Create wildcard optimized full text index that is especially tuned for querying full text using wildcards expressions.</li> <li><code>stemming</code>: Stemm full text tokens before indexing and decrease index size. Should only be assigned for full text queries using stemmingdebug info, otherwise the full text index could not be assigned usually used for query speedups.</li> <li><code>casesens</code>: Case sensitive full text indexing, i.e. full text tokens are stored case sensitive and enables the assignment development of the full text index for case sensitive queriesnew features.</li> <li><code>diacritics</code>: Diacritic sensitive full text indexing, i.e. full text tokens are stored with diacritics and enables the assignment of the full text index for diacritic queries.</li> <li><code>language [LANG]</code>: Language for full-text search index, e.g. <code>LANG</code> can be set to <code>English</code> or <code>German</code>.</li> <li><code>scoring [MODE]</code>: Precalculation of full text scores and storage within the full text index structure. Enables TF/IDF based scores in full text queries and increases memory consumption while indexing. <code>MODE</code> can be set to <code>1</code> for document based scoring, <code>2</code> for text node based scoring and <code>0</code> for non scoring.</li> <li><code>stopwords [PATH]</code>: Specify stop word list at <code>PATH</code>, that could be used e.g. to decrease the full text index size. The standard stopword list (english) is provided at <code>'etc/xml/stopWords'</code>.</li> <li><code>lserror [ERROR]</code>: Levenshtein default error used for fuzzy search with BaseX specialized own FTMatchOption, e.g. <code>ERROR</code> could be <code>2</code>.</li> <li><code>createfilter [FILTER]</code>: Path for filtering xml documents, e.g. <code>FILTER</code> could be <code>'*.xml'</code>.</li> <li><code>compress [MODE]</code>: Compress text in database. Activate with setting <code>MODE</code> to <code>1</code></li> </ul>
<h3>Query options</h3> ;mainmem<ul> <li><code>queryinfo</code>: Show (Use main-memory mode. Now all) process info.</li> <li><code>serialize</code>: Flag for serialization of query results. I.e. there are any results printed if serialization is turned off.</li> <li><code>wrapoutput</code>: Serialize query results as XML, i.e. the result output is a valid xml document.</li> <li><code>serializer [ARGS]</code>: Serialization parameters <code>ARGS</code>, separated by commas.</li> <li><code>exporter [ARGS]</code>: Exporter serialization parameters <code>ARGS</code>, separated by commas.</li> <li><code>runs [NUM]</code>: Specify number of runs a query data is executed. Results are printed a single time and evaluation times are averages of all runs.</li> <li><code>tablemem</code>: Loading database table into stored exclusively in main memory and speedup enables even faster evaluation times, but the data is lost after shut down of BaseX.</li> </ul>
<h3>Print query options</h3> <ul> <li><code>dotplan</code>: Create query plans visualized with ;timeout [http://www.graphviz.org dottyTIME], see <code>'plan.dot'</code> file : Set server timeout in your project folderseconds.</li> <li><code>dotcompact</code>: Compact dot representation.</li> <li><code>dotdisplay</code>: Display dot representation after query The timeout describes the maximum execution.</li> <li><code>dotty [PATH]</code>: Program <code>PATH</code> time of dotty executable.</li> <li><code>xmlplan</code>: Print a query plan as xml document.</li> <li><code>compplan</code>: Create query plan before or after compilation - query plan might change due to optimizations.</li> <li><code>cachequery</code>: Cache at the query results.</li> <li><code>maxtext [SIZE]</code>: Maximum text size to be displayed, e.g. <code>SIZE</code> could be <code>1024</code> for displaying maximal 1024 bytesBaseX server.</li> <li>The timeout is deactivated if <code>maxstat [NUM]TIME</code>: Set maximum number of index occurrences is set to print (through the command info index), e.g. <code>NUM</code> could be <code>15</code> for displaying fifteen index occurrences.</li> 0<li><code>writeback</code>: Write original files back after updates.</li> </ul>
;serverport [PORT]<h3/code>DeepFS options: Client/server communication: <code>PORT:, used for starting the server. ;restport [PORT]</code>: Client/server communication: <code>PORT:, used for starting the REST server. ;host [HOST]</h3code> : Client/server communication: <code>HOST:, used for connecting new clients. ;port [PORT]</code>: Client/server communication: <ulcode> PORT:, used for connecting new clients. ===Database options=== ;dbpath [PATH]<li/code>: Set a new database <code>fsmetaPATH:. ;chop: Chop all XML whitespace nodes and reduce the memory consumption of the database without lack of information. ;intparse: Use internal XML parser instead of standard Java XML parser and reduce main memory consumption. ;entity: Internal parser parses XML entities. ;dtd: Internal parser parses a DTD and checks the parsed XML data against the DTD. ;pathindex: Create index for paths and speedup path based queries. ;textindex: Create index for text nodes and speedup queries querying the entire text of a node. ;attrindex: Create index for attribute values and speedup queries querying attribute values. ;ftindex: Create index for fulltext and speedup queries querying full text. ;wildcards: Create wildcard optimized full text index that is especially tuned for querying full text using wildcards expressions. ;stemming: Stemm full text tokens before indexing and decrease index size. Should only be assigned for full text queries using stemming, otherwise the full text index could not be assigned for query speedups. ;casesens: Case sensitive full text indexing, i.e. full text tokens are stored case sensitive and enables the assignment of the full text index for case sensitive queries. ;diacritics: Diacritic sensitive full text indexing, i.e. full text tokens are stored with diacritics and enables the assignment of the full text index for diacritic queries. ;language [LANG]</code>: Import file metadataLanguage for full-text search index, e.g.<code>LANG</licode> can be set to <code>English<li/code>or <code>fscontGerman:. ;scoring [MODE]</code>: Import file contentPrecalculation of full text scores and storage within the full text index structure. Enables TF/IDF based scores in full text queries and increases memory consumption while indexing.<code>MODE</licode> can be set to <code>1</code> for document based scoring, <code>2</code> for text node based scoring and <code>0: for non scoring. ;stopwords [PATH]<li/code>: Specify stop word list at <code>fsxmlPATH</code>, that could be used e.g. to decrease the full text index size. The standard stopword list (english) is provided at <code>'etc/xml/stopWords': Import xml contents. ;lserror [ERROR]</licode>: Levenshtein default error used for fuzzy search with BaseX specialized own FTMatchOption, e.g. <code> ERROR<li/code>could be <code>fstextmax 2:. ;createfilter [SIZEFILTER]</code>: Maximal size of textual importsPath for filtering xml documents, e.g. <code>SIZEFILTER</code> could be <code>1024'*.xml':. ;compress [MODE]</code>: Compress text in database. Activate with setting <code>MODE: to <code>1</code> ===Query options=== ;queryinfo: Show (all) process info. ;serialize: Flag for importing less equal 1024 bytesserialization of query results. I.e. there are any results printed if serialization is turned off. ;wrapoutput: Serialize query results as XML, i.e. the result output is a valid xml document. ;serializer [ARGS]</licode> : Serialization parameters <code>ARGS:, separated by commas. ;exporter [ARGS]<li/code>: Exporter serialization parameters <code>fsverboseARGS:, separated by commas. ;runs [NUM]: Specify number of runs a query is executed. Results are printed a single time and evaluation times are averages of all runs. ;tablemem: Loading database table into main memory and speedup evaluation times. ===Print query options=== ;dotplan</code>: Verbose debug informations for Create query plans visualized with [http://www.graphviz.org dotty], see <code>'plan.dot': file system traversalin your project folder. ;dotcompact: Compact dot representation. ;dotdisplay: Display dot representation after query execution. ;dotty [PATH]</licode>: Program <code> PATH: of dotty executable. ;xmlplan: Print query plan as xml document. ;compplan: Create query plan before or after compilation - query plan might change due to optimizations. ;cachequery: Cache the query results. ;maxtext [SIZE]</code>: Maximum text size to be displayed, e.g. <code>SIZE<li/code>could be <code>fuse1024: for displaying maximal 1024 bytes. ;maxstat [NUM]</code>: Fuse supportSet maximum number of index occurrences to print (through the command info index), e.g.<code>NUM</licode> could be <code>15: for displaying fifteen index occurrences. ;writeback: Write original files back after updates. ===DeepFS options=== ;fsmeta: Import file metadata. ;fscont: Import file content. ;fsxml: Import xml contents. ;fstextmax [SIZE]<li/code>: Maximal size of textual imports, e.g. <code>spotlightSIZE</code>could be <code>1024: for importing less equal 1024 bytes. ;fsverbose: Verbose debug informations for file system traversal. ;fuse: Fuse support. ;spotlight: Spotlight integration on mac platforms, i.e. the spotlight index is used instead of the internal parser implementations.</li> </ul>
administrator, Bureaucrats, editor, Interface administrators, reviewer, Administrators
401

edits

Navigation menu