Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 80 for QueryBuilder (0.35 sec)

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

                        "Unknown q: " + query.getClass() + " => " + query);
            };
        }
    
        public interface Filter {
            QueryBuilder execute(final QueryContext context, final Query query, final float boost, final FilterChain chain);
        }
    
        public interface FilterChain {
            QueryBuilder execute(final QueryContext context, final Query query, final float boost);
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

        }
    
        public static boolean deleteByQuery(final Client client, final SuggestSettings settings, final String index,
                final QueryBuilder queryBuilder) {
            try {
                SearchResponse response = client.prepareSearch(index).setQuery(queryBuilder).setSize(500).setScroll(settings.getScrollTimeout())
                        .execute().actionGet(settings.getSearchTimeout());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestBulkFileWriter.java

        }
    
        @Override
        public SuggestWriterResult deleteByQuery(final Client client, final SuggestSettings settings, final String index,
                final QueryBuilder queryBuilder) {
            throw new UnsupportedOperationException("deleteByQuery is unsupported.");
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

        }
    
        public SuggestDeleteResponse deleteByQuery(final QueryBuilder queryBuilder) {
            final long start = System.currentTimeMillis();
            final SuggestWriterResult result = suggestWriter.deleteByQuery(client, settings, index, queryBuilder);
            return new SuggestDeleteResponse(result.getFailures(), System.currentTimeMillis() - start);
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/QueryHelper.java

            try {
                final Query query = getQueryParser().parse(queryContext.getQueryString());
                final QueryBuilder queryBuilder = ComponentUtil.getQueryProcessor().execute(queryContext, query, 1.0f);
                if (queryBuilder != null) {
                    queryContext.setQueryBuilder(queryBuilder);
                } else {
                    queryContext.setQueryBuilder(QueryBuilders.matchAllQuery());
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/query/FuzzyQueryCommand.java

    import org.codelibs.fess.mylasta.direction.FessConfig;
    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;
    
    public class FuzzyQueryCommand extends QueryCommand {
        private static final Logger logger = LogManager.getLogger(FuzzyQueryCommand.class);
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/query/PrefixQueryCommand.java

    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    import org.lastaflute.core.message.UserMessages;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    
    public class PrefixQueryCommand extends QueryCommand {
        private static final Logger logger = LogManager.getLogger(PrefixQueryCommand.class);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/query/BoostQueryCommand.java

    import org.opensearch.index.query.QueryBuilder;
    
    public class BoostQueryCommand extends QueryCommand {
        private static final Logger logger = LogManager.getLogger(BoostQueryCommand.class);
    
        @Override
        protected String getQueryClassName() {
            return BoostQuery.class.getSimpleName();
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

            ;
        }
    
        private QueryBuilder functionScoreQuery(QueryBuilder queryBuilder) {
            return QueryBuilders.functionScoreQuery(queryBuilder, ScoreFunctionBuilders.fieldValueFactorFunction("boost"));
        }
    
        private void assertQuery(QueryBuilder query1, QueryContext context) {
            assertQuery(query1, null, null, context);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/query/MatchAllQueryCommand.java

    import org.apache.logging.log4j.Logger;
    import org.apache.lucene.search.MatchAllDocsQuery;
    import org.apache.lucene.search.Query;
    import org.codelibs.fess.entity.QueryContext;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    
    public class MatchAllQueryCommand extends QueryCommand {
        private static final Logger logger = LogManager.getLogger(MatchAllQueryCommand.class);
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top