org.tm4j.topicmap.index.text.FullTextIndex .findByText(java.lang.String query,boolean includeURIs)

Description

This causes the FullTextIndex to be queried for the given query. The Hits are returned in a QueryResult object. The queries have to follow the syntax of the FullTextEngine used inside the implementation If no index is available or the index is corrupted, an IndexException is thrown

Parameters
boolean includeURIs wether to also index uri´s
java.lang.String query the Query String following the FullTextEngine Query Syntax

Throws

Returns

a QueryResult containing all Hits encoutered by this query

Other Resources

Related Topics