- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for indexFromDocument (0.08 seconds)
-
src/main/java/org/codelibs/fess/suggest/index/operations/ContentIndexingOperations.java
* @return The SuggestIndexResponse */ public SuggestIndexResponse indexFromDocument(final String index, final Map<String, Object>[] documents, final String[] supportedFields, final String[] tagFieldNames, final String roleFieldName, final String langFieldName, final String[] badWords) { return indexFromDocument(new ContentIndexingContext(index, supportedFields, tagFieldNames, roleFieldName, langFieldName, badWords),Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 21.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerErrorHandlingTest.java
@SuppressWarnings("unchecked") public void test_indexFromEmptyDocuments() throws Exception { Map<String, Object>[] documents = new Map[0]; SuggestIndexResponse response = suggester.indexer().indexFromDocument(documents); assertNotNull(response); assertEquals(0, response.getNumberOfInputDocs()); assertFalse(response.hasError()); } @TestCreated: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 18.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
* @param documents The documents to index. * @return The SuggestIndexResponse. */ public SuggestIndexResponse indexFromDocument(final Map<String, Object>[] documents) { ensureOperations(); return contentOps.indexFromDocument(createContext(), documents); } /** * Indexes documents from a DocumentReader asynchronously.Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 20.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerTest.java
documents[0].put(field, "これはテストです"); documents[1] = new HashMap<>(); documents[1].put(field, "検索エンジン"); SuggestIndexResponse response = suggester.indexer().indexFromDocument(documents); assertNotNull(response); assertEquals(2, response.getNumberOfInputDocs()); assertFalse(response.hasError()); } @Test
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 28.6K bytes - Click Count (0)