Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for TermQuery (0.09 sec)

  1. src/test/java/org/codelibs/fess/query/parser/QueryParserTest.java

            assertEquals(TermQuery.class, query.getClass());
            assertEquals("_default:fess", ((TermQuery) query).getTerm().toString());
    
            query = queryParser.createDefaultFilterChain().parse("title:fess");
            assertEquals(TermQuery.class, query.getClass());
            assertEquals("title:fess", ((TermQuery) query).getTerm().toString());
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

                                queryList.add(termQuery);
                            }
                        }
                    }
                }
                return queryList;
            }
            if (query instanceof final TermQuery termQuery) {
                for (final String field : fields) {
                    if (field.equals(termQuery.getTerm().field())) {
    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/helper/SuggestHelper.java

            boolQueryBuilder.must(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.DOCUMENT.toString()));
            boolQueryBuilder.mustNot(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.QUERY.toString()));
            boolQueryBuilder.mustNot(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.USER.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)
  4. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

            }
            throw new InvalidQueryException(messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY),
                    "Unknown q: " + query.getClass() + " => " + query);
        }
    
        protected QueryBuilder convertTermQuery(final QueryContext context, final TermQuery termQuery, final float boost) {
            final String field = getSearchField(context.getDefaultField(), termQuery.getTerm().field());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

                    continue;
                }
    
                final QueryBuilder queryBuilder = QueryBuilders.boolQuery()
                        .must(QueryBuilders.termQuery(fessConfig.getIndexFieldUrl(), inputDoc.get(fessConfig.getIndexFieldUrl())))
                        .filter(QueryBuilders.termQuery(fessConfig.getIndexFieldConfigId(), configIdValue));
    
                final List<Map<String, Object>> docs = getDocumentListByQuery(searchEngineClient, queryBuilder,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

                                readingQueryBuilder.should(QueryBuilders.prefixQuery(fieldName, reading));
                            } else {
                                readingQueryBuilder.should(QueryBuilders.termQuery(fieldName, reading));
                            }
                        }
                        readingList.clear();
                        boolQueryBuilder.must(readingQueryBuilder);
                    }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

                if (quoted && query instanceof final TermQuery termQuery) {
                    final Pair<String, String> splitField = splitField(defaultField, field);
                    if (defaultField.equals(splitField.cur)) {
                        final PhraseQuery.Builder builder = new PhraseQuery.Builder();
                        builder.add(termQuery.getTerm());
                        return builder.build();
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

            insertAll(accessResultList, OpType.INDEX);
        }
    
        @Override
        public int getCount(final String sessionId) {
            return getCount(builder -> builder.setQuery(QueryBuilders.termQuery(SESSION_ID, sessionId)));
        }
    
        @Override
        public void delete(final String sessionId) {
            deleteBySessionId(sessionId);
        }
    
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionQuery.java

            return boolQuery;
        }
    
        protected TermQueryBuilder regTermQ(String name, Object value) {
            checkEsInvalidQuery(name, value);
            TermQueryBuilder termQuery = QueryBuilders.termQuery(name, value);
            regQ(termQuery);
            return termQuery;
        }
    
        protected TermsQueryBuilder regTermsQ(String name, Collection<?> values) {
            checkEsInvalidQueryCollection(name, values);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top