Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 249 for suggestor (0.1 sec)

  1. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

                        logger.debug("Failed to update suggest index.", e);
                    }
                    exitCode.set(1);
                }
            }
    
            logger.info("Replacing new suggest index.");
            suggestHelper.suggester().switchIndex();
    
            logger.info("Removing old indices.");
            suggestHelper.suggester().removeDisableIndices();
    
            return exitCode.get();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. 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)
  3. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

    import org.codelibs.fess.suggest.Suggester;
    import org.codelibs.fess.suggest.constants.FieldNames;
    import org.codelibs.fess.suggest.entity.SuggestItem;
    import org.codelibs.fess.suggest.exception.SuggestSettingsException;
    import org.codelibs.fess.suggest.index.SuggestDeleteResponse;
    import org.codelibs.fess.suggest.index.contents.document.ESSourceReader;
    import org.codelibs.fess.suggest.settings.SuggestSettings;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  4. test-site/app/Global.java

            esRun();
            Logger.info("Setup suggest... wait 1min");
            createComponents();
            Logger.info("Create content index.");
            Suggest.createContent();
            Logger.info("Create suggest index.");
            Suggest.createSuggestFromContent();
            Logger.info("Finished setup suggest.");
        }
    
        @Override
        public void onStop(Application var1) {
            ComponentsUtil.runner.close();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Feb 23 14:02:03 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/org/codelibs/fess/suggest/SuggesterBuilder.java

     */
    package org.codelibs.fess.suggest;
    
    import java.io.IOException;
    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Executors;
    
    import org.codelibs.fess.suggest.analysis.SuggestAnalyzer;
    import org.codelibs.fess.suggest.converter.ReadingConverter;
    import org.codelibs.fess.suggest.exception.SuggesterException;
    import org.codelibs.fess.suggest.normalizer.Normalizer;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/normalizer/DefaultNormalizerTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.normalizer;
    
    import static org.codelibs.opensearch.runner.OpenSearchRunner.newConfigs;
    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;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. 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)
  9. test-site/app/components/ComponentsUtil.java

    package components;
    
    import org.codelibs.elasticsearch.runner.ElasticsearchClusterRunner;
    import org.codelibs.fess.suggest.Suggester;
    
    public class ComponentsUtil {
        public static String contentIndexName;
    
        public static String contentTypeName;
    
        public static ElasticsearchClusterRunner runner;
    
        public static Suggester suggester;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 347 bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/settings/ArraySettingsTest.java

     * governing permissions and limitations under the License.
     */
    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;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top