Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for getOffset (0.05 sec)

  1. 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));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

            }
            final int pageSize = params.getPageSize();
            final int startPosition = params.getStartPosition();
            if (startPosition * 2 >= windowSize) {
                int offset = params.getOffset();
                if (offset < 0) {
                    offset = 0;
                } else if (offset > windowSize / 2) {
                    offset = windowSize / 2;
                }
                int start = startPosition - offset;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java

                    return null;
                }
    
                @Override
                public int getStartPosition() {
                    return 0;
                }
    
                @Override
                public int getOffset() {
                    return 0;
                }
    
                @Override
                public int getPageSize() {
                    return 0;
                }
    
                @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/base/SearchForm.java

            if (start == null) {
                start = ComponentUtil.getFessConfig().getPagingSearchPageStartAsInteger();
            }
            return start;
        }
    
        @Override
        public int getOffset() {
            if (offset == null) {
                offset = 0;
            }
            return offset;
        }
    
        @Override
        public int getPageSize() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/searchlist/ListForm.java

            if (start == null) {
                start = ComponentUtil.getFessConfig().getPagingSearchPageStartAsInteger();
            }
            return start;
        }
    
        @Override
        public int getOffset() {
            if (offset == null) {
                offset = 0;
            }
            return offset;
        }
    
        @Override
        public int getPageSize() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/entity/SearchRequestParams.java

        public abstract HighlightInfo getHighlightInfo();
    
        public abstract String getSort();
    
        public abstract int getStartPosition();
    
        public abstract int getPageSize();
    
        public abstract int getOffset();
    
        public abstract String[] getExtraQueries();
    
        public abstract Object getAttribute(String name);
    
        public abstract Locale getLocale();
    
        public abstract SearchRequestType getType();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/QueryResponseList.java

        }
    
        @Override
        public <T> T[] toArray(final T[] a) {
            return parent.toArray(a);
        }
    
        public int getStart() {
            return start;
        }
    
        public int getOffset() {
            return offset;
        }
    
        public int getPageSize() {
            return pageSize;
        }
    
        public int getCurrentPageNumber() {
            return currentPageNumber;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                        startPosition = fessConfig.getPagingSearchPageStartAsInteger();
                    }
                }
                return startPosition;
            }
    
            @Override
            public int getOffset() {
                if (offset != -1) {
                    return offset;
                }
    
                final String value = request.getParameter("offset");
                if (StringUtil.isBlank(value)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

                        h.send(seekReq, seekResp);
                        if ( log.isDebugEnabled() && seekResp.getOffset() != fileSize ) {
                            log.debug(String.format("Open returned wrong size %d != %d", fileSize, seekResp.getOffset()));
                        }
                        fileSize = seekResp.getOffset();
                    }
                    catch ( Exception e ) {
                        log.debug("Seek failed", e);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

                    clearAttributes();
                    termAttr.append(nextToken.word);
                    finalOffset = correctOffset(blkStart + nextToken.endOffset);
                    offsetAttr.setOffset(correctOffset(blkStart + nextToken.startOffset), finalOffset);
                    posIncAttr.setPositionIncrement(nextToken.posInc);
                    return true;
                }
            }
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 17K bytes
    - Viewed (0)
Back to top