Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for DocList (0.05 sec)

  1. src/main/java/org/codelibs/fess/util/DocList.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.util;
    
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    
    public class DocList extends ArrayList<Map<String, Object>> {
    
        private static final long serialVersionUID = 1L;
    
        private long contentSize = 0;
    
        private long processingTime = 0;
    
        @Override
        public void clear() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/DocListTest.java

        public void test_DocList() {
            DocList docList = new DocList();
    
            assertEquals(0, docList.getContentSize());
            assertEquals(0, docList.getProcessingTime());
    
            docList.addContentSize(1000);
            docList.addProcessingTime(999);
            assertEquals(1000, docList.getContentSize());
            assertEquals(999, docList.getProcessingTime());
    
            docList.clear();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

            synchronized (docList) {
                docList.add(ingest(paramMap, dataMap));
                final long contentSize = indexingHelper.calculateDocumentSize(dataMap);
                docList.addContentSize(contentSize);
                final long processingTime = systemHelper.getCurrentTimeAsLong() - startTime;
                docList.addProcessingTime(processingTime);
                if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

            final CrawlingInfoHelper crawlingInfoHelper = ComponentUtil.getCrawlingInfoHelper();
            final LanguageHelper languageHelper = ComponentUtil.getLanguageHelper();
            final List<Map<String, Object>> docList = body.documents.stream().map(doc -> {
                if (!doc.containsKey(indexFieldContentLength)) {
                    long contentLength = 0;
                    if (doc.get(indexFieldTitle) instanceof final String title) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top