public interface RelatedSearch
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Integer>> |
findFacetRanges(java.util.List<FacetRangeField> facetRanges,
java.lang.String resourceTypeFilter,
java.lang.String componentFilter,
int count)
Return a list of categories [Facets] grouped by the range gap.
|
FacetSearchResult |
findFacets(java.util.List<java.lang.String> fieldNames,
java.util.List<FacetRangeField> facetRanges,
java.lang.String resourceTypeFilter,
java.lang.String componentFilter,
int count)
Return a list of categories [Facets] and their counts and ranges grouped by the range gap.
|
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Integer>> |
findFacets(java.util.List<java.lang.String> fieldNames,
java.lang.String resourceTypeFilter,
java.lang.String componentFilter,
int count)
Return a list of categories [Facets] and their counts for multiple fields.
|
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Integer>> |
findFacets(java.util.List<java.lang.String> fieldNames,
java.lang.String resourceTypeFilter,
java.lang.String componentFilter,
int count,
boolean isVisibleOnly)
Return a list of categories [Facets] and their counts for multiple fields.
|
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Integer>> |
findFacets(java.util.List<java.lang.String> fieldNames,
java.lang.String resourceTypeFilter,
java.lang.String componentFilter,
int count,
boolean isVisbleOny,
boolean includeChildren)
Return a list of categories [Facets] and their counts for multiple fields.
|
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Integer>> |
findFacets(java.lang.String scName,
java.util.List<java.lang.String> fieldNames,
java.lang.String resourceTypeFilter,
java.lang.String componentFilter,
int count)
Deprecated.
Use method without the scName argument.
|
java.util.Map<java.lang.String,java.lang.Integer> |
findFacets(java.lang.String scName,
java.lang.String fieldName,
java.lang.String resourceTypeFilter,
java.lang.String componentFilter,
int count)
Return a list of categories [Facets] and their counts for a field.
|
java.util.List<java.lang.String> |
findMLT(java.lang.String scName,
java.lang.String query,
java.lang.String resourceTypeFilter,
java.lang.String componentFilter,
java.lang.String[] mltFields,
int maxResults,
int minTermFreq,
int minDocFreq)
Return a list of related elements, given a query.
|
java.util.List<java.lang.String> |
findMLT(java.lang.String scName,
java.lang.String query,
java.lang.String statusFilter,
java.lang.String resourceTypeFilter,
java.lang.String componentFilter,
java.lang.String[] mltFields,
int maxResults,
int minTermFreq,
int minDocFreq)
Return a list of related elements, given a query.
|
java.util.List<java.lang.String> findMLT(java.lang.String scName, java.lang.String query, java.lang.String statusFilter, java.lang.String resourceTypeFilter, java.lang.String componentFilter, java.lang.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.java.util.List<java.lang.String> findMLT(java.lang.String scName, java.lang.String query, java.lang.String resourceTypeFilter, java.lang.String componentFilter, java.lang.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.java.util.Map<java.lang.String,java.lang.Integer> findFacets(java.lang.String scName, java.lang.String fieldName, java.lang.String resourceTypeFilter, java.lang.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 java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Integer>> findFacets(java.lang.String scName, java.util.List<java.lang.String> fieldNames, java.lang.String resourceTypeFilter, java.lang.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.java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Integer>> findFacets(java.util.List<java.lang.String> fieldNames, java.lang.String resourceTypeFilter, java.lang.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.java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Integer>> findFacets(java.util.List<java.lang.String> fieldNames, java.lang.String resourceTypeFilter, java.lang.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.isVisbleOny
- Should include drafts and spam posts etcincludeChildren
- Should Subpaths be includedRepositoryException
- thrown when there are issues with repository.java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Integer>> findFacets(java.util.List<java.lang.String> fieldNames, java.lang.String resourceTypeFilter, java.lang.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.java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Integer>> findFacetRanges(java.util.List<FacetRangeField> facetRanges, java.lang.String resourceTypeFilter, java.lang.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(java.util.List<java.lang.String> fieldNames, java.util.List<FacetRangeField> facetRanges, java.lang.String resourceTypeFilter, java.lang.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 - 2020 Adobe Systems Incorporated. All Rights Reserved"