- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for ESSourceReader (0.08 sec)
-
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
import org.opensearch.index.query.QueryBuilders; import org.opensearch.search.SearchHit; import org.opensearch.search.sort.SortBuilder; public class ESSourceReader implements DocumentReader { private static final Logger logger = LogManager.getLogger(ESSourceReader.class); protected final Queue<Map<String, Object>> queue = new ConcurrentLinkedQueue<>(); protected final AtomicBoolean isFinished = new AtomicBoolean(false);
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 7.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java
} @Test public void test_getLimitDocNum() throws Exception { assertEquals(10, ESSourceReader.getLimitDocNum(100, 10, -1)); assertEquals(25, ESSourceReader.getLimitDocNum(50, 50, -1)); assertEquals(10, ESSourceReader.getLimitDocNum(50, 50, 10)); } @Test public void test_sort() throws Exception { String indexName = "test-index";
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 8.9K bytes - Viewed (0) -
test-site/app/models/SuggestIndex.java
import org.codelibs.fess.suggest.Suggester; import org.codelibs.fess.suggest.exception.SuggesterException; import org.codelibs.fess.suggest.index.contents.document.DocumentReader; import org.codelibs.fess.suggest.index.contents.document.ESSourceReader; import org.codelibs.fess.suggest.request.suggest.SuggestResponse; public class SuggestIndex { public SuggestResponse suggest(String query) { return ComponentsUtil.suggester.suggest()
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Fri Nov 06 08:48:32 UTC 2015 - 964 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
final SystemHelper systemHelper = ComponentUtil.getSystemHelper(); suggester.indexer().indexFromDocument(() -> { final ESSourceReader reader = new ESSourceReader(ComponentUtil.getSearchEngineClient(), suggester.settings(), fessConfig.getIndexDocumentSearchIndex()); reader.setScrollSize(fessConfig.getSuggestSourceReaderScrollSizeAsInteger());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 18.1K bytes - Viewed (0) -
README.md
suggester.indexer().index(new SuggestItem(new String[] { "検索", "エンジン" }, readings, 1, tags, roles, SuggestItem.Kind.DOCUMENT)); ``` ### Add suggest documents from source of index ```java DocumentReader reader = new ESSourceReader( client, suggester.settings(), "contentIndexName", "contentTypeName"); suggester.indexer().indexFromDocument(reader, 2, 100).getResponse(); ``` ### Add suggest document from queryLog
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Jan 19 03:33:49 UTC 2023 - 1.4K bytes - Viewed (0) -
README.ja.md
``` ### Add suggest documents from source of index Elasticsearchにインデックスされているコンテンツを解析してサジェストドキュメントを生成します。 ```java DocumentReader reader = new ESSourceReader( client, suggester.settings(), "contentIndexName", "contentTypeName"); suggester.indexer().indexFromDocument(reader, 2, 100).getResponse(); ``` ### Add suggest document from queryLog
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Mon Jul 27 10:00:55 UTC 2015 - 2.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
bulkRequestBuilder.execute().actionGet(); runner.refresh(); CountDownLatch latch = new CountDownLatch(1); AtomicInteger numObInputDoc = new AtomicInteger(0); ESSourceReader reader = new ESSourceReader(client, suggester.settings(), indexName); reader.setScrollSize(1000); suggester.indexer().indexFromDocument(() -> reader, 1000, 100).then(response -> {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 37K bytes - Viewed (0)