| Previous Topic | Contents | Next Topic |

Query language

"Archivarius 3000" is a system which understands natural language queries (English for example). But to obtain maximum capability, we recommend using the query language.

The Query language of "Archivarius 3000" is compatible with the query language of Internet search system Google (www.google.com).

Query example:

+"news of sport" -weather -politic ~"sport news"

This query means that these documents must contain the phrase "news of sport" (because there is "+" symbol) and, if possible, the phrase "sports news" ("if possible" because there is "~" symbol) – but it must contain neither the word "weather" nor the word "politic" (because they were written with "-" symbol).

Operators

Operator | Description
+ or without symbol | Word MUST BE in a document. For example, [ +weather ] or simple [ weather ].
- | Word MUST NOT BE in a document. For example, [ -politic ].
~ | Word CAN BE in a document, but it isn't necessarily. For example, [ ~sport ].
"..." | A quotation mark allows you to search the exact phrase with the same word sequence. For example, query "sports news" will show all the documents with the same phrase.
[...] | Square brackets, in effect, are very similar to quotation marks, but they allow you to search documents which contain words from phrases in any sequence but no more then ten words apart. For example, query [sport's news] will show all documents where "sport's" and "news" appear with no more then 10 words between them.
* | Searching by mask allows you to search words by using only a part of them. An asterisk means any numbers of symbols. For example, query "generat*" will show all the documents with words which are starting from "generat" and have any end (for example words "generation", "generate" and so on). The asterisk can be placed in any part of word once or twice.
? | A question mark signifies a placeholder for an unidentified single symbol. For example, query "mo?se" will show all the documents with words with any symbol in the place of the question mark, like "mouse" and "morse". Question marks can be placed in any part of word once or twice.
filetype:txt | Searching by file extension. For example, filetype:pdf will search in PDF files. It is possible to specify several parameters in single query: filetype:pdf filetype:doc filetype:txt.
dir:"c:\folder\*" | Searching in specified path. This path may contain mask characters like "*" and "?". For example, dir:"c:\*" will search all files on disk C: in all sub-folders. But dir:"c:\" will search files in root of C: without sub-folders. It is possible to specify several parameters in single query: dir:"c:\*" dir:"d:\folder\*".
filename:"*report*" | Searching by file name without full path. This name may contain mask characters like "*" and "?". It is possible to specify several parameters in single query.
zone:"alias" | Searching in specified index base. Alias may contain mask characters like "*" and "?". You can setup zone alias in "Index settings" dialog. To search in all zones use zone:"*". It is possible to specify several parameters in single query.

| Previous Topic | Contents | Next Topic |