- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for addExcludeWord (0.13 sec)
-
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestBuilder.java
public PopularWordsRequestBuilder setWindowSize(final int windowSize) { request.setWindowSize(windowSize); return this; } public PopularWordsRequestBuilder addExcludeWord(final String excludeWord) { request.addExcludeWord(excludeWord); return this; } public PopularWordsRequestBuilder setQueryFreqThreshold(final int queryFreqThreshold) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 2.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PopularWordHelper.java
stream(baseFields).of(stream -> stream.forEach(field -> popularWordsRequestBuilder.addField(field))); stream(baseExcludes).of(stream -> stream.forEach(exclude -> popularWordsRequestBuilder.addExcludeWord(exclude))); try { popularWordsRequestBuilder.execute().getResponse().getItems().stream().forEach(item -> wordList.add(item.getText())); } catch (final SuggesterException e) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java
} public void addLanguage(final String lang) { languages.add(lang); } public void setDetail(final boolean detail) { this.detail = detail; } public void addExcludeWord(final String excludeWord) { excludeWords.add(excludeWord); } public void setQueryFreqThreshold(final int queryFreqThreshold) { this.queryFreqThreshold = queryFreqThreshold; }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
suggester.indexer().index(items); suggester.refresh(); final String excludeWord = "クエリー1"; PopularWordsResponse response = suggester.popularWords().setSize(2).addExcludeWord(excludeWord).execute().getResponse(); assertEquals(4, response.getTotal()); for (int i = 0; i < 5; i++) { assertEquals(2, response.getNum()); boolean find = false;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 37K bytes - Viewed (0)