- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for getTerms (0.1 sec)
-
src/test/java/org/codelibs/fess/query/parser/QueryParserTest.java
assertEquals("_default:fess", ((PhraseQuery) query).getTerms()[0].toString()); query = queryParser.createDefaultFilterChain().parse("\"fess codelibs\""); assertEquals(PhraseQuery.class, query.getClass()); assertEquals("_default:fess", ((PhraseQuery) query).getTerms()[0].toString()); assertEquals("_default:codelibs", ((PhraseQuery) query).getTerms()[1].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) -
src/main/java/org/codelibs/fess/query/PhraseQueryCommand.java
} protected QueryBuilder convertPhraseQuery(final QueryContext context, final PhraseQuery phraseQuery, final float boost) { final Term[] terms = phraseQuery.getTerms(); if (terms.length == 0) { throw new InvalidQueryException(messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY), "Unknown phrase query: " + phraseQuery);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java
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); } final String query = wildcardQuery.getTerm().toString();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/converter/AnalyzerConverter.java
int offset = 0; for (int i = 0; i < readingTokenList.size(); i++) { final String term = termTokenList.get(i).getTerm(); String reading = readingTokenList.get(i).getTerm(); if (Strings.isNullOrEmpty(reading)) { reading = term; } reading = transliterator.transliterate(reading);
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 4.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java
queryMap = new HashMap<>(); keyMatchQueryMap.put(virtualHost, queryMap); } final String termKey = toLowerCase(keyMatch.getTerm()); List<Tuple3<String, QueryBuilder, ScoreFunctionBuilder<?>>> boostList = queryMap.get(termKey); if (boostList == null) { boostList = new ArrayList<>();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 8.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 11.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/settings/AnalyzerSettingsTest.java
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/normalizer/AnalyzerNormalizer.java
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/RelatedQueryHelper.java
if (map == null) { map = new HashMap<>(); relatedQueryMap.put(key, map); } map.put(toLowerCase(entity.getTerm()), entity.getQueries()); }); this.relatedQueryMap = relatedQueryMap; return relatedQueryMap.size(); } protected String getHostKey(final RelatedQuery entity) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.2K bytes - Viewed (0)