Jump to navigation Jump to search
631 bytes added ,  16:37, 9 December 2010
===General options===
: Show internal debug info, usually used for development of new features.
: 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.
;<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>.
;<code>serverport [PORT]</code>: Client/server communication: <code>PORT:</code>, used for starting the server.
;<code>restport [PORT]</code>: Client/server communication: <code>PORT:</code>, used for starting the REST server.
;<code>host [HOST]</code>: Client/server communication: <code>HOST:</code>, used for connecting new clients.
;<code>port [PORT]</code>: Client/server communication: <code>PORT:</code>, used for connecting new clients.
===Database options===
;<code>dbpath [PATH]</code>: Set a new database <code>PATH:</code>.
: Chop all XML whitespace nodes and reduce the memory consumption of the database without lack of information.
: Use internal XML parser instead of standard Java XML parser and reduce main memory consumption.
: Internal parser parses XML entities.
: Internal parser parses a DTD and checks the parsed XML data against the DTD.
: Create index for paths and speedup path based queries.
: Create index for text nodes and speedup queries querying the entire text of a node.
: Create index for attribute values and speedup queries querying attribute values.
: Create index for fulltext and speedup queries querying full text.
: Create wildcard optimized full text index that is especially tuned for querying full text using wildcards expressions.
: 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.
: 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.
: 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.
;<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>.
;<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.
;<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>.
;<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>.
;<code>createfilter [FILTER]</code>: Path for filtering xml documents, e.g. <code>FILTER</code> could be <code>'*.xml':</code>.
;<code>compress [MODE]</code>: Compress text in database. Activate with setting <code>MODE: </code> to <code>1</code>
===Query options===
: Show (all) process info.
: Flag for serialization of query results. I.e. there are any results printed if serialization is turned off.
: Serialize query results as XML, i.e. the result output is a valid xml document.
;<code>serializer [ARGS]</code>: Serialization parameters <code>ARGS:</code>, separated by commas.
;<code>exporter [ARGS]</code>: Exporter serialization parameters <code>ARGS:</code>, separated by commas.
;<code>runs [NUM]</code>
: Specify number of runs a query is executed. Results are printed a single time and evaluation times are averages of all runs.
: Loading database table into main memory and speedup evaluation times.
===Print query options===
;<code>dotplan</code>: Create query plans visualized with [ dotty], see <code>'': </code> file in your project folder.
: Compact dot representation.
: Display dot representation after query execution.
;<code>dotty [PATH]</code>: Program <code>PATH: </code> of dotty executable.
: Print query plan as xml document.
: Create query plan before or after compilation - query plan might change due to optimizations.
: Cache the query results.
;<code>maxtext [SIZE]</code>: Maximum text size to be displayed, e.g. <code>SIZE</code> could be <code>1024: </code> for displaying maximal 1024 bytes.
;<code>maxstat [NUM]</code>: Set maximum number of index occurrences to print (through the command info index), e.g. <code>NUM</code> could be <code>15: </code> for displaying fifteen index occurrences.
: Write original files back after updates.
===DeepFS options===
: Import file metadata.
: Import file content.
: Import xml contents.
;<code>fstextmax [SIZE]</code>: Maximal size of textual imports, e.g. <code>SIZE</code> could be <code>1024: </code> for importing less equal 1024 bytes.
: Verbose debug informations for file system traversal.
: Fuse support.
: Spotlight integration on mac platforms, i.e. the spotlight index is used instead of the internal parser implementations.
administrator, Bureaucrats, editor, Interface administrators, reviewer, Administrators


Navigation menu