Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 65 for Suggester (0.06 sec)

  1. test-site/app/components/ComponentsUtil.java

    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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/test/java/org/codelibs/fess/suggest/settings/BadWordSettingsTest.java

    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertTrue;
    import static org.junit.Assert.fail;
    
    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
    - 4.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsTest.java

    import static org.codelibs.opensearch.runner.OpenSearchRunner.newConfigs;
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertNotSame;
    
    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
    - 4.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

                    }
                    exitCode.set(1);
                }
            }
    
            logger.info("Replacing new suggest index.");
            suggestHelper.suggester().switchIndex();
    
            logger.info("Removing old indices.");
            suggestHelper.suggester().removeDisableIndices();
    
            return exitCode.get();
        }
    
        private int purge(final LocalDateTime time) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

                    final SuggestHelper suggestHelper = ComponentUtil.getSuggestHelper();
                    final PopularWordsRequestBuilder popularWordsRequestBuilder =
                            suggestHelper.suggester().popularWords().setSize(fessConfig.getSuggestPopularWordSizeAsInteger())
                                    .setWindowSize(fessConfig.getSuggestPopularWordWindowSizeAsInteger())
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                final String[] langs = searchHelper.getLanguages(request, parameter);
    
                final SuggestHelper suggestHelper = ComponentUtil.getSuggestHelper();
                final SuggestRequestBuilder builder = suggestHelper.suggester().suggest();
                builder.setQuery(parameter.getQuery());
                stream(parameter.getSuggestFields()).of(stream -> stream.forEach(builder::addField));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top