Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 59 for getIndex (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  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"));
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/suggest/index/operations/ContentIndexingContext.java

            this.langFieldName = langFieldName;
            this.badWords = badWords;
        }
    
        /**
         * Returns the index name.
         * @return The index name.
         */
        public String getIndex() {
            return index;
        }
    
        /**
         * Returns the supported fields.
         * @return The supported fields.
         */
        public String[] getSupportedFields() {
            return supportedFields;
        }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponseCreator.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 = queryBuilder.isSingleWordQuery(query);
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/Suggester.java

        }
    
        /**
         * Creates a new PopularWordsRequestBuilder for querying popular words.
         * @return A PopularWordsRequestBuilder instance.
         */
        public PopularWordsRequestBuilder popularWords() {
            return new PopularWordsRequestBuilder(client).setIndex(getSearchAlias(index));
        }
    
        /**
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 21.6K bytes
    - Click Count (3)
  5. 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();
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Thu Aug 07 02:41:28 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/entity/ChatMessage.java

             * Gets the source index.
             *
             * @return the source index
             */
            public int getIndex() {
                return index;
            }
    
            /**
             * Sets the source index.
             *
             * @param index the source index
             */
            public void setIndex(final int index) {
                this.index = index;
            }
    
            /**
             * Gets the source title.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 04:52:31 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

         *
         * @return the current index
         */
        public int getIndex() {
            return this.index;
        }
    
        /**
         * Sets the current index position in the buffer.
         *
         * @param index the new index position
         */
        public void setIndex(final int index) {
            this.index = index;
        }
    
        /**
         * Returns the capacity of the buffer.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            // Align to 8-byte boundary
            ndrBuffer.setIndex(5);
            alignedBytes = ndrBuffer.align(8);
            assertEquals(3, alignedBytes); // Should advance by 3 bytes (5 -> 8)
            assertEquals(8, ndrBuffer.getIndex());
        }
    
        @Test
        void testEncDecNdrSmall() {
            ndrBuffer.enc_ndr_small(0xAB);
            assertEquals(1, ndrBuffer.getIndex());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

        /**
         * Gets the OpenSearch index name.
         *
         * @return The index name.
         */
        public String getIndex() {
            return index;
        }
    
        /**
         * Sets the OpenSearch index name.
         *
         * @param index The index name.
         */
        public void setIndex(final String index) {
            this.index = index;
        }
    
        /**
         * Gets the scroll timeout in milliseconds.
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 34.3K bytes
    - Click Count (0)
  10. src/main/java/jcifs/dcerpc/DcerpcMessage.java

            }
    
            encode_in(buf);
            this.length = buf.getIndex() - start;
    
            if (this.ptype == 0) {
                buf.setIndex(alloc_hint_index);
                this.alloc_hint = this.length - alloc_hint_index;
                buf.enc_ndr_long(this.alloc_hint);
            }
    
            buf.setIndex(start);
            encode_header(buf);
            buf.setIndex(start + this.length);
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.3K bytes
    - Click Count (0)
Back to Top