@ProviderType
public interface UgcSearch
| Modifier and Type | Method and Description |
|---|---|
SearchResults<Resource> |
find(java.lang.String scName,
ResourceResolver resolver,
UgcFilter filter,
int offset,
int limit)
Deprecated.
|
SearchResults<Resource> |
find(java.lang.String scName,
ResourceResolver resolver,
UgcFilter filter,
int offset,
int limit,
boolean requiresTotal)
Perform a search with a component filter returning resources.
|
SearchResults<Resource> |
find(java.lang.String scName,
ResourceResolver resolver,
UgcFilter filter,
int offset,
int limit,
boolean requiresTotal,
java.lang.String fieldLanguage)
Perform a search with a component filter returning resources.
|
SearchResults<Node> |
find(java.lang.String scName,
Session session,
UgcFilter filter,
int offset,
int limit)
Deprecated.
|
int |
getIndex(java.lang.String scName,
Session session,
UgcFilter listing,
java.lang.String targetPath,
long added)
Return the index of the target in the search result.
|
@Deprecated SearchResults<Node> find(java.lang.String scName, Session session, UgcFilter filter, int offset, int limit) throws RepositoryException
find(String, ResourceResolver, UgcFilter, int, int, boolean)scName - the name of the search collection.session - the user session.filter - the query filters.offset - the result offset.limit - the result limit.RepositoryException - thrown when there are issues with repository.@Deprecated SearchResults<Resource> find(java.lang.String scName, ResourceResolver resolver, UgcFilter filter, int offset, int limit) throws RepositoryException
find(String, ResourceResolver, UgcFilter, int, int, boolean)scName - the name of the search collection.resolver - the user session.filter - the query filters.offset - the result offset.limit - the result limit.RepositoryException - thrown when there are issues with repository.SearchResults<Resource> find(java.lang.String scName, ResourceResolver resolver, UgcFilter filter, int offset, int limit, boolean requiresTotal) throws RepositoryException
scName - the name of the search collection.resolver - the user session.filter - the query filters.offset - the result offset.limit - the result limit.requiresTotal - true iff the total number of matches needs to be returned in the search resultsRepositoryException - thrown when there are issues with repository.SearchResults<Resource> find(java.lang.String scName, ResourceResolver resolver, UgcFilter filter, int offset, int limit, boolean requiresTotal, java.lang.String fieldLanguage) throws RepositoryException
scName - the name of the search collection.resolver - the user session.filter - the query filters.offset - the result offset.limit - the result limit.requiresTotal - true iff the total number of matches needs to be returned in the search resultsfieldLanguage - search will be queried against verbatim_fieldLanguage. This can be changed in the SOLR
request handler.RepositoryException - thrown when there are issues with repository.int getIndex(java.lang.String scName,
Session session,
UgcFilter listing,
java.lang.String targetPath,
long added)
throws RepositoryException
scName - the name of the search collection.session - the user session.listing - the query filters.targetPath - the path of the target.added - the date that the target was added.RepositoryException - thrown when there are issues with repository.Copyright © 2010 - 2023 Adobe. All Rights Reserved