Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 195 for throw (0.04 sec)

  1. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

         * @return The merged suggest item.
         */
        public static SuggestItem merge(final SuggestItem item1, final SuggestItem item2) {
            if (!item1.getId().equals(item2.getId())) {
                throw new IllegalArgumentException("Item id is mismatch.");
            }
    
            final SuggestItem mergedItem = new SuggestItem();
    
            mergedItem.id = item1.getId();
            mergedItem.text = item1.getText();
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java

         *
         * @throws IOException if an I/O error occurs (not thrown in this implementation)
         */
        @Override
        public void close() throws IOException {
            // inputStream.close();
        }
    
        /**
         * Returns the number of bytes that can be read from this input stream without blocking.
         *
         * @return the number of bytes available
         * @throws IOException if an I/O error occurs
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/ChildUrlsException.java

     */
    package org.codelibs.fess.crawler.exception;
    
    import java.util.Set;
    
    import org.codelibs.fess.crawler.entity.RequestData;
    
    /**
     * {@link ChildUrlsException} is thrown when child URLs are found during crawling.
     * It extends {@link CrawlerSystemException} and holds a set of {@link RequestData}
     * representing the child URLs that caused the exception.
     *
     */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

    import org.codelibs.fess.suggest.request.suggest.SuggestResponse;
    import org.junit.Test;
    
    public class DeferredTest {
        @Test
        public void test_doneBeforeResolve() throws Exception {
            final Deferred<SuggestResponse> deferred = new Deferred<>();
    
            Thread th = new Thread(() -> {
                try {
                    Thread.sleep(1000);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/TextTransformerTest.java

    /**
     * @author shinsuke
     *
     */
    public class TextTransformerTest extends PlainTestCase {
        public TextTransformer textTransformer;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("extractorFactory", ExtractorFactory.class)
                    .singleton("textTransformer", TextTransformer.class)
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/SuggesterBuilderTest.java

            runner.ensureYellow();
        }
    
        @Override
        protected void tearDown() throws Exception {
            runner.close();
            runner.clean();
        }
    
        public void test_buildWithDefault() throws Exception {
            final String id = "BuildTest";
            final Suggester suggester = Suggester.builder().build(runner.client(), id);
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            runner.ensureYellow();
        }
    
        @AfterClass
        public static void afterClass() throws Exception {
            runner.close();
            runner.clean();
        }
    
        @Before
        public void before() throws Exception {
            runner.admin().indices().prepareDelete("_all").execute().actionGet();
            runner.refresh();
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 37.2K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/ntlm/SmbjEngine.java

         * @param arg0 The domain.
         * @param arg1 The workstation.
         * @return The Type 1 message.
         * @throws NTLMEngineException if an NTLM engine error occurs.
         */
        @Override
        public String generateType1Msg(final String arg0, final String arg1) throws NTLMEngineException {
            // TODO Auto-generated method stub
            return null;
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

        String[] supportedFields = new String[] { "content", "title" };
        String[] tagFieldNames = new String[] { "label", "virtual_host" };
        String roleFieldName = "role";
    
        public void test_parseQueryLog() throws Exception {
    
            QueryLog queryLog = new QueryLog("content:検索エンジン", null);
            List<SuggestItem> items = defaultContentsParser.parseQueryLog(queryLog, supportedFields, tagFieldNames, roleFieldName,
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/settings/AnalyzerSettingsTest.java

            runner.ensureYellow();
        }
    
        @AfterClass
        public static void afterClass() throws Exception {
            runner.close();
            runner.clean();
        }
    
        @Before
        public void before() throws Exception {
            try {
                runner.admin().indices().prepareDelete("_all").execute().actionGet();
            } catch (IndexNotFoundException ignore) {
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top