- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for reads (0.02 sec)
-
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) -
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) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java
* This method delegates to {@link FileInputStream#mark(int)}. * * @param readlimit the maximum limit of bytes that can be read before the mark position becomes invalid */ @Override public synchronized void mark(final int readlimit) {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/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/transformer/impl/BinaryTransformer.java
* as a ByteArrayInputStream. * </p> * * <p> * The transform method takes a ResponseData object, checks if it has a response body, * and then reads the body into a byte array. This byte array is then set as the data * in the ResultData object. * </p> * * <p> * The getData method takes an AccessResultData object, checks if the transformer name matches,
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java
this.reader = reader; } /** * Executes the text processing operation on the provided reader. * * This method reads characters from the reader and processes them according to the following rules: * - ISO control characters and space characters are treated as spaces.Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java
// Test user boost item.setUserBoost(2.0f); assertEquals(2.0f, item.getUserBoost(), 0.001f); // Test readings String[][] newReadings = { { "read1", "read2" }, { "read3" } }; item.setReadings(newReadings); assertArrayEquals(newReadings, item.getReadings()); // Test fields String[] fields = { "field1", "field2" };Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16.7K bytes - Viewed (0) -
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/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)