|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FullTextSearchControl<T>
This control leverages the full text search capabilites of a full-fledged search engine to search both metadata and binary text. Note that using "*" for the property will search all metadata parameters.
Method Summary | |
---|---|
SortableFilterablePagedResult<T> |
allOfTheseWords(String[] allWords)
Search text and optionally properties that contain all of these words |
SortableFilterablePagedResult<T> |
anyOfTheseWords(String[] anyWords)
Search text and optionally properties that contain any of these words |
void |
clearMetadataParameters()
Clear existing metadata parameters on the control |
Set<String> |
getSearchDatabases()
Show available databases to search. |
TextSearchBuilder |
getTextSearchBuilder()
Access the TextSearchBuilder for more complex query construction for text |
SortableFilterablePagedResult<T> |
search(String[] allWords,
String[] anyWords,
String exactPhrase)
Construct a FullTextSearch object that will search metadata and text based on all of these restrictions. |
void |
setMetadataParameter(IMetadataQueryParameter param)
Add other restrictions on properties. |
void |
setMetadataParameters(IMetadataQueryParameter[] param)
Add other restrictions on properties. |
void |
setSearchDatabases(Set<String> databases)
Once we know from which databases we can choose, we can limit the search to that set of databases. |
void |
setSearchScope(GroupSpaceSearch.FullTextScope scope)
Set the search scope of the control. |
SortableFilterablePagedResult<T> |
textContains(String text)
Text contains this value todo: give examples |
SortableFilterablePagedResult<T> |
textEquals(String text)
Match the exact value |
Methods inherited from interface com.bea.apps.groupspace.search.controls.SearchControl |
---|
asList, asSet, flushSearchCache, getSortCriteria, setSortCriteria |
Method Detail |
---|
SortableFilterablePagedResult<T> search(String[] allWords, String[] anyWords, String exactPhrase) throws Exception
Exception
void setSearchScope(GroupSpaceSearch.FullTextScope scope)
void clearMetadataParameters()
void setMetadataParameter(IMetadataQueryParameter param)
void setMetadataParameters(IMetadataQueryParameter[] param)
void setSearchDatabases(Set<String> databases) throws Exception
Exception
SortableFilterablePagedResult<T> textEquals(String text) throws Exception
Exception
SortableFilterablePagedResult<T> textContains(String text) throws Exception
Exception
SortableFilterablePagedResult<T> allOfTheseWords(String[] allWords) throws Exception
Exception
SortableFilterablePagedResult<T> anyOfTheseWords(String[] anyWords) throws Exception
Exception
Set<String> getSearchDatabases() throws Exception
Exception
TextSearchBuilder getTextSearchBuilder()
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |