Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for SuggesterException (0.15 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/request/suggest/SuggestRequest.java

                        deferred.reject(new SuggesterException("Search failure. Failed shards num:" + searchResponse.getFailedShards()));
                    } else {
                        deferred.resolve(createResponse(searchResponse));
                    }
                }
    
                @Override
                public void onFailure(final Exception e) {
                    deferred.reject(new SuggesterException(e.getMessage(), e));
                }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

    import org.codelibs.fess.suggest.analysis.SuggestAnalyzer;
    import org.codelibs.fess.suggest.converter.ReadingConverter;
    import org.codelibs.fess.suggest.entity.SuggestItem;
    import org.codelibs.fess.suggest.exception.SuggesterException;
    import org.codelibs.fess.suggest.index.contents.querylog.QueryLog;
    import org.codelibs.fess.suggest.normalizer.Normalizer;
    import org.codelibs.fess.suggest.util.SuggestUtil;
    import org.opensearch.OpenSearchStatusException;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/org/codelibs/fess/suggest/Suggester.java

    import org.codelibs.fess.suggest.analysis.SuggestAnalyzer;
    import org.codelibs.fess.suggest.constants.FieldNames;
    import org.codelibs.fess.suggest.converter.ReadingConverter;
    import org.codelibs.fess.suggest.exception.SuggesterException;
    import org.codelibs.fess.suggest.index.SuggestIndexer;
    import org.codelibs.fess.suggest.normalizer.Normalizer;
    import org.codelibs.fess.suggest.request.popularwords.PopularWordsRequestBuilder;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

    import org.codelibs.fess.suggest.converter.ReadingConverter;
    import org.codelibs.fess.suggest.converter.ReadingConverterChain;
    import org.codelibs.fess.suggest.entity.SuggestItem;
    import org.codelibs.fess.suggest.exception.SuggesterException;
    import org.codelibs.fess.suggest.normalizer.AnalyzerNormalizer;
    import org.codelibs.fess.suggest.normalizer.Normalizer;
    import org.codelibs.fess.suggest.normalizer.NormalizerChain;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.suggest.exception.SuggestSettingsException;
    import org.codelibs.fess.suggest.exception.SuggesterException;
    import org.opensearch.action.get.GetResponse;
    import org.opensearch.client.Client;
    import org.opensearch.common.collect.Tuple;
    import org.opensearch.common.xcontent.XContentType;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top