public interface RelatedSearch
| Modifier and Type | Method and Description |
|---|---|
Map<String,Map<String,Integer>> |
findFacetRanges(List<FacetRangeField> facetRanges,
String resourceTypeFilter,
String componentFilter,
int count)
Return a list of categories [Facets] grouped by the range gap.
|
FacetSearchResult |
findFacets(List<String> fieldNames,
List<FacetRangeField> facetRanges,
String resourceTypeFilter,
String componentFilter,
int count)
Return a list of categories [Facets] and their counts and ranges grouped by the range gap.
|
Map<String,Map<String,Integer>> |
findFacets(List<String> fieldNames,
String resourceTypeFilter,
String componentFilter,
int count)
Return a list of categories [Facets] and their counts for multiple fields.
|
Map<String,Map<String,Integer>> |
findFacets(List<String> fieldNames,
String resourceTypeFilter,
String componentFilter,
int count,
boolean isVisibleOnly)
Return a list of categories [Facets] and their counts for multiple fields.
|
Map<String,Map<String,Integer>> |
findFacets(List<String> fieldNames,
String resourceTypeFilter,
String componentFilter,
int count,
boolean isVisbleOny,
boolean includeChildren)
Return a list of categories [Facets] and their counts for multiple fields.
|
Map<String,Map<String,Integer>> |
findFacets(String scName,
List<String> fieldNames,
String resourceTypeFilter,
String componentFilter,
int count)
Deprecated.
Use method without the scName argument.
|
Map<String,Integer> |
findFacets(String scName,
String fieldName,
String resourceTypeFilter,
String componentFilter,
int count)
Return a list of categories [Facets] and their counts for a field.
|
List<String> |
findMLT(String scName,
String query,
String resourceTypeFilter,
String componentFilter,
String[] mltFields,
int maxResults,
int minTermFreq,
int minDocFreq)
Return a list of related elements, given a query.
|
List<String> |
findMLT(String scName,
String query,
String statusFilter,
String resourceTypeFilter,
String componentFilter,
String[] mltFields,
int maxResults,
int minTermFreq,
int minDocFreq)
Return a list of related elements, given a query.
|
List<String> findMLT(String scName, String query, String statusFilter, String resourceTypeFilter, String componentFilter, String[] mltFields, int maxResults, int minTermFreq, int minDocFreq) throws RepositoryException
scName - The name of the search collection.query - The string to search for.resourceTypeFilter - The resource type to filter on.componentFilter - The path of the component to filter on.statusFilter - The status to filter on.mltFields - Node properties to search on.maxResults - The maximum results returned.minTermFreq - The frequency which terms will be ignored in the source docminDocFreq - The frequency at which words will be ignored which do not occur in at least this many docs.RepositoryException - thrown when there are issues with repository.List<String> findMLT(String scName, String query, String resourceTypeFilter, String componentFilter, String[] mltFields, int maxResults, int minTermFreq, int minDocFreq) throws RepositoryException
scName - The name of the search collection.query - The string to search for.resourceTypeFilter - The resource type to filter on.componentFilter - The path of the component to filter on.mltFields - Node properties to search on.maxResults - The maximum results returned.minTermFreq - The frequency which terms will be ignored in the source docminDocFreq - The frequency at which words will be ignored which do not occur in at least this many docs.RepositoryException - thrown when there are issues with repository.Map<String,Integer> findFacets(String scName, String fieldName, String resourceTypeFilter, String componentFilter, int count) throws RepositoryException
scName - The name of the search collection.fieldName - The field name to be retrieved [Ex: Author, CategoryDate, cq:Tags]resourceTypeFilter - The resource type to filter on.componentFilter - The path of the component to filter on.count - The maximum results returned.RepositoryException - thrown when there are issues with repository.@Deprecated Map<String,Map<String,Integer>> findFacets(String scName, List<String> fieldNames, String resourceTypeFilter, String componentFilter, int count) throws RepositoryException
scName - The name of the search collection.fieldNames - The field names to be retrieved [Ex: Author, CategoryDate, cq:Tags]resourceTypeFilter - The resource type to filter on.componentFilter - The path of the component to filter on.count - The maximum results returned.RepositoryException - thrown when there are issues with repository.Map<String,Map<String,Integer>> findFacets(List<String> fieldNames, String resourceTypeFilter, String componentFilter, int count) throws RepositoryException
fieldNames - The field names to be retrieved [Ex: Author, CategoryDate, cq:Tags]resourceTypeFilter - The resource type to filter on.componentFilter - The path of the component to filter on.count - The maximum results returned.RepositoryException - thrown when there are issues with repository.Map<String,Map<String,Integer>> findFacets(List<String> fieldNames, String resourceTypeFilter, String componentFilter, int count, boolean isVisbleOny, boolean includeChildren) throws RepositoryException
fieldNames - The field names to be retrieved [Ex: Author, CategoryDate, cq:Tags]resourceTypeFilter - The resource type to filter on.componentFilter - The path of the component to filter on.count - The maximum results returned.isVisibleOnly - Should include drafts and spam posts etcincludeChildren - Should Subpaths be includedRepositoryException - thrown when there are issues with repository.Map<String,Map<String,Integer>> findFacets(List<String> fieldNames, String resourceTypeFilter, String componentFilter, int count, boolean isVisibleOnly) throws RepositoryException
fieldNames - The field names to be retrieved [Ex: Author, CategoryDate, cq:Tags]resourceTypeFilter - The resource type to filter on.componentFilter - The path of the component to filter on.count - The maximum results returned.isVisibleOnly - Should Subpaths be includedRepositoryException - thrown when there are issues with repository.Map<String,Map<String,Integer>> findFacetRanges(List<FacetRangeField> facetRanges, String resourceTypeFilter, String componentFilter, int count) throws RepositoryException
facetRanges - The facet range (field, start, end, gap)resourceTypeFilter - The resource type to filter on.componentFilter - The path of the component to filter on.count - The maximum results returned.RepositoryException - thrown when there are issues with repository.FacetSearchResult findFacets(List<String> fieldNames, List<FacetRangeField> facetRanges, String resourceTypeFilter, String componentFilter, int count) throws RepositoryException
fieldNames - The field names for the counts [Ex: Author, CategoryDate, cq:Tags]facetRanges - The facet range (field, start, end, gap)resourceTypeFilter - The resource type to filter on.componentFilter - The path of the component to filter on.count - The maximum results returned.RepositoryException - thrown when there are issues with repository."Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"