Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for getPageSize (0.15 sec)

  1. src/test/java/org/codelibs/fess/util/QueryResponseListTest.java

                @Override
                public int size() {
                    return 0;
                }
            };
            qrList.calculatePageInfo();
            assertEquals(20, qrList.getPageSize());
            assertEquals(1, qrList.getCurrentPageNumber());
            assertEquals(0, qrList.getAllRecordCount());
            assertEquals(1, qrList.getAllPageCount());
            assertEquals(false, qrList.isExistPrevPage());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java

                    assertEquals(1, list.getCurrentPageNumber());
                    assertEquals(1, list.getCurrentStartRecordNumber());
                    assertEquals(0, list.getOffset());
                    assertEquals(10, list.getPageSize());
                    assertEquals(0, list.getStart());
                    assertEquals("0", list.get(0).get(ID_FIELD));
                    assertEquals("9", list.get(9).get(ID_FIELD));
                } else {
                    fail();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

        @Override
        protected SearchResult search(final String query, final SearchRequestParams params, final OptionalThing<FessUserBean> userBean) {
            final int pageSize = params.getPageSize();
            LaRequestUtil.getOptionalRequest().ifPresent(request -> {
                request.setAttribute(Constants.REQUEST_PAGE_SIZE, pageSize);
            });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 06:56:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/SearchLogService.java

            final EsPagingResultBean<?> list;
            if (SearchLogPager.LOG_TYPE_USERINFO.equalsIgnoreCase(pager.logType)) {
                list = (EsPagingResultBean<?>) userInfoBhv.selectPage(cb -> {
                    cb.paging(pager.getPageSize(), pager.getCurrentPageNumber());
                    cb.query().addOrderBy_UpdatedAt_Desc();
                    createUserInfoCondition(pager, cb);
                });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                execTime = StringUtil.EMPTY;
            }
            data.setExecTime(execTime);
    
            final String queryId = ComponentUtil.getQueryHelper().generateId();
    
            data.setPageSize(queryResponseList.getPageSize());
            data.setCurrentPageNumber(queryResponseList.getCurrentPageNumber());
            data.setAllRecordCount(queryResponseList.getAllRecordCount());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

            if (logger.isDebugEnabled()) {
                logger.debug("Send {} to the searchers.", query);
            }
            final int pageSize = params.getPageSize();
            final int startPosition = params.getStartPosition();
            if (startPosition * 2 >= windowSize) {
                int offset = params.getOffset();
                if (offset < 0) {
                    offset = 0;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

                    pageNumber = pageNumber + move;
                    if (pageNumber < 1) {
                        pageNumber = 1;
                    }
                    start = (pageNumber - 1) * form.getPageSize();
                }
            }
            form.start = start;
    
            return doSearch(form);
        }
    
        protected String getDisplayQuery(final SearchForm form, final List<Map<String, String>> labelTypeItems) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

                queryId = data.getQueryId();
                docs = data.getDocumentItems();
                highlightParams = data.getAppendHighlightParams();
                execTime = data.getExecTime();
                pageSize = data.getPageSize();
                pageNumber = data.getCurrentPageNumber();
                recordCount = data.getAllRecordCount();
                recordCountRelation = data.getAllRecordCountRelation();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

            final PagingResultBean<CrawlingInfo> crawlingInfoList = crawlingInfoBhv.selectPage(cb -> {
                cb.paging(crawlingInfoPager.getPageSize(), crawlingInfoPager.getCurrentPageNumber());
                setupListCondition(cb, crawlingInfoPager);
            });
    
            // update pager
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

                pageNumber = pageNumber + move;
                if (pageNumber < 1) {
                    pageNumber = 1;
                }
                form.start = (pageNumber - 1) * form.getPageSize();
            }
            return doSearch(form);
        }
    
        // -----------------------------------------------------
        // Confirm
        // -------
    
        @Execute
        @Secured({ ROLE })
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 18.3K bytes
    - Viewed (0)
Back to top