Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for BoolQueryBuilder (0.09 sec)

  1. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

            }
    
            if (filterList.size() > 0) {
                final BoolQueryBuilder boolQueryBuilder = QueryBuilders.boolQuery();
                boolQueryBuilder.must(queryBuilder);
                filterList.forEach(boolQueryBuilder::filter);
                builder.setQuery(boolQueryBuilder);
            } else {
                builder.setQuery(queryBuilder);
            }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            final BoolQueryBuilder boolQueryBuilder = QueryBuilders.boolQuery();
            boolQueryBuilder
                    .must(QueryBuilders.rangeQuery(FieldNames.TIMESTAMP).lt(time.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli()));
    
            boolQueryBuilder.must(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.DOCUMENT.toString()));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java

    import java.util.Objects;
    
    import org.apache.lucene.search.Query;
    import org.opensearch.core.common.io.stream.StreamOutput;
    import org.opensearch.core.xcontent.XContentBuilder;
    import org.opensearch.index.query.BoolQueryBuilder;
    import org.opensearch.index.query.DisMaxQueryBuilder;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilderVisitor;
    import org.opensearch.index.query.QueryRewriteContext;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/entity/QueryContext.java

            queryBuilder = QueryBuilders.functionScoreQuery(queryBuilder, list.toArray(new FilterFunctionBuilder[list.size()]));
        }
    
        public void addQuery(final Consumer<BoolQueryBuilder> boolQuery) {
            BoolQueryBuilder builder;
            if (queryBuilder instanceof MatchAllQueryBuilder) {
                builder = QueryBuilders.boolQuery();
            } else {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/query/QueryCommand.java

    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.optional.OptionalThing;
    import org.lastaflute.web.util.LaRequestUtil;
    import org.opensearch.index.query.BoolQueryBuilder;
    import org.opensearch.index.query.DisMaxQueryBuilder;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.search.sort.SortBuilder;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

    import org.opensearch.client.Client;
    import org.opensearch.common.lucene.search.function.CombineFunction;
    import org.opensearch.core.action.ActionListener;
    import org.opensearch.index.query.BoolQueryBuilder;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.index.query.functionscore.FunctionScoreQueryBuilder;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                if (StringUtil.isNotBlank(sessionId)) {
                    if (queryBuilder instanceof BoolQueryBuilder) {
                        ((BoolQueryBuilder) queryBuilder).filter(QueryBuilders.termQuery(SESSION_ID, sessionId));
                    } else {
                        final BoolQueryBuilder boolQuery = QueryBuilders.boolQuery().filter(QueryBuilders.termQuery(SESSION_ID, sessionId));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SearchHelper.java

    import org.opensearch.action.update.UpdateRequestBuilder;
    import org.opensearch.action.update.UpdateResponse;
    import org.opensearch.common.document.DocumentField;
    import org.opensearch.index.query.BoolQueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    
    import jakarta.servlet.http.HttpServletRequest;
    
    public class SearchHelper {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
Back to top