Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for getIndex (0.16 sec)

  1. src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java

            assertThat(indexed1.getIndex(), is(0));
            assertThat(indexed1.getElement(), is("aaa"));
    
            final Indexed<String> indexed2 = it.next();
            assertThat(indexed2.getIndex(), is(1));
            assertThat(indexed2.getElement(), is("bbb"));
    
            final Indexed<String> indexed3 = it.next();
            assertThat(indexed3.getIndex(), is(2));
            assertThat(indexed3.getElement(), is("ccc"));
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponse.java

            this.index = index;
            this.tookMs = tookMs;
            this.words = words;
            num = words.size();
            this.total = total;
            this.items = items;
        }
    
        public String getIndex() {
            return index;
        }
    
        public long getTookMs() {
            return tookMs;
        }
    
        public List<String> getWords() {
            return words;
        }
    
        public int getNum() {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/Indexed.java

         * 要素を返します。
         *
         * @return 要素
         */
        public T getElement() {
            return element;
        }
    
        /**
         * インデックスを返します。
         *
         * @return インデックス
         */
        public int getIndex() {
            return index;
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponse.java

            this.index = index;
            this.tookMs = tookMs;
            this.words = words;
            num = words.size();
            this.total = total;
            this.items = items;
        }
    
        public String getIndex() {
            return index;
        }
    
        public long getTookMs() {
            return tookMs;
        }
    
        public List<String> getWords() {
            return words;
        }
    
        public int getNum() {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            boolQueryBuilder.mustNot(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.USER.toString()));
    
            SuggestUtil.deleteByQuery(ComponentUtil.getSearchEngineClient(), suggester.settings(), suggester.getIndex(), boolQueryBuilder);
        }
    
        public void purgeSearchlogSuggest(final LocalDateTime time) {
            final BoolQueryBuilder boolQueryBuilder = QueryBuilders.boolQuery();
            boolQueryBuilder
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http/DateFormatting.kt

            // Something was parsed. It's possible the entire string was not consumed but we ignore
            // that. If any of the BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS ended in "'GMT'" we'd have
            // to also check that position.getIndex() == value.length() otherwise parsing might have
            // terminated early, ignoring things like "+01:00". Leaving this as != 0 means that any
            // trailing junk is ignored.
            return result
          }
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

            final List<String> words = new ArrayList<>();
            final List<SuggestItem> items = new ArrayList<>();
    
            final String index;
            if (hits.length > 0) {
                index = hits[0].getIndex();
            } else {
                index = SuggestConstants.EMPTY_STRING;
            }
    
            for (final SearchHit hit : hits) {
                final Map<String, Object> source = hit.getSourceAsMap();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            final PropertyDesc idProp = beanDesc.getPropertyDesc(ID);
            idProp.setValue(target, id);
        }
    
        public String getIndex() {
            return index;
        }
    
        public void setIndex(final String index) {
            this.index = index;
        }
    
        public int getScrollTimeout() {
            return scrollTimeout;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

            final List<SuggestItem> firstItems = new ArrayList<>();
            final List<SuggestItem> secondItems = new ArrayList<>();
    
            final String index;
            if (hits.length > 0) {
                index = hits[0].getIndex();
            } else {
                index = SuggestConstants.EMPTY_STRING;
            }
    
            final boolean singleWordQuery = isSingleWordQuery(query);
            final boolean hiraganaQuery = isHiraganaQuery(query);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/Suggester.java

            }
        }
    
        public SuggestRequestBuilder suggest() {
            return new SuggestRequestBuilder(client, readingConverter, normalizer).setIndex(getSearchAlias(index));
        }
    
        public PopularWordsRequestBuilder popularWords() {
            return new PopularWordsRequestBuilder(client).setIndex(getSearchAlias(index));
        }
    
        public RefreshResponse refresh() {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top