- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 421 for index2 (0.03 sec)
-
android/guava-tests/test/com/google/common/math/QuantilesTest.java
} private static double expectedLargeDatasetPercentile(int index) { // We have q=100, k=index, and N=9951. Therefore k*(N-1)/q is 99.5*index. If index is even, that // is an integer 199*index/2. If index is odd, that is halfway between floor(199*index/2) and // ceil(199*index/2). if (index % 2 == 0) { int position = IntMath.divide(199 * index, 2, UNNECESSARY); return PSEUDORANDOM_DATASET_SORTED.get(position);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 29.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/QuantilesTest.java
} private static double expectedLargeDatasetPercentile(int index) { // We have q=100, k=index, and N=9951. Therefore k*(N-1)/q is 99.5*index. If index is even, that // is an integer 199*index/2. If index is odd, that is halfway between floor(199*index/2) and // ceil(199*index/2). if (index % 2 == 0) { int position = IntMath.divide(199 * index, 2, UNNECESSARY); return PSEUDORANDOM_DATASET_SORTED.get(position);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 29.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java
final String index1 = "test-multi-index-001"; final String index2 = "test-multi-index-002"; final String aliasName = "test-multi-alias"; // Create first index with alias client.admin().indices().prepareCreate(index1).addAlias(new Alias(aliasName)).execute().actionGet(); // Create second index and add to same aliasRegistered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 13.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
@ParametricNullness final K key; int index; EntryForKey(int index) { // The cast is safe because we call forEntry only for indexes that contain entries. this.key = uncheckedCastNullableTToT(keys[index]); this.index = index; } void updateIndex() { if (index == ABSENT || index > size || !Objects.equals(keys[index], key)) { index = findEntryByKey(key); } }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 16 14:46:34 UTC 2025 - 37.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
import org.codelibs.fess.util.ComponentUtil; import org.opensearch.common.lucene.search.function.CombineFunction; import org.opensearch.index.query.BoolQueryBuilder; import org.opensearch.index.query.QueryBuilders; import org.opensearch.index.query.functionscore.FunctionScoreQueryBuilder; import org.opensearch.index.query.functionscore.ScoreFunctionBuilders; import org.opensearch.search.sort.SortBuilders; import jakarta.annotation.PostConstruct;
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 22.3K bytes - Viewed (0) -
README.md
}); ``` ## Advanced Usage ### Index from Existing Documents ```java import org.codelibs.fess.suggest.index.contents.document.ESSourceReader; // Index suggestions from existing Elasticsearch documents DocumentReader reader = new ESSourceReader( client, suggester.settings(), "content-index", // source index "document" // document type );
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sun Aug 31 03:31:14 UTC 2025 - 12.1K bytes - Viewed (1) -
android/guava/src/com/google/common/collect/Streams.java
S extends MapWithIndexSpliterator<F, R, S>> implements Spliterator<R> { final F fromSpliterator; long index; MapWithIndexSpliterator(F fromSpliterator, long index) { this.fromSpliterator = fromSpliterator; this.index = index; } abstract S createSplit(F from, long i); @Override public @Nullable S trySplit() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 21 15:40:45 UTC 2025 - 36.8K bytes - Viewed (0) -
android/guava/src/com/google/common/math/Quantiles.java
/** * Specifies a single quantile index to be calculated, i.e. the k in the kth q-quantile. * * @param index the quantile index, which must be in the inclusive range [0, q] for q-quantiles */ public ScaleAndIndex index(int index) { return new ScaleAndIndex(scale, index); } /** * Specifies multiple quantile indexes to be calculated, each index being the k in the kth * q-quantile.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 30.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/Streams.java
final F fromSpliterator; long index; MapWithIndexSpliterator(F fromSpliterator, long index) { this.fromSpliterator = fromSpliterator; this.index = index; } abstract S createSplit(F from, long i); @Override public @Nullable S trySplit() { Spliterator<?> splitOrNull = fromSpliterator.trySplit(); if (splitOrNull == null) { return null;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 36.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
import org.codelibs.fess.suggest.entity.ElevateWord; import org.codelibs.fess.suggest.entity.SuggestItem; import org.codelibs.fess.suggest.index.SuggestIndexResponse; import org.codelibs.fess.suggest.index.contents.document.ESSourceReader; import org.codelibs.fess.suggest.index.contents.querylog.QueryLog; import org.codelibs.fess.suggest.index.contents.querylog.QueryLogReader; import org.codelibs.fess.suggest.request.popularwords.PopularWordsResponse;
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 37.4K bytes - Viewed (0)