Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for SuggesterException (0.09 sec)

  1. src/main/java/org/codelibs/fess/suggest/exception/SuggesterException.java

     */
    package org.codelibs.fess.suggest.exception;
    
    public class SuggesterException extends RuntimeException {
    
        private static final long serialVersionUID = 1L;
    
        public SuggesterException(final String msg) {
            super(msg);
        }
    
        public SuggesterException(final Throwable cause) {
            super(cause);
        }
    
        public SuggesterException(final String msg, final Throwable cause) {
            super(msg, cause);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/SuggesterBuilder.java

                throw new SuggesterException(e);
            }
    
            if (contentsReadingConverter == null) {
                contentsReadingConverter = SuggestUtil.createDefaultContentsReadingConverter(client, settings);
            }
            try {
                contentsReadingConverter.init();
            } catch (final IOException e) {
                throw new SuggesterException(e);
            }
    
    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/concurrent/DeferredTest.java

                deferred.reject(new SuggesterException("test"));
            });
            th.start();
    
            try {
                deferred.promise().getResponse(10, TimeUnit.SECONDS);
                fail();
            } catch (SuggesterException e) {
                assertEquals("org.codelibs.fess.suggest.exception.SuggesterException: test", e.getMessage());
            }
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/request/Request.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.request;
    
    import org.codelibs.fess.suggest.concurrent.Deferred;
    import org.codelibs.fess.suggest.exception.SuggesterException;
    import org.opensearch.client.Client;
    import org.opensearch.core.common.Strings;
    
    public abstract class Request<T extends Response> {
        public Deferred<T>.Promise execute(final Client client) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java

                    final boolean isTimeout = !latch.await(time, unit);
                    if (isTimeout) {
                        throw new SuggesterException("Request timeout. time:" + time + " unit:" + unit.name());
                    }
                    if (error != null) {
                        throw new SuggesterException(error);
                    }
                    return response;
                } catch (final InterruptedException e) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. test-site/app/models/SuggestIndex.java

    package models;
    
    import components.*;
    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) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Fri Nov 06 08:48:32 UTC 2015
    - 964 bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.entity.SearchRequestParams.SearchRequestType;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.suggest.exception.SuggesterException;
    import org.codelibs.fess.suggest.request.popularwords.PopularWordsRequestBuilder;
    import org.codelibs.fess.util.ComponentUtil;
    
    import com.google.common.cache.Cache;
    import com.google.common.cache.CacheBuilder;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/exception/SuggestIndexException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.exception;
    
    public class SuggestIndexException extends SuggesterException {
    
        private static final long serialVersionUID = -3792626439756997194L;
    
        public SuggestIndexException(final String msg) {
            super(msg);
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

    import org.codelibs.fess.suggest.constants.FieldNames;
    import org.codelibs.fess.suggest.constants.SuggestConstants;
    import org.codelibs.fess.suggest.entity.SuggestItem;
    import org.codelibs.fess.suggest.exception.SuggesterException;
    import org.codelibs.fess.suggest.request.Request;
    import org.opensearch.action.search.SearchRequestBuilder;
    import org.opensearch.action.search.SearchResponse;
    import org.opensearch.client.Client;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top