|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SearchEngine
Method Summary | |
---|---|
boolean |
add(java.util.Collection objects)
Adds search index documents for the argument object collection. |
boolean |
add(java.lang.Object o)
Adds search index document for the argument object. |
boolean |
optimize()
Requests optimization |
boolean |
remove(java.util.Collection objects)
Removes search index documents for the argument object collection. |
boolean |
remove(java.lang.Object o)
Removes search index document for the argument object. |
SearchResults |
search(java.lang.String query)
Searches documents by the query. |
SearchResults |
search(java.lang.String query,
java.lang.String defaultFieldName)
Searches documents by the query against the default field name. |
SearchResults |
search(java.lang.String query,
java.lang.String defaultFieldName,
int topHitsCount)
Searches documents by the query against the default field name. |
boolean |
update(java.util.Collection objects)
Updates the search index documents for the argument object collection. |
boolean |
update(java.lang.Object o)
Updates the search index document for the argument object. |
Method Detail |
---|
boolean add(java.lang.Object o)
Note: Normally, it is more efficient to invoke add(Collection)
.
o
-
org.apache.jetspeed.search.ObjectHandler}
,
org.apache.jetspeed.search.ParsedObject}
boolean add(java.util.Collection objects)
objects
-
boolean remove(java.lang.Object o)
Note: Normally, it is more efficient to invoke remove(Collection)
.
o
-
boolean remove(java.util.Collection objects)
objects
-
boolean update(java.lang.Object o)
Note: Normally, it is more efficient to invoke update(Collection)
.
o
-
boolean update(java.util.Collection objects)
objects
-
boolean optimize()
SearchResults search(java.lang.String query)
query
-
SearchResults search(java.lang.String query, java.lang.String defaultFieldName)
query
- defaultFieldName
-
SearchResults search(java.lang.String query, java.lang.String defaultFieldName, int topHitsCount)
query
- defaultFieldName
- topHitsCount
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |