Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 174 for indexFor (0.03 sec)

  1. guava/src/com/google/common/util/concurrent/Striped.java

       * @return the stripe at the specified index
       */
      public abstract L getAt(int index);
    
      /**
       * Returns the index to which the given key is mapped, so that getAt(indexFor(key)) == get(key).
       */
      abstract int indexFor(Object key);
    
      /** Returns the total number of stripes in this instance. */
      public abstract int size();
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 22:01:32 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/wizard/IndexForm.java

     * This form handles the initial setup and configuration
     * in the administrative wizard interface.
     */
    public class IndexForm {
    
        /**
         * Default constructor for index form.
         * Creates a new instance with default values.
         */
        public IndexForm() {
            // Default constructor
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            suggester.indexer().deleteBadWord("[");
            suggester.indexer().deleteBadWord("エンジン");
            assertEquals(0, suggester.settings().badword().get(false).length);
        }
    
        @Test
        public void test_popularWords() throws Exception {
            SuggestItem[] items = getPopularWordsItemSet2();
            suggester.indexer().index(items);
            suggester.refresh();
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 37.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

            if (buf.indexOf("dd") == -1) {
                final int pos = buf.indexOf("d");
                if (pos != -1) {
                    buf.replace(pos, pos + 1, "dd");
                }
            }
            if (buf.indexOf("HH") == -1) {
                final int pos = buf.indexOf("H");
                if (pos != -1) {
                    buf.replace(pos, pos + 1, "HH");
                }
            }
            if (buf.indexOf("mm") == -1) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        assertThat(iia.indexOf(1)).isEqualTo(0);
        assertThat(iia.indexOf(8)).isEqualTo(5);
        assertThat(iia.indexOf(4)).isEqualTo(-1);
        assertThat(ImmutableDoubleArray.of(13).indexOf(13)).isEqualTo(0);
        assertThat(ImmutableDoubleArray.of().indexOf(21)).isEqualTo(-1);
        assertThat(iia.subArray(1, 5).indexOf(1)).isEqualTo(0);
      }
    
      public void testIndexOf_specialValues() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

                final int indexOf = field.indexOf(':');
                if (indexOf < 0) {
                    return new Pair<>(field, null);
                }
                final String indexField = indexOf == 0 ? defaultField : field.substring(0, indexOf);
                final String extensionKey = field.substring(indexOf + 1);
                return new Pair<>(indexField, extensionKey);
            }
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. README.md

    );
    
    suggester.indexer()
        .indexFromDocument(reader, 2, 100)  // threads=2, batch=100
        .getResponse();
    ```
    
    ### Index from Query Logs
    
    ```java
    import org.codelibs.fess.suggest.index.contents.querylog.QueryLog;
    
    // Add suggestions from search query logs
    QueryLog queryLog = new QueryLog("user search query", "user123");
    suggester.indexer().indexFromQueryLog(queryLog);
    ```
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Aug 31 03:31:14 UTC 2025
    - 12.1K bytes
    - Viewed (1)
  8. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        assertThat(Bytes.indexOf(ARRAY1, ARRAY1)).isEqualTo(0);
        assertThat(Bytes.indexOf(ARRAY234, ARRAY234)).isEqualTo(0);
        assertThat(Bytes.indexOf(ARRAY234, new byte[] {(byte) 2, (byte) 3})).isEqualTo(0);
        assertThat(Bytes.indexOf(ARRAY234, new byte[] {(byte) 3, (byte) 4})).isEqualTo(1);
        assertThat(Bytes.indexOf(ARRAY234, new byte[] {(byte) 3})).isEqualTo(1);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerTest.java

            SuggestIndexer indexer = suggester.indexer();
    
            assertNotNull(indexer.setIndexName("test-index"));
            assertNotNull(indexer.setSupportedFields(new String[] { "field1", "field2" }));
            assertNotNull(indexer.setTagFieldNames(new String[] { "tag1", "tag2" }));
            assertNotNull(indexer.setRoleFieldName("role"));
            assertNotNull(indexer.setReadingConverter(null));
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 28.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(Doubles.indexOf(ARRAY234, EMPTY)).isEqualTo(0);
        assertThat(Doubles.indexOf(EMPTY, ARRAY234)).isEqualTo(-1);
        assertThat(Doubles.indexOf(ARRAY234, ARRAY1)).isEqualTo(-1);
        assertThat(Doubles.indexOf(ARRAY1, ARRAY234)).isEqualTo(-1);
        assertThat(Doubles.indexOf(ARRAY1, ARRAY1)).isEqualTo(0);
        assertThat(Doubles.indexOf(ARRAY234, ARRAY234)).isEqualTo(0);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 30.9K bytes
    - Viewed (0)
Back to top