- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for Suggester (0.09 sec)
-
src/main/java/org/codelibs/fess/suggest/Suggester.java
import org.opensearch.common.xcontent.XContentType; import org.opensearch.index.query.QueryBuilder; import org.opensearch.index.query.QueryBuilders; public class Suggester { private static final Logger logger = LogManager.getLogger(Suggester.class); protected final Client client; protected final SuggestSettings suggestSettings; protected final ReadingConverter readingConverter;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 14.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
assertEquals(2, suggester.getDocumentWordsNum()); assertEquals(1, suggester.getQueryWordsNum()); suggester.indexer().deleteDocumentWords(); suggester.refresh(); assertEquals(1, suggester.getAllWordsNum()); assertEquals(0, suggester.getDocumentWordsNum()); assertEquals(1, suggester.getQueryWordsNum()); } @Test
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 37K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
} public long getAllWordsNum() { return suggester.getAllWordsNum(); } public long getDocumentWordsNum() { return suggester.getDocumentWordsNum(); } public long getQueryWordsNum() { return suggester.getQueryWordsNum(); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 18.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java
} runner.refresh(); suggester = Suggester.builder().build(runner.client(), "SuggesterTest"); suggester.createIndexIfNothing(); } @Test public void test_Read() throws Exception { String indexName = "test-index"; Client client = runner.client(); SuggestSettings settings = suggester.settings(); int num = 10000;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 8.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterBuilderTest.java
final String id = "BuildTest"; final Suggester suggester = Suggester.builder().build(runner.client(), id); assertNotNull(suggester); assertNotNull(suggester.client); assertNotNull(suggester.indexer()); assertNotNull(suggester.getNormalizer()); assertNotNull(suggester.getReadingConverter()); assertNotNull(suggester.settings());
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 3.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/normalizer/DefaultNormalizerTest.java
import static org.junit.Assert.assertEquals; import org.codelibs.fess.suggest.Suggester; import org.codelibs.fess.suggest.util.SuggestUtil; import org.codelibs.opensearch.runner.OpenSearchRunner; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; public class DefaultNormalizerTest { static Suggester suggester; static OpenSearchRunner runner; @BeforeClass
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/suggest/SuggesterBuilder.java
return this; } public SuggesterBuilder threadPoolSize(final int threadPoolSize) { this.threadPoolSize = threadPoolSize; return this; } public Suggester build(final Client client, final String id) { if (settings == null) { if (settingsBuilder == null) { settingsBuilder = SuggestSettings.builder(); }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 4.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/settings/ArraySettingsTest.java
*/ package org.codelibs.fess.suggest.settings; import static org.codelibs.opensearch.runner.OpenSearchRunner.newConfigs; import static org.junit.Assert.assertEquals; import org.codelibs.fess.suggest.Suggester; import org.codelibs.opensearch.runner.OpenSearchRunner; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import org.opensearch.index.IndexNotFoundException;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 3.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/settings/ElevateWordSettingsTest.java
import static org.codelibs.opensearch.runner.OpenSearchRunner.newConfigs; import static org.junit.Assert.assertEquals; import java.util.Collections; import org.codelibs.fess.suggest.Suggester; import org.codelibs.fess.suggest.entity.ElevateWord; import org.codelibs.opensearch.runner.OpenSearchRunner; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 5.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/settings/AnalyzerSettingsTest.java
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.util.List; import java.util.Set; import org.codelibs.fess.suggest.Suggester; import org.codelibs.fess.suggest.analysis.SuggestAnalyzer; import org.codelibs.fess.suggest.util.SuggestUtil; import org.codelibs.opensearch.runner.OpenSearchRunner; import org.junit.AfterClass; import org.junit.Before;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 5.1K bytes - Viewed (0)