public class FullTextNodeHelpers extends Object implements Serializable
| Constructor and Description |
|---|
FullTextNodeHelpers() |
| Modifier and Type | Method and Description |
|---|---|
static List<ClusterResponse> |
clustering(org.elasticsearch.client.Client indexClient,
String query,
String queryHint,
Integer clustersCount,
String urlField,
List<String> titleFields,
List<String> contentFields,
List<String> languageFields,
org.gcube.indexmanagement.resourceregistry.RRadaptor rradaptor,
Set<String> securityIdentifiers,
String algorithm,
Integer searchHits) |
static String |
extractValues(List<String> fields,
Map<String,Object> map) |
static String |
extractValues2(List<String> fields,
Map<String,Object> map) |
static Map<String,Integer> |
frequentTerms(org.elasticsearch.client.Client indexClient,
String queryString,
Integer maxTerms,
Set<String> securityIdentifiers,
FTNodeCache cache,
org.gcube.indexmanagement.resourceregistry.RRadaptor rradaptor,
String indexName) |
static void |
main(String[] args) |
static String |
query(org.elasticsearch.client.Client indexClient,
String queryString,
Integer from,
Integer maxHits,
Set<String> securityIdentifiers,
FTNodeCache cache,
Integer defaultMaxResults,
Integer maxFragmentCnt,
Integer maxFragmentSize,
org.gcube.indexmanagement.resourceregistry.RRadaptor rradaptor,
String indexName,
ExecutorService executorService)
Executes the query of gRS2 locator of maximum maxHits records (if >0)
|
static String |
queryStream(org.elasticsearch.client.Client indexClient,
String queryString,
Integer maxHits,
FTNodeCache cache,
Set<String> securityIdentifiers,
Integer defaultMaxResults,
Integer maxFragmentCnt,
Integer maxFragmentSize,
org.gcube.indexmanagement.resourceregistry.RRadaptor rradaptor,
String indexName,
ExecutorService executorService) |
public static String query(org.elasticsearch.client.Client indexClient, String queryString, Integer from, Integer maxHits, Set<String> securityIdentifiers, FTNodeCache cache, Integer defaultMaxResults, Integer maxFragmentCnt, Integer maxFragmentSize, org.gcube.indexmanagement.resourceregistry.RRadaptor rradaptor, String indexName, ExecutorService executorService) throws gr.uoa.di.madgik.grs.writer.GRS2WriterException, org.gcube.indexmanagement.common.IndexException
queryString - maxHits - org.gcube.indexmanagement.common.IndexExceptiongr.uoa.di.madgik.grs.writer.GRS2WriterExceptionpublic static String queryStream(org.elasticsearch.client.Client indexClient, String queryString, Integer maxHits, FTNodeCache cache, Set<String> securityIdentifiers, Integer defaultMaxResults, Integer maxFragmentCnt, Integer maxFragmentSize, org.gcube.indexmanagement.resourceregistry.RRadaptor rradaptor, String indexName, ExecutorService executorService) throws gr.uoa.di.madgik.grs.writer.GRS2WriterException, org.gcube.indexmanagement.common.IndexException
gr.uoa.di.madgik.grs.writer.GRS2WriterExceptionorg.gcube.indexmanagement.common.IndexExceptionpublic static Map<String,Integer> frequentTerms(org.elasticsearch.client.Client indexClient, String queryString, Integer maxTerms, Set<String> securityIdentifiers, FTNodeCache cache, org.gcube.indexmanagement.resourceregistry.RRadaptor rradaptor, String indexName) throws gr.uoa.di.madgik.grs.writer.GRS2WriterException, org.gcube.indexmanagement.common.IndexException
gr.uoa.di.madgik.grs.writer.GRS2WriterExceptionorg.gcube.indexmanagement.common.IndexExceptionpublic static List<ClusterResponse> clustering(org.elasticsearch.client.Client indexClient, String query, String queryHint, Integer clustersCount, String urlField, List<String> titleFields, List<String> contentFields, List<String> languageFields, org.gcube.indexmanagement.resourceregistry.RRadaptor rradaptor, Set<String> securityIdentifiers, String algorithm, Integer searchHits)
public static void main(String[] args)
Copyright © 2015. All Rights Reserved.