Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 71 for getIndex (0.16 sec)

  1. 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: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

         *
         * @return the current index
         */
        public int getIndex() {
            return 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.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

            when(mockSearchResponse.getHits()).thenReturn(mockSearchHits);
            when(mockSearchHits.getHits()).thenReturn(new SearchHit[] { mockHit }, new SearchHit[0]);
            when(mockHit.getIndex()).thenReturn("test-index");
            when(mockHit.getId()).thenReturn("doc1");
    
            // Setup scroll response (empty on second call)
            when(mockClient.prepareSearchScroll("scroll1")).thenReturn(mockScrollBuilder);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:44:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  5. 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.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  6. 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.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 34.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

            final ParsePosition pos = new ParsePosition(0);
            final Date date = format.parse(str, pos);
            if (date == null) {
                return null;
            }
            final int index = pos.getIndex();
            if (index == 0) {
                return null;
            }
            if (index < str.length()) {
                return null;
            }
            return date;
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            int count = 0;
            for (String index : getIndexResponse.getIndices()) {
                if (index.startsWith(suggester.getIndex())) {
                    count++;
                }
            }
            assertEquals(2, count);
    
            suggester.removeDisableIndices();
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 37.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

            // Set up lenient stubs for common operations to avoid unnecessary stubbing exceptions
            lenient().when(mockNdrBuffer.getIndex()).thenReturn(0);
            lenient().when(mockDeferredNdrBuffer.getIndex()).thenReturn(0);
            // Mock the index field access
            mockDeferredNdrBuffer.index = 0;
        }
    
        @Test
        void testGetSyntax() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                            SearchEngineUtil.scroll(alias, hit -> {
                                try {
                                    writer.write("{\"index\":{\"_index\":\"" + hit.getIndex() + "\",\"_id\":\""
                                            + StringEscapeUtils.escapeJson(hit.getId()) + "\"}}\n");
                                    writer.write(hit.getSourceAsString());
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 02:07:40 UTC 2025
    - 32.1K bytes
    - Viewed (0)
Back to top