Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 15 for getRIndex (0.06 seconds)

  1. callbacks.go

    		if c.before != "" { // if defined before callback
    			if c.before == "*" && len(sorted) > 0 {
    				if curIdx := getRIndex(sorted, c.name); curIdx == -1 {
    					sorted = append([]string{c.name}, sorted...)
    				}
    			} else if sortedIdx := getRIndex(sorted, c.before); sortedIdx != -1 {
    				if curIdx := getRIndex(sorted, c.name); curIdx == -1 {
    					// if before callback already sorted, append current callback just after it
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:26:07 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriterTest.java

                    writer.write(runner.client(), suggester.settings(), suggester.getIndex(), new SuggestItem[] { item }, false);
    
            assertNotNull(result);
            assertFalse(result.hasFailure());
    
            runner.refresh();
    
            GetResponse getResponse =
                    runner.client().prepareGet().setIndex(suggester.getIndex()).setId(item.getId()).get(TimeValue.timeValueSeconds(30));
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 18.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

            suggester.createIndexIfNothing();
            Thread.sleep(50);
    
            // Create additional update index (making 2 total)
            final String updateAlias = suggester.getIndex() + ".update";
            final String extraIndexName = suggester.getIndex() + ".extra";
    
            client.admin().indices().prepareCreate(extraIndexName).execute().actionGet();
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/entity/ChatMessageTest.java

        }
    
        @Test
        public void test_chatSourceDefaultConstructor() {
            final ChatSource source = new ChatSource();
            assertEquals(0, source.getIndex());
            assertNull(source.getTitle());
            assertNull(source.getUrl());
            assertNull(source.getDocId());
            assertNull(source.getSnippet());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/suggest/index/operations/ContentIndexingOperations.java

            if (logger.isInfoEnabled()) {
                logger.info("Indexing from query logs: count={}, index={}", queryLogs.length, ctx.getIndex());
            }
            try {
                final long start = System.currentTimeMillis();
                Stream<QueryLog> stream = Stream.of(queryLogs);
                if (parallel) {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 21.7K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. src/main/java/org/codelibs/fess/suggest/Suggester.java

     *   <li>{@link #getReadingConverter()}: Returns the ReadingConverter instance.</li>
     *   <li>{@link #getNormalizer()}: Returns the Normalizer instance.</li>
     *   <li>{@link #getIndex()}: Returns the index name.</li>
     *   <li>{@link #getAllWordsNum()}: Returns the total number of words in the suggestion index.</li>
    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)
  9. src/main/java/org/codelibs/fess/entity/ChatMessage.java

                }
                return value.toString();
            }
    
            /**
             * 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) {
    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)
  10. src/test/java/org/codelibs/fess/helper/SuggestHelperTest.java

            public void refresh() {
                // Mock implementation
            }
    
            public void createIndexIfNothing() {
                // Mock implementation
            }
    
            public String getIndex() {
                return "fess.suggest";
            }
    
            public long getAllWordsNum() {
                return 100L;
            }
    
            public long getDocumentWordsNum() {
                return 50L;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16.3K bytes
    - Click Count (0)
Back to Top