- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 56 for while (0.01 sec)
-
src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java
reader.setScrollSize(1000); int count = 0; Set<String> valueSet = Collections.synchronizedSet(new HashSet<>()); Map<String, Object> source; while ((source = reader.read()) != null) { assertTrue(source.get("field1").toString().startsWith("test")); valueSet.add(source.get("field1").toString()); count++; }
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 9K bytes - Viewed (0) -
fess-crawler/src/test/resources/ajax/js/jquery-2.1.1.min.js
rb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function sb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function tb(a,b,c){for(var d...Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Oct 11 02:16:55 UTC 2015 - 82.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 7.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java
* delayMillisBeforeProcessing parameter. * * @throws InterruptedRuntimeException if the thread is interrupted during the delay * @throws CrawlerSystemException if an error occurs while processing the URL */ @Override protected void delayBeforeProcessing() { final UrlQueue<?> urlQueue = CrawlingParameterUtil.getUrlQueue(); if (urlQueue == null) { return;Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.2K bytes - Viewed (0) -
fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
assertEquals(maxCount, dataService.getCount(sessionId2)); UrlQueue urlQueue; while ((urlQueue = urlQueueService.poll(sessionId1)) != null) { assertTrue(urlQueue.getUrl().startsWith(url1)); } while ((urlQueue = urlQueueService.poll(sessionId2)) != null) { assertTrue(urlQueue.getUrl().startsWith(url2)); }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 12.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
assertEquals(maxCount, dataService.getCount(sessionId2)); UrlQueue urlQueue; while ((urlQueue = urlQueueService.poll(sessionId1)) != null) { assertTrue(urlQueue.getUrl().startsWith(url1)); } while ((urlQueue = urlQueueService.poll(sessionId2)) != null) { assertTrue(urlQueue.getUrl().startsWith(url2)); }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 19.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalController.java
* <li>After processing a URL ({@link #delayAfterProcessing()})</li> * <li>When there are no URLs in the queue ({@link #delayAtNoUrlInQueue()})</li> * <li>While waiting for new URLs to be added to the queue ({@link #delayForWaitingNewUrl()})</li> * </ul> * * <p> * Subclasses are responsible for implementing the abstract methods to define the actual delay
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/ResponseDataUtil.java
* * @param responseData the response data containing the response body * @return a temporary file containing the response body * @throws CrawlingAccessException if an error occurs while reading the response body */ public static File createResponseBodyFile(final ResponseData responseData) { File tempFile = null; FileOutputStream fos = null;Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java
final List<String> convertedTexts = new ArrayList<>(getMaxReadingNum()); convertedTexts.add(text); for (final ReadingConverter converter : converters) { String s; while ((s = queue.poll()) != null && convertedTexts.size() <= getMaxReadingNum()) { final List<String> results = converter.convert(s, field, lang); convertedTexts.addAll(results); }
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
* reader.setLimitOfDocumentSize(1024 * 1024); // Limit document size to 1MB * reader.setQuery(QueryBuilders.termQuery("field", "value")); // Set a query * * Map<String, Object> document; * while ((document = reader.read()) != null) { * // Process the document * System.out.println(document); * } * * reader.close(); // Close the reader to release resources * } * </pre> */
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 11K bytes - Viewed (0)