- Sort Score
- Num 10 results
- Language All
Results 1 - 7 of 7 for indexFromSearchWord (0.09 seconds)
-
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
* @return The SuggestIndexResponse. */ public SuggestIndexResponse indexFromSearchWord(final String searchWord, final String[] fields, final String[] tags, final String[] roles, final int num, final String[] langs) { ensureOperations(); return contentOps.indexFromSearchWord(index, searchWord, fields, tags, roles, num, langs, badWords); } /** * Adds a bad word.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/SuggestIndexerErrorHandlingTest.java
public void test_indexFromEmptySearchWord() throws Exception { String searchWord = ""; String[] fields = new String[] { "content" }; SuggestIndexResponse response = suggester.indexer().indexFromSearchWord(searchWord, fields, null, null, 1, null); assertNotNull(response); // Empty search word should result in no indexed items assertEquals(0, response.getNumberOfSuggestDocs()); }
Created: 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/test/java/org/codelibs/fess/suggest/SuggesterTest.java
assertEquals(1, response.getNum()); } @Test public void test_indexFromSearchWord() throws Exception { SuggestIndexResponse indexResponse = suggester.indexer().indexFromSearchWord("検索 エンジン", null, null, null, 1, null); indexResponse.getErrors(); suggester.refresh();
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 37.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerTest.java
String[] tags = new String[] { "tag1" }; String[] roles = new String[] { SuggestConstants.DEFAULT_ROLE }; SuggestIndexResponse response = suggester.indexer().indexFromSearchWord(searchWord, fields, tags, roles, 1, null); assertNotNull(response); assertEquals(1, response.getNumberOfInputDocs()); assertEquals(1, response.getNumberOfSuggestDocs());
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) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 22.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/SuggestHelperTest.java
} public MockSuggestDeleteResponse deleteQueryWords() { return new MockSuggestDeleteResponse(); } public void indexFromSearchWord(String searchWord, String[] fields, String[] tags, String[] roles, int weight, String[] langs) { // Mock implementation } public void deleteElevateWord(String word, boolean apply) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 16.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/index/operations/ContentIndexingOperations.java
* @param num The number * @param langs The languages * @param badWords The bad words array * @return The SuggestIndexResponse */ public SuggestIndexResponse indexFromSearchWord(final String index, final String searchWord, final String[] fields, final String[] tags, final String[] roles, final int num, final String[] langs, final String[] badWords) { if (logger.isDebugEnabled()) {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)