- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 57 for get_index (0.05 sec)
-
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) -
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 itRegistered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Tue Aug 26 06:24:29 UTC 2025 - 8.8K bytes - Viewed (0) -
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)); } /**Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 21.6K bytes - Viewed (3) -
src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java
suggester.createIndexIfNothing(); Thread.sleep(100); // 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();
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 13.4K bytes - Viewed (0) -
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"));
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.7K bytes - Viewed (0) -
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) -
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) -
src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java
m.ptype = 0; // request m.flags = 0x05; m.alloc_hint = 0; NdrBuffer buf = new NdrBuffer(new byte[1024], 0); m.encode(buf); // decode back buf.setIndex(0); m.decode_header(buf); assertEquals(0, m.ptype); } @Test void testDecodeHeaderInvalidVersion() { NdrBuffer buf = new NdrBuffer(new byte[10], 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7K bytes - Viewed (0) -
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) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
NdrShort ns = new NdrShort(original); buf.reset(); ns.encode(buf); // should not throw // After encoding, check how many bytes were used int bytesUsed = buf.getIndex(); // Should be 2 bytes for the short value (alignment may add padding) assertTrue(bytesUsed >= 2, "Should use at least 2 bytes for short"); // Reset index to read back buf.reset();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0)