Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for DataService (0.09 sec)

  1. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java

            dataService.delete("id1");
    
            assertNull(dataService.getAccessResult("id1", "http://www.id1.com/"));
            assertNotNull(dataService.getAccessResult("id2", "http://www.id2.com/"));
    
            dataService.store(accessResult1);
            assertNotNull(dataService.getAccessResult("id1", "http://www.id1.com/"));
    
            dataService.deleteAll();
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

            }
            try {
                dataService.delete(sessionId);
            } catch (final Exception e) {
                logger.warn("Failed to delete data: {}", sessionId, e);
            }
        }
    
        @Override
        public void run() {
            if (dataService == null) {
                throw new FessSystemException("DataService is null.");
            }
    
            if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                }
    
                dataService.iterate(sessionId1, accessResult -> assertTrue(accessResult.getUrl().startsWith(url1)));
                dataService.iterate(sessionId2, accessResult -> assertTrue(accessResult.getUrl().startsWith(url2)));
    
                dataService.delete(sessionId1);
                dataService.delete(sessionId2);
            } finally {
                try {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

        private static final Logger logger = LoggerFactory.getLogger(OpenSearchUrlQueueService.class);
    
        @Resource
        protected OpenSearchDataService dataService;
    
        protected Map<String, QueueHolder> sessionCache = new ConcurrentHashMap<>();
    
        protected int pollingFetchSize = 1000;
    
        protected int maxCrawlingQueueSize = 100;
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResult.java

        }
    
        @Override
        public AccessResultData<String> getAccessResultData() {
            if (!initializedData) {
                final OpenSearchDataService dataService = SingletonLaContainer.getComponent(OpenSearchDataService.class);
                final OpenSearchAccessResult accessResult = dataService.getAccessResult(getSessionId(), getUrl());
                if (accessResult != null && accessResult.accessResultData != null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

        @Resource
        protected UrlQueueService<UrlQueue<?>> urlQueueService;
    
        @Resource
        protected DataService<AccessResult<?>> dataService;
    
        @Resource
        protected CrawlerContainer crawlerContainer;
    
        @Resource
        protected LogHelper logHelper;
    
        protected CrawlerClientFactory clientFactory;
    
        protected CrawlerContext crawlerContext;
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/resources/crawler_opensearch.xml

    	</component>
    
    	<!-- Service -->
    	<component name="urlQueueService"
    		class="org.codelibs.fess.crawler.service.impl.OpenSearchUrlQueueService">
    		<arg>crawlerConfig</arg>
    	</component>
    	<component name="dataService"
    		class="org.codelibs.fess.crawler.service.impl.OpenSearchDataService">
    		<arg>crawlerConfig</arg>
    	</component>
    	<component name="urlFilterService"
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

    import org.codelibs.fess.crawler.entity.OpenSearchAccessResultData;
    import org.codelibs.fess.crawler.exception.OpenSearchAccessException;
    import org.codelibs.fess.crawler.service.DataService;
    import org.codelibs.fess.crawler.util.AccessResultCallback;
    import org.codelibs.fess.crawler.util.OpenSearchCrawlerConfig;
    import org.codelibs.fess.crawler.util.OpenSearchResultList;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

            final EsUrlQueueService urlQueueService = ComponentUtil.getComponent(EsUrlQueueService.class);
            final EsDataService dataService = ComponentUtil.getComponent(EsDataService.class);
    
            try {
                // clear url filter
                urlFilterService.delete(sid);
            } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/FluentFuture.java

       * Example usage:
       *
       * <pre>{@code
       * FluentFuture<RowKey> rowKeyFuture = FluentFuture.from(indexService.lookUp(query));
       * ListenableFuture<QueryResult> queryFuture =
       *     rowKeyFuture.transformAsync(dataService::readFuture, executor);
       * }</pre>
       *
       * <p>When selecting an executor, note that {@code directExecutor} is dangerous in some cases. See
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top