Skip to end of metadata
Go to start of metadata

When searching with keywords, you can also use the syntax of the full text search (FTS) queries.

Common query expression structure

A FTS query consists of a series of statements, joined by the operators AND & OR. If the operator between two statements is omitted, then AND is used by default. Brackets are not supported in these expressions. A single statement has the following structure:

1. 2. 3.
feature-name:
keyword-pattern

There are three main parts, that must not be separated by any spaces:

  1. The feature name determines the part of the KIM document where the search will be performed. The word "body" is reserved to perform searches over the document body. If this part is omitted, the search is performed over the document body by default.
  2. This is the customizable part of the statement. It is always enclosed in angle brackets. In general, this part is omitted except for the following implementation using this field:
    • For document storage running over Oracle'TM' Relational Database (RDB), this part is treated as x-path descriptor. It works correctly only if the underlying text is in XML format and if it is properly indexed. It allows directing the keyword search into a specific part of the text. Also, it supports filter conditions for the attribute values.
  3. The Keyword pattern is the only mandatory parameter. It applies to a single alphanumeric keyword or a part of a keyword complemented with wildcards. There are two wildcards that could be used: "?" to represent any single character and ""* to represent 0 or more characters.

Complex example

body:


OR

The query contains two statements concatenated by OR. It will be interpreted like this:

Find documents that:

contain "serious" in the section Abstract, that is a subsection of Introduction,

OR

contain words starting with "library" in the feature of the document named "document_source".

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.