Package ch.entwine.weblounge.search.impl.elasticsearch

Examples of ch.entwine.weblounge.search.impl.elasticsearch.ElasticSearchSearchQuery$DateRange


    requestBuilder.setIndices(indexName);
    requestBuilder.setSearchType(SearchType.QUERY_THEN_FETCH);
    requestBuilder.setPreference("_local");

    // Create the actual search query
    QueryBuilder queryBuilder = new ElasticSearchSearchQuery(query);
    requestBuilder.setQuery(queryBuilder);
    logger.debug("Searching for {}", requestBuilder.toString());

    // Make sure all fields are being returned
    if (query.getFields().length > 0) {
View Full Code Here


      String dateEnd, Selector selector) {

    if (dateRangeType.equals(ReportDefinitionDateRangeType.CUSTOM_DATE)
        && !reportDefinitionReportType
        .equals(ReportDefinitionReportType.CAMPAIGN_NEGATIVE_KEYWORDS_PERFORMANCE_REPORT)) {
      DateRange dateRange = new DateRange();
      dateRange.setMin(dateStart);
      dateRange.setMax(dateEnd);
      selector.setDateRange(dateRange);
    }
  }
View Full Code Here

TOP

Related Classes of ch.entwine.weblounge.search.impl.elasticsearch.ElasticSearchSearchQuery$DateRange

Copyright © 2018 www.massapicom. 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.