Examples of addLatestDateFilter()


Examples of de.jetwick.es.JetwickQuery.addLatestDateFilter()

        }

        // front page: avoid slow queries for matchall query and filter against latest tweets only
        if (queryStr.isEmpty() && q.getFilterQueries().isEmpty() && fromDateStr == null) {
            logger.info(addIP("[stats] q=''"));
            q.addLatestDateFilter(8);
            if (Helper.isEmpty(sort))
                q.setSort(ElasticTweetSearch.RELEVANCE, "desc");
        }

        String filter = parameters.getString("filter");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.