Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for queryBuilders (0.08 sec)

  1. src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java

                        (f, b) -> QueryBuilders.wildcardQuery(f, toLowercaseWildcard(text)).boost(b * boost));
            }
    
            if (isSearchField(field)) {
                final String text = wildcardQuery.getTerm().text();
                context.addFieldLog(field, text);
                context.addHighlightedQuery(StringUtils.strip(text, "*"));
                return QueryBuilders.wildcardQuery(field, toLowercaseWildcard(text)).boost(boost);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionQuery.java

                List<QueryBuilder> filterList) {
            assertObjectNotNull("mustList", mustList);
            assertObjectNotNull("shouldList", shouldList);
            assertObjectNotNull("mustNotList", mustNotList);
            assertObjectNotNull("filterList", filterList);
            BoolQueryBuilder boolQuery = QueryBuilders.boolQuery();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractConditionQuery.java

                List<QueryBuilder> filterList) {
            assertObjectNotNull("mustList", mustList);
            assertObjectNotNull("shouldList", shouldList);
            assertObjectNotNull("mustNotList", mustNotList);
            assertObjectNotNull("filterList", filterList);
            BoolQueryBuilder boolQuery = QueryBuilders.boolQuery();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionQuery.java

                List<QueryBuilder> filterList) {
            assertObjectNotNull("mustList", mustList);
            assertObjectNotNull("shouldList", shouldList);
            assertObjectNotNull("mustNotList", mustNotList);
            assertObjectNotNull("filterList", filterList);
            BoolQueryBuilder boolQuery = QueryBuilders.boolQuery();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/org/codelibs/fess/query/TermRangeQueryCommand.java

                context.addHighlightedQuery(origQuery);
                return buildDefaultQueryBuilder(fessConfig, context, (f, b) -> QueryBuilders.matchPhraseQuery(f, origQuery).boost(b));
            }
    
            context.addFieldLog(field, termRangeQuery.toString(field));
            final RangeQueryBuilder rangeQuery = QueryBuilders.rangeQuery(field);
            final BytesRef min = termRangeQuery.getLowerTerm();
            if (min != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/job/PurgeDocJob.java

            // clean up
            final QueryBuilder queryBuilder = QueryBuilders.rangeQuery(fessConfig.getIndexFieldExpires()).to("now");
            try {
                searchEngineClient.deleteByQuery(fessConfig.getIndexDocumentUpdateIndex(), queryBuilder);
    
            } catch (final Exception e) {
                logger.error("Could not delete expired documents: {}", queryBuilder, e);
                resultBuf.append(e.getMessage()).append("\n");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/query/QueryCommand.java

    import org.opensearch.index.query.DisMaxQueryBuilder;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.search.sort.SortBuilder;
    import org.opensearch.search.sort.SortBuilders;
    import org.opensearch.search.sort.SortOrder;
    
    public abstract class QueryCommand {
    
        public abstract QueryBuilder execute(final QueryContext context, final Query query, final float boost);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                    final QueryBuilder expiresCheckQuery = QueryBuilders.boolQuery()//
                            .mustNot(QueryBuilders.rangeQuery(fessConfig.getIndexFieldExpires()).gt("now"))//
                            .mustNot(QueryBuilders.existsQuery(fessConfig.getIndexFieldExpires()));
                    queryBuilder.must(expiresCheckQuery);
                }
    
                try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.lastaflute.core.message.UserMessages;
    import org.opensearch.common.unit.Fuzziness;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.search.sort.SortOrder;
    
    public class TermQueryCommand extends QueryCommand {
        private static final Logger logger = LogManager.getLogger(TermQueryCommand.class);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top