When searching with keywords, you can also use the syntax of the full text search (FTS) queries.
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:
There are three main parts, that must not be separated by any spaces:
- 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.
- 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.
- 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.
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,
contain words starting with "library" in the feature of the document named "document_source".