- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 10 for IndexName (0.21 seconds)
-
src/main/java/org/codelibs/fess/timer/LogNotificationTarget.java
} private void ensureIndexExists(final SearchEngineClient client, final String indexName) { if (!indexChecked) { if (!client.existsIndex(indexName)) { client.createIndex(NOTIFICATION_QUEUE_INDEX, indexName); } indexChecked = true; } }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 4.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java
final String indexName; if (isFessIndex) { final boolean exists = existsIndex(fessConfig.getIndexDocumentUpdateIndex()); if (!exists) { indexName = generateNewIndexName(configIndex); createIndex(configIndex, indexName); createAlias(configIndex, indexName); } else {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 138.6K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientRebuildTest.java
@Override public boolean existsIndex(final String indexName) { calledMethods.add("existsIndex"); if (useExistingIndicesSet) { return existingIndices.contains(indexName); } return existsIndexResult; } @Override public long getDocumentCount(final String indexName) { calledMethods.add("getDocumentCount");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 28.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/Suggester.java
final String settingsSource = getDefaultIndexSettings(); final String indexName = createIndexName(index); if (logger.isInfoEnabled()) { logger.info("Creating suggest index: index={}, searchAlias={}, updateAlias={}", indexName, getSearchAlias(index), getUpdateAlias(index)); } client.admin()
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) -
src/main/java/org/codelibs/fess/job/LogNotificationJob.java
return "No notification targets configured."; } final SearchEngineClient client = ComponentUtil.getSearchEngineClient(); final String indexName = fessConfig.getIndexLogIndex() + ".notification_queue"; if (!client.existsIndex(indexName)) { return "No log notifications."; } final int searchSize = fessConfig.getLogNotificationSearchSizeAsInteger();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 9.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java
public void testGetIndicesForAlias_existingAlias() throws Exception { final String indexName = "test-index-001"; final String aliasName = "test-alias"; // Create index with alias final CreateIndexResponse response = client.admin().indices().prepareCreate(indexName).addAlias(new Alias(aliasName)).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) -
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
} @Test public void test_indexFromDocumentReader() throws Exception { Client client = runner.client(); int num = 1000; String indexName = "test"; BulkRequestBuilder bulkRequestBuilder = client.prepareBulk(); for (int i = 0; i < num; i++) { Map<String, Object> source = Collections.singletonMap("content", "test");Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 37.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/LogNotificationJobTest.java
ComponentUtil.register(new SystemHelper(), "systemHelper"); ComponentUtil.register(new SearchEngineClient() { @Override public boolean existsIndex(final String indexName) { return false; } }, "searchEngineClient"); String result = logNotificationJob.execute(); assertEquals("No log notifications.", result); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 10.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java
} }); // Verify that the index name pattern uses config prefix correctly final String indexName = coordinatorHelper.getIndexName(); assertTrue(indexName.endsWith(".coordinator")); assertTrue(indexName.startsWith("fess_config")); } // ===================================================================================Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 58.6K bytes - Click Count (0) -
tests/migrate_test.go
} assert.ElementsMatch(t, expected, indexes) } uniqueIndex := &migrator.Index{TableName: table, NameValue: DB.Config.NamingStrategy.IndexName(table, "name"), ColumnList: []string{"name"}, PrimaryKeyValue: sql.NullBool{Bool: false, Valid: true}, UniqueValue: sql.NullBool{Bool: true, Valid: true}}
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:49:01 GMT 2026 - 66.3K bytes - Click Count (0)