public interface SocialIndexer
| Modifier and Type | Field and Description |
|---|---|
static String |
REPORT_SUITE
To allow sharding on tenant id.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToIndex(Map<String,Object> data) |
long |
countChildren(String keyValue,
String baseType,
boolean visibleOnly) |
void |
delete(String key) |
String |
escapeQueryChars(String query)
Simply provide access to the same method in org.apache.solr.client.solrj.util.ClientUtils
|
FacetResults |
facetedSearch(String queryToAs,
List<String> facetFields,
List<String> pivotFields,
String rows,
String mincount,
boolean isPivot,
SocialDatabase database) |
SocialResourceSearchResult<Map<String,Object>> |
find(String component,
String solrQueryString,
List<SearchSortField> sortFields,
int offset,
int limit,
SocialDatabase database,
Map<String,Object> signals) |
FacetSearchResult |
findFacets(List<String> countFields,
List<FacetRangeField> rangeFields,
String resourceTypeFilter,
String componentFilter,
int count,
boolean visibleOnly,
boolean includeChildren) |
SocialResourceSearchResult<Map<String,Object>> |
findFacets(List<String> inPath,
List<String> notInPath,
List<String> fieldNames,
List<FacetRangeField> facetRanges,
String scoredQueryString,
int maxFacetCount,
List<SearchSortField> sortFields,
int offset,
int pageSize,
SocialDatabase database) |
List<Map<String,Object>> |
getMLTResults(String query,
String statusFilter,
String resourceTypeFilter,
String componentFilter,
List<String> mltField,
int maxResults,
int minTermFreq,
int minDocFreq,
SocialDatabase database) |
List<Map<String,Object>> |
nonFacetedSearch(String solrQueryString,
SocialDatabase database) |
List<String> |
readForDelete(String key,
int offset,
int limit)
Returns a list of 'id' matching the given key and its children
|
void |
setSolrConfig(int solrZKTimeout,
int commitWithin,
AbstractSchemaMapper mapper) |
void |
setupClient(SocialResourceConfiguration genericConfiguration) |
static final String REPORT_SUITE
void setupClient(SocialResourceConfiguration genericConfiguration) throws IOException
IOExceptionvoid addToIndex(Map<String,Object> data) throws IOException
IOExceptionvoid delete(String key)
FacetResults facetedSearch(String queryToAs, List<String> facetFields, List<String> pivotFields, String rows, String mincount, boolean isPivot, SocialDatabase database) throws PersistenceException
PersistenceExceptionList<Map<String,Object>> getMLTResults(String query, String statusFilter, String resourceTypeFilter, String componentFilter, List<String> mltField, int maxResults, int minTermFreq, int minDocFreq, SocialDatabase database) throws IOException
IOExceptionSocialResourceSearchResult<Map<String,Object>> find(String component, String solrQueryString, List<SearchSortField> sortFields, int offset, int limit, SocialDatabase database, Map<String,Object> signals) throws IOException
IOExceptionFacetSearchResult findFacets(List<String> countFields, List<FacetRangeField> rangeFields, String resourceTypeFilter, String componentFilter, int count, boolean visibleOnly, boolean includeChildren) throws IOException
IOExceptionSocialResourceSearchResult<Map<String,Object>> findFacets(List<String> inPath, List<String> notInPath, List<String> fieldNames, List<FacetRangeField> facetRanges, String scoredQueryString, int maxFacetCount, List<SearchSortField> sortFields, int offset, int pageSize, SocialDatabase database) throws IOException
IOExceptionlong countChildren(String keyValue, String baseType, boolean visibleOnly) throws PersistenceException
PersistenceExceptionList<Map<String,Object>> nonFacetedSearch(String solrQueryString, SocialDatabase database) throws PersistenceException
PersistenceExceptionvoid setSolrConfig(int solrZKTimeout,
int commitWithin,
AbstractSchemaMapper mapper)
String escapeQueryChars(String query)
query - List<String> readForDelete(String key, int offset, int limit) throws IOException
key - IOException"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"