Class SelectToElasticsearch

    • Constructor Detail

      • SelectToElasticsearch

        public SelectToElasticsearch​(AbstractParser<?> selectParser)
        Parameters:
        selectParser - AbstractParser of unknown type
    • Method Detail

      • getFinalOrderBy

        public java.util.List<org.elasticsearch.search.sort.SortBuilder<?>> getFinalOrderBy​(boolean score,
                                                                                            DynamicParserTokens parserTokens)
        FindIterable.sort(orderby) for Elasticsearch
        Parameters:
        score - True to use if necessary score from ES
        Returns:
        the orderBy Elasticsearch command