|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SearchOpsV1
SearchOps is a Ticket interface for searching over Nodes and Properties and returning Node Ids that match the given criteria. It is also used for indexing Nodes.
Nested Class Summary | |
---|---|
static class |
SearchOpsV1.MethodName
|
Method Summary | |
---|---|
void |
indexContentByPath(String path)
Asynchronously index all indexable content at the specified path and below. |
void |
indexContentByType(ID typeId)
Asynchronously index all indexable content of the specified type. |
ID[] |
search(Search search)
Performs a search with the given parameters. |
Method Detail |
---|
ID[] search(Search search) throws RepositoryException
If this method returns null or empty array, the results will be interpreted as an empty result set.
search
- the search parameters (including the expression).
AuthorizationException
- - if the user attempting the operation is not authorized to perform it.
RepositoryException
- - if any other error occurs.Search.isFullTextSearch()
void indexContentByPath(String path) throws RepositoryException
If a repository has been running without search indexing enabled, this method can be used to reindex content.
This method should be used sparingly, as it can be quite expensive given a large amount of content.
path
- The path of the node on which to start the index operation.
RepositoryException
- if an error occursvoid indexContentByType(ID typeId) throws RepositoryException
If a repository has been running without search indexing enabled, this method can be used to reindex content.
This method should be used sparingly, as it can be quite expensive given a large amount of content.
typeId
- The ObjectClass ID
RepositoryException
- if an error occurs
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |