- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for setOpType (0.09 sec)
-
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java
if (update && getResponse.isExists()) { final IndexRequestBuilder indexRequestBuilder = new IndexRequestBuilder(client, IndexAction.INSTANCE, index); indexRequestBuilder.setId(item.getId()).setOpType(IndexRequest.OpType.INDEX) .setSource(item.getUpdatedSource(getResponse.getSourceAsMap())); bulkRequestBuilder.add(indexRequestBuilder); } else {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 4.2K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java
try (final XContentBuilder source = getXContentBuilder(target)) { final IndexResponse response = getClient().get(c -> c.prepareIndex().setIndex(index).setId(id).setSource(source) .setOpType(opType).setRefreshPolicy(RefreshPolicy.IMMEDIATE).execute()); setId(target, id); return response; } catch (final OpenSearchStatusException e) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 23.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java
.setOpType(OpType.CREATE).execute().actionGet(fessConfig.getIndexIndexTimeout()); } else { // create or update final IndexRequestBuilder builder = client.prepareIndex().setIndex(index).setId(id).setSource(new DocMap(source)) .setRefreshPolicy(RefreshPolicy.IMMEDIATE).setOpType(OpType.INDEX); if (seqNo != null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sun Oct 20 02:08:03 UTC 2024 - 86.1K bytes - Viewed (0) -
cmd/endpoint.go
var setupType SetupType if isEmptyLayout(poolsLayout...) { return nil, setupType, config.ErrInvalidErasureEndpoints(nil).Msg("invalid number of endpoints") } // Check whether serverAddr is valid for this host. if err := CheckLocalServerAddr(serverAddr); err != nil { return nil, setupType, err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 21 22:22:24 UTC 2024 - 34.2K bytes - Viewed (0) -
cmd/endpoint_test.go
} pools, setupType, err := CreatePoolEndpoints(testCase.serverAddr, srvCtxt.Layout.pools...) if err == nil && testCase.expectedErr != nil { t.Errorf("Test %d: expected = %v, got = <nil>", i+1, testCase.expectedErr) } if err == nil { if setupType != testCase.expectedSetupType { t.Errorf("Test %d: setupType: expected = %v, got = %v", i+1, testCase.expectedSetupType, setupType)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jan 13 07:53:03 UTC 2024 - 18.9K bytes - Viewed (0) -
cmd/endpoint-ellipses.go
func createServerEndpoints(serverAddr string, poolArgs []poolDisksLayout, legacy bool) ( endpointServerPools EndpointServerPools, setupType SetupType, err error, ) { if len(poolArgs) == 0 { return nil, -1, errInvalidArgument } poolEndpoints, setupType, err := CreatePoolEndpoints(serverAddr, poolArgs...) if err != nil { return nil, -1, err } for i, endpointList := range poolEndpoints {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 14.7K bytes - Viewed (0) -
cmd/server-main.go
env.RegisterGlobalCAs(globalRootCAs) globalEndpoints, setupType, err = createServerEndpoints(globalMinioAddr, ctxt.Layout.pools, ctxt.Layout.legacy) logger.FatalIf(err, "Invalid command line arguments") globalNodes = globalEndpoints.GetNodes() globalIsErasure = (setupType == ErasureSetupType) globalIsDistErasure = (setupType == DistErasureSetupType) if globalIsDistErasure { globalIsErasure = true }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 21:50:11 UTC 2024 - 35.2K bytes - Viewed (1)