|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides additional methods related to eXist's indexing system.
Method Summary | |
void |
configureCollection(java.lang.String configData)
|
Occurrences[] |
getIndexedElements(boolean inclusive)
Returns frequency statistics on all elements and attributes contained in the structure index for the current collection. |
void |
reindexCollection()
Reindex the current collection, i.e. |
void |
reindexCollection(java.lang.String collectionPath)
Deprecated. Use XmldbURI version instead |
void |
reindexCollection(XmldbURI collectionPath)
Reindex the collection specified by its path. |
Occurrences[] |
scanIndexTerms(java.lang.String start,
java.lang.String end,
boolean inclusive)
Queries the fulltext index to retrieve information on indexed words contained in the index for the current collection. |
Occurrences[] |
scanIndexTerms(java.lang.String xpath,
java.lang.String start,
java.lang.String end)
Queries the fulltext index to retrieve information on indexed words occurring within the set of nodes identified by a given XPath expression. |
Methods inherited from interface org.xmldb.api.base.Service |
getName, getVersion, setCollection |
Methods inherited from interface org.xmldb.api.base.Configurable |
getProperty, setProperty |
Method Detail |
public void configureCollection(java.lang.String configData) throws XMLDBException
XMLDBException
public void reindexCollection() throws XMLDBException
XMLDBException
public void reindexCollection(java.lang.String collectionPath) throws XMLDBException
collectionPath
-
XMLDBException
public void reindexCollection(XmldbURI collectionPath) throws XMLDBException
collectionPath
-
XMLDBException
public Occurrences[] getIndexedElements(boolean inclusive) throws XMLDBException
inclusive
-
XMLDBException
public Occurrences[] scanIndexTerms(java.lang.String start, java.lang.String end, boolean inclusive) throws XMLDBException
Occurrences
for all
words contained in the index. If param end is null, all words starting with
the string sequence param start are returned. Otherwise, the method
returns all words that come after start and before end in lexical order.
start
- end
- inclusive
-
XMLDBException
public Occurrences[] scanIndexTerms(java.lang.String xpath, java.lang.String start, java.lang.String end) throws XMLDBException
Occurrences
for all
words contained in the index. If param end is null, all words starting with
the string sequence param start are returned. Otherwise, the method
returns all words that come after start and before end in lexical order.
xpath
- start
- end
-
XMLDBException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |