- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 93 for queryBuilders (0.07 sec)
-
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) -
src/main/java/org/codelibs/fess/entity/GeoInfo.java
return null; }).filter(q -> q != null).toArray(n -> new QueryBuilder[n]); if (queryBuilders.length == 1) { builder = queryBuilders[0]; } else if (queryBuilders.length > 1) { final BoolQueryBuilder boolQuery = QueryBuilders.boolQuery(); StreamUtil.stream(queryBuilders).of(stream -> stream.forEach(boolQuery::must)); builder = boolQuery; } }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.7K bytes - Viewed (0) -
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) -
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) -
src/main/java/org/codelibs/fess/helper/IndexingHelper.java
final QueryBuilder queryBuilder = QueryBuilders.termQuery(fessConfig.getIndexFieldVirtualHost(), virtualHost); return deleteByQueryBuilder(searchEngineClient, index, queryBuilder); } protected long deleteByQueryBuilder(final SearchEngineClient searchEngineClient, final String index, final QueryBuilder queryBuilder) { refreshIndex(searchEngineClient, index);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 16.8K bytes - Viewed (0) -
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) -
src/test/java/org/codelibs/fess/query/DefaultQueryBuilderTest.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.query; import org.codelibs.fess.unit.UnitFessTestCase; import org.opensearch.index.query.QueryBuilders; public class DefaultQueryBuilderTest extends UnitFessTestCase { public void test_invalid_null() { try { new DefaultQueryBuilder(null); fail();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jul 11 08:26:36 UTC 2024 - 1.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/PrefixQueryCommand.java
context.addHighlightedQuery(text); if (getQueryFieldConfig().notAnalyzedFieldSet.contains(field)) { return QueryBuilders.prefixQuery(field, toLowercaseWildcard(text)).boost(boost); } return QueryBuilders.matchPhrasePrefixQuery(field, toLowercaseWildcard(text)).boost(boost) .maxExpansions(fessConfig.getQueryPrefixExpansionsAsInteger()).slop(fessConfig.getQueryPrefixSlopAsInteger());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.3K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java
assertTrue(fesenClient.prepareSearch("fess_crawler.queue").setQuery(QueryBuilders.termQuery("sessionId", "sessionId")).setSize(0) .execute().actionGet().getHits().getTotalHits().value > 0); urlQueueService.delete("sessionId"); assertFalse(fesenClient.prepareSearch("fess_crawler.queue").setQuery(QueryBuilders.termQuery("sessionId", "sessionId")).setSize(0)
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/FuzzyQueryCommand.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; 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)