- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 56 for read (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++; } assertEquals(num, 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/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java
return inputStream.read(b, off, len); } /** * Reads some number of bytes from the input stream and stores them into the buffer array b. * * @param b the buffer into which the data is read * @return the total number of bytes read into the buffer, or -1 if there is no more data * @throws IOException if an I/O error occurs */ @Override public int read(final byte[] b) throws IOException {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 5.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java
*/ public File getTemporaryFile() { return tempFile; } /* * (non-Javadoc) * * @see java.io.InputStream#read() */ @Override public int read() throws IOException { return fileInputStream.read(); } @Override public int available() throws IOException { return fileInputStream.available(); } /**Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/querylog/QueryLogReader.java
/** * The {@code QueryLogReader} interface provides methods to read query logs and close the reader. * It extends the {@code Closeable} interface, ensuring that resources can be released when no longer needed. */ public interface QueryLogReader extends Closeable { /** * Reads a query log. * @return The query log. */ QueryLog read(); @Override void close();Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 1.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/DocumentReader.java
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 1.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
/** * <p> * {@link ESSourceReader} reads documents from Elasticsearch using the scroll API. * It implements the {@link DocumentReader} interface to provide a way to iterate over documents * in a large index without loading all of them into memory at once. * </p> * * <p> * The reader supports limiting the number of documents read based on a percentage of the total documentsRegistered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 11K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java
*/ public void setOutputEncoding(final String outputEncoding) { this.outputEncoding = outputEncoding; } /** * Sets whether to read content as text if extraction fails. * @param readAsTextIfFailed If true, read a content as a text when an extraction fails. */ public void setReadAsTextIfFailed(final boolean readAsTextIfFailed) { this.readAsTextIfFailed = readAsTextIfFailed;Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 30.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/ResponseDataUtil.java
} catch (final Exception e) { CloseableUtil.closeQuietly(fos); // for deleting file FileUtil.deleteInBackground(tempFile); // clean up throw new CrawlingAccessException("Could not read a response body: " + responseData.getUrl(), e); } finally { CloseableUtil.closeQuietly(fos); } return tempFile; }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 2.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java
int alphanumSize = 0; int symbolSize = 0; int c; final Set<String> termCache = new HashSet<>(1000); try { while ((c = reader.read()) != -1) { if (Character.isISOControl(c) || isSpaceChar(c)) { if (duplicateTermRemoved) { if (alphanumSize > 0) {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 12K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 14.7K bytes - Viewed (0)