Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 80 for QueryBuilder (0.09 sec)

  1. src/main/java/org/codelibs/fess/suggest/Suggester.java

            return getNum(QueryBuilders.rangeQuery(FieldNames.QUERY_FREQ).gte(1));
        }
    
        private long getNum(final QueryBuilder queryBuilder) {
            final SearchResponse searchResponse = client.prepareSearch().setIndices(getSearchAlias(index)).setSize(0).setQuery(queryBuilder)
                    .setTrackTotalHits(true).execute().actionGet(suggestSettings.getSearchTimeout());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionAggregation.java

    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.List;
    
    import org.dbflute.exception.InvalidQueryRegisteredException;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.search.aggregations.AbstractAggregationBuilder;
    import org.opensearch.search.aggregations.AggregationBuilders;
    import org.opensearch.search.aggregations.bucket.filter.FilterAggregationBuilder;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionAggregation.java

    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.List;
    
    import org.dbflute.exception.InvalidQueryRegisteredException;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.search.aggregations.AbstractAggregationBuilder;
    import org.opensearch.search.aggregations.AggregationBuilders;
    import org.opensearch.search.aggregations.bucket.filter.FilterAggregationBuilder;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractConditionAggregation.java

    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.List;
    
    import org.dbflute.exception.InvalidQueryRegisteredException;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.search.aggregations.AbstractAggregationBuilder;
    import org.opensearch.search.aggregations.AggregationBuilders;
    import org.opensearch.search.aggregations.bucket.filter.FilterAggregationBuilder;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

            return this;
        }
    
        public int deleteByQuery(final String index, final String type, final QueryBuilder queryBuilder) {
            SearchResponse response =
                    get(c -> c.prepareSearch(index).setScroll(scrollForDelete).setSize(sizeForDelete).setQuery(queryBuilder).execute());
            String scrollId = response.getScrollId();
            int count = 0;
            try {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                    final QueryBuilder queryBuilder =
                            QueryBuilders.boolQuery().filter(QueryBuilders.termsQuery(EsAccessResult.SESSION_ID, sessionIdList))
                                    .filter(QueryBuilders.termQuery(EsAccessResult.STATUS, org.codelibs.fess.crawler.Constants.OK_STATUS));
                    builder.setQuery(queryBuilder);
                    builder.setFrom(0);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

    import org.opensearch.index.query.BoolQueryBuilder;
    import org.opensearch.index.query.MatchPhraseQueryBuilder;
    import org.opensearch.index.query.PrefixQueryBuilder;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.TermQueryBuilder;
    import org.opensearch.index.query.WildcardQueryBuilder;
    import org.opensearch.search.sort.SortBuilder;
    
    public class TermQueryCommandTest extends UnitFessTestCase {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java

    import org.codelibs.fess.helper.SearchHelper;
    import org.codelibs.fess.util.ComponentUtil;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.JsonResponse;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    
    import jakarta.annotation.Resource;
    
    /**
     * @author shinsuke
     */
    public class ApiAdminSearchlistAction extends FessApiAdminAction {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

    import org.lastaflute.web.response.render.RenderData;
    import org.lastaflute.web.ruts.process.ActionRuntime;
    import org.lastaflute.web.validation.VaMessenger;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    
    import jakarta.annotation.Resource;
    import jakarta.servlet.http.HttpServletRequest;
    
    /**
     * @author shinsuke
     * @author Keiichi Watanabe
     */
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

        }
    
        public long deleteByQuery(final String index, final QueryBuilder queryBuilder) {
    
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            SearchResponse response = client.prepareSearch(index).setScroll(scrollForDelete).setSize(sizeForDelete)
                    .setFetchSource(new String[] { fessConfig.getIndexFieldId() }, null).setQuery(queryBuilder)
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
Back to top