OpenSearch (tC)

Supported OpenSearch versions:

Version

Status

Comment

Version

Status

Comment

1.x

Not-Supported

 

2.x.x

Supported

 

AWS OpenSerach Serverless

Supported, see Limitations in Comment

https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-overview.html#serverless-limitations

The collection must be of type SEARCH.

The index is refresh every 10 seconds as fixed value from AWS. This means it can take up to 10 seconds until a object is actually accessible.

Index naming

Please note the following restrictions when naming the index: Index naming restrictions

Configuration parameter in the repository.cfg

<repoName>.metaservice.type=opensearch <repoName>.metaservice.opensearch.host = http://127.0.0.1:9200 <repoName>.metaservice.opensearch.index.write = archive-fi <repoName>.metaservice.opensearch.index.search = archive-fi <repoName>.metaservice.opensearch.index.update = archive-fi <repoName>.metaservice.opensearch.index.delete = archive-fi #<repoName>.metaservice.opensearch.index.document.write = #default: <index.write> #<repoName>.metaservice.opensearch.index.document.search = #default: <index.search> #<repoName>.metaservice.opensearch.index.document.update = #default: <index.update> #<repoName>.metaservice.opensearch.index.document.delete = #default: <index.delete> #<repoName>.metaservice.opensearch.index.container.write = #default: <index.write> #<repoName>.metaservice.opensearch.index.container.search = #default: <index.search> #<repoName>.metaservice.opensearch.index.container.update = #default: <index.update> #<repoName>.metaservice.opensearch.index.container.delete = #default: <index.delete> #<repoName>.metaservice.opensearch.authentication.type= #default: none #<repoName>.metaservice.opensearch.authentication.credentials= #default: #<repoName>.metaservice.opensearch.maxconnections= #default: 50 #<repoName>.metaservice.opensearch.connecttimeout= #default: 5 #<repoName>.metaservice.opensearch.sockettimeout= #default: 30 #<repoName>.metaservice.opensearch.requesttimeout= #default: 10 #<repoName>.metaservice.opensearch.indexwaitmode= #default: #<repoName>.metaservice.opensearch.fallback.type= #default:

 

AWS Serverless Configuration (supported from tia ContentServer 3.7.1 and newer)

<repoName>.metaservice.type=opensearch <repoName>.metaservice.opensearch.host = <Host from AWS> <repoName>.metaservice.opensearch.index.write = archive-fi <repoName>.metaservice.opensearch.index.search = archive-fi <repoName>.metaservice.opensearch.index.update = archive-fi <repoName>.metaservice.opensearch.index.delete = archive-fi #<repoName>.metaservice.opensearch.index.document.write = #default: <index.write> #<repoName>.metaservice.opensearch.index.document.search = #default: <index.search> #<repoName>.metaservice.opensearch.index.document.update = #default: <index.update> #<repoName>.metaservice.opensearch.index.document.delete = #default: <index.delete> #<repoName>.metaservice.opensearch.index.container.write = #default: <index.write> #<repoName>.metaservice.opensearch.index.container.search = #default: <index.search> #<repoName>.metaservice.opensearch.index.container.update = #default: <index.update> #<repoName>.metaservice.opensearch.index.container.delete = #default: <index.delete> <repoName>.metaservice.opensearch.authentication.type=aws <repoName>.metaservice.opensearch.authentication.credentials= <accessKey,secret> #<repoName>.metaservice.opensearch.region= #default "eu-central-1" #<repoName>.metaservice.opensearch.signingservice= #default "aoss" #<repoName>.metaservice.opensearch.maxconnections= #default: 50 #<repoName>.metaservice.opensearch.connecttimeout= #default: 5 #<repoName>.metaservice.opensearch.sockettimeout= #default: 30 #<repoName>.metaservice.opensearch.requesttimeout= #default: 10 #<repoName>.metaservice.opensearch.indexwaitmode= #default: #<repoName>.metaservice.opensearch.fallback.type= #default:

Storage requirements

Each object in the system generates an entry with the following properties

  • 5 text fields with type keyword

  • 1 date field

  • 1 path field with path_tokenizer, keyword and length

  • => approx. 500 bytes per object, depending on compression, number of objects and storage structure