public class QueryParser extends Object
| Constructor and Description |
|---|
QueryParser() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addFullTextIndexTypeIntoCache(String indexTypeStr,
String scope,
org.gcube.indexmanagement.common.FullTextIndexType indexType,
FTNodeCache cache) |
static gr.uoa.di.madgik.grs.record.field.FieldDefinition[] |
createFieldDefinition(List<String> returnFields,
org.gcube.indexmanagement.resourceregistry.RRadaptor adaptor) |
static List<String> |
createHighlightablesForIndexTypes(Map<String,List<String>> highlightableFieldsPerIndexType,
Set<String> indexTypes) |
static String |
createIndexTypekey(String indexType,
String scope) |
static List<String> |
createPresentableForIndexTypes(Map<String,List<String>> presentableFieldsPerIndexType,
Set<String> indexTypes) |
static List<String> |
createSearchablesForIndexTypes(Map<String,List<String>> searchablesFieldsPerIndexType,
Set<String> indexTypes) |
static List<String> |
getCollectionsIDFromQuery(String queryString) |
static gr.uoa.di.madgik.grs.writer.RecordWriter<gr.uoa.di.madgik.grs.record.GenericRecord> |
initRSWriterForSearchHits(List<String> returnFields,
org.gcube.indexmanagement.resourceregistry.RRadaptor adaptor) |
static org.gcube.indexmanagement.common.FullTextIndexType |
retrieveIndexType(String indexTypeStr,
String scope,
FTNodeCache cache) |
static boolean |
writeSearchHitFieldsInResultSet(org.elasticsearch.search.SearchHit hit,
gr.uoa.di.madgik.grs.writer.RecordWriter<gr.uoa.di.madgik.grs.record.GenericRecord> rsWriter,
List<String> returnFields,
int maxFragmentCount,
long rsTimeout) |
static boolean |
writeSearchHitInResultSet(org.elasticsearch.search.SearchHit hit,
gr.uoa.di.madgik.grs.writer.RecordWriter<gr.uoa.di.madgik.grs.record.GenericRecord> rsWriter,
List<String> returnFields,
int maxFragmentCount,
long rsTimeout) |
public static List<String> createPresentableForIndexTypes(Map<String,List<String>> presentableFieldsPerIndexType, Set<String> indexTypes)
public static List<String> createSearchablesForIndexTypes(Map<String,List<String>> searchablesFieldsPerIndexType, Set<String> indexTypes)
public static List<String> createHighlightablesForIndexTypes(Map<String,List<String>> highlightableFieldsPerIndexType, Set<String> indexTypes)
public static gr.uoa.di.madgik.grs.record.field.FieldDefinition[] createFieldDefinition(List<String> returnFields, org.gcube.indexmanagement.resourceregistry.RRadaptor adaptor) throws Exception
Exceptionpublic static org.gcube.indexmanagement.common.FullTextIndexType retrieveIndexType(String indexTypeStr, String scope, FTNodeCache cache)
public static void addFullTextIndexTypeIntoCache(String indexTypeStr, String scope, org.gcube.indexmanagement.common.FullTextIndexType indexType, FTNodeCache cache)
public static boolean writeSearchHitFieldsInResultSet(org.elasticsearch.search.SearchHit hit,
gr.uoa.di.madgik.grs.writer.RecordWriter<gr.uoa.di.madgik.grs.record.GenericRecord> rsWriter,
List<String> returnFields,
int maxFragmentCount,
long rsTimeout)
throws gr.uoa.di.madgik.grs.writer.GRS2WriterException
gr.uoa.di.madgik.grs.writer.GRS2WriterExceptionpublic static boolean writeSearchHitInResultSet(org.elasticsearch.search.SearchHit hit,
gr.uoa.di.madgik.grs.writer.RecordWriter<gr.uoa.di.madgik.grs.record.GenericRecord> rsWriter,
List<String> returnFields,
int maxFragmentCount,
long rsTimeout)
throws gr.uoa.di.madgik.grs.writer.GRS2WriterException
gr.uoa.di.madgik.grs.writer.GRS2WriterExceptionpublic static gr.uoa.di.madgik.grs.writer.RecordWriter<gr.uoa.di.madgik.grs.record.GenericRecord> initRSWriterForSearchHits(List<String> returnFields, org.gcube.indexmanagement.resourceregistry.RRadaptor adaptor) throws org.gcube.indexmanagement.common.IndexException, gr.uoa.di.madgik.grs.writer.GRS2WriterException
org.gcube.indexmanagement.common.IndexExceptiongr.uoa.di.madgik.grs.writer.GRS2WriterExceptionCopyright © 2015. All Rights Reserved.