|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Defines Methods for using a FullTextIndex. Returns { @link org.tm4j.topicmap.index.fulltext.QueryResult }
objects containing org.tm4j.topicmap.index.fulltext.QueryHit`s the concrete syntax of the query
depends on the concrete implementation
| Field Summary | |
static java.lang.String |
ID
Lucene Field name for topicMapObject Idīs |
static java.lang.String |
LINK
Lucene Field name for indexed links (occurrence.datalocator) |
static java.lang.String |
PARENT_ID
Lucene Field name for topicMapObject parentIdīs |
static java.lang.String |
VALUE
Lucene Field name for indexed values (occurrence.data, basename.value etc.) |
| Method Summary | |
QueryResult |
findByText(java.lang.String query,
boolean includeURIs)
This causes the FullTextIndex to be queried for the given query. |
| Methods inherited from interface org.tm4j.topicmap.index.Index |
close, isOpen, open, reindex |
| Field Detail |
public static final java.lang.String ID
public static final java.lang.String PARENT_ID
public static final java.lang.String VALUE
public static final java.lang.String LINK
| Method Detail |
public QueryResult findByText(java.lang.String query,
boolean includeURIs)
throws IndexException
query - the Query String following the FullTextEngine Query SyntaxincludeURIs - wether to also index uriīs
IndexException - thrown if no index is available or it is corrupted
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||