Docs Menu
Docs Home
/ /
/ / /

AtlasSearchIndexConfig カスタム リソース

AtlasSearchIndexConfigカスタム リソースは、コレクションの Atlas Search インデックスを構成します。 AtlasSearchIndexConfigカスタム リソースを作成すると、Atlas Kubernetes Operator はコレクションのインデックスを作成または更新しようとします。

次の例では、 lucene.standardアナライザ メソッド用に構成されたAtlasSearchIndexConfigカスタム リソース仕様を示しています。

apiVersion: atlas.mongodb.com/v1
kind: AtlasSearchIndexConfig
metadata:
name: atlassearchindexconfig-sample
namespace: mongodb-atlas-system
spec:
analyzer: lucene.standard
searchAnalyzer: lucene.standard

AtlasSearchIndexConfig は、AtlasSearchIndexConfig APIのスキーマです

Name
タイプ
説明
必須

apiVersion

string

atlas.mongodb.com/v1

true

kind

string

AtlasSearchIndexConfig

true

metadata

オブジェクト

metadataフィールドのフィールドについては、 Kubernetes API のドキュメントを参照してください。

true

spec

オブジェクト

AtlasSearchIndexConfigSpec は、AtlasSearchIndexConfig のターゲット状態を定義します。

false

status

オブジェクト

AtlasSearchIndexConfigStatus は、AtlasSearchIndexConfig の監視された状態を定義します。

false

AtlasSearchIndexConfigSpec は、AtlasSearchIndexConfig のターゲット状態を定義します。

Name
タイプ
説明
必須

analyzer

列挙

データベースフィールドテキストを検索可能な単語に変換するために選択された特定の定義済みメソッド。この変換により、フィールドのテキストが最小のテキスト単位に縮小されます。これらの単位は、期間またはトークンと呼ばれます。トークン化と呼ばれるこのプロセスでは、フィールド内のテキストにさまざまな変更が加えられます。- 単語の抽出 - 句読点の除く - アクセントの除く - 小文字への変換 - 一般的な単語の除く - 単語を語幹形態まで縮小(ステミング) - 単語を基本形式(レンマ化)に変更 MongoDB クラウドは選択したプロセスを使用してAtlas Searchインデックスをビルドする 列挙: lucene.standard、lucene.simple、lucene.whitespace、lucene.keyword、lucene.arabic、lucene.argenian、lucene.basque、lucene. envelope、lucene.brazilian、lucene.bulgarian、lucene.catalan、lucene.chinese、lucene.cck、lucene.czech、lucene.danish、lucene.dutch、lucene.english、lucene.finnish、lucene.french、lucene.galician、lucene.german、lucene.greek、lucene.hind、lucene.hungarian、lucene.indonesian、lucene.irish、lucene.italian、lucene.japanese、lucene.korean、lucene.先書込み設定、lucene.latvian、lucene.lithuanian、lucene.mongologek、lucene. nor、lucene.norwegian、lucene.persian、lucene.portuguese、lucene.romanian、lucene.russian、lucene.smartcn、lucene.sorana、lucene.spanish、lucene.swedish、lucene.thail、lucene.turkish、lucene.ukrainian

false

analyzers

[]オブジェクト

データベース フィールドのテキストを検索可能な単語に変換するユーザー定義メソッドのリスト。

false

searchAnalyzer

列挙

このインデックスを検索するときに単語を識別するために適用されるメソッド。列挙: lucene.standard、lucene.simple、lucene.whitespace、lucene.keyword、lucene.arabic、lucene.argenian、lucene.basque、lucene. envelope、lucene.brazilian、lucene.bulgarian、lucene.catalan、lucene.chinese、lucene.cck、lucene.czech、lucene.danish、lucene.dutch、lucene.english、lucene.finnish、lucene.french、lucene.galician、lucene.german、lucene.greek、lucene.hind、lucene.hungarian、lucene.indonesian、lucene.irish、lucene.italian、lucene.japanese、lucene.korean、lucene.先書込み設定、lucene.latvian、lucene.lithuanian、lucene.mongologek、lucene. nor、lucene.norwegian、lucene.persian、lucene.portuguese、lucene.romanian、lucene.russian、lucene.smartcn、lucene.sorana、lucene.spanish、lucene.swedish、lucene.thail、lucene.turkish、lucene.ukrainian

false

storedSource

JSON

Atlas Search にすべてのフィールド (true) を保存するかどうかを示すフラグ。デフォルトでは、Atlas は Atlas Search のフィールドを保存しません(false)。または、Atlas Search に保存するフィールドのリストのみを含むオブジェクトを指定するか(include)、または保存しないフィールドのリストを含む(exclude)オブジェクトを指定することもできます。学ぶには、ドキュメントを参照してください: https://www.mongodb.com/ja-jp/docs/atlas/atlas-search/stored-source-definition/

false

Name
タイプ
説明
必須

name

string

カスタムアナライザを識別する、人間が判読できるname。名前はインデックス内で一意である必要があり、次の文字列で始まらない必要があります。"lucene."、"Buildin."、"mongodb."

true

tokenizer

オブジェクト

トークンを作成するために使用する トークナイザ 。 トークンは、Atlas Search がインデックスを作成するためにテキストを個別のチャンクに分割する方法を決定します。

true

charFilters

JSON

テキストを 1 文字ずつ検査し、フィルタリング操作を実行するフィルター。

false

tokenFilters

JSON

次のような操作を実行するフィルター - ステミング 。これにより、"contact" 、"thaled"、"turs" などの関連単語が含まれ、語幹が "look" に設定されます。- リダクション: 公開ドキュメントからの機密情報の削除

false

トークンを作成するために使用する トークナイザ 。 トークンは、Atlas Search がインデックスを作成するためにテキストを個別のチャンクに分割する方法を決定します。

Name
タイプ
説明
必須

type

列挙

このトークナイザのタイプを識別する、人間が判読できるラベル。列挙: 空白、uaxUrlEmail、標準、regexSplitregexCaptureGroupnGram、キーワード、edgeGram

true

group

integer

トークンに抽出するマッチ式内の文字 group のインデックス。すべての文字グループを抽出するには、0 を使用します。

false

maxGram

integer

Atlas Search が作成する最長トークンに含める文字。

false

maxTokenLength

integer

単一のトークン内の最大文字数。この長さを超えるトークンは、この長さで複数のトークンに分裂。

false

minGram

integer

Atlas Search が作成する最短のトークンに含める文字。

false

pattern

string

照合する正規表現。

false

AtlasSearchIndexConfigStatus は、AtlasSearchIndexConfig の監視された状態を定義します。

Name
タイプ
説明
必須

conditions

[]オブジェクト

条件は、Atlas カスタム リソースの現在の状態を示すステータスのリストです

true

observedGeneration

integer

ObservedGeneration は、Atlas 演算子が認識しているリソース仕様の生成を示します。Atlas 演算子は、このフィールドを「メタデータ.generate 」の値に更新します。が、リソースの調整を開始するとすぐに 表示されます。形式: int64

false

条件 は、 特定の点における Atlas カスタム リソースの状態を表します。

Name
タイプ
説明
必須

status

string

条件のステータス。 True、False、Unknown のいずれか 1 つ。

true

type

string

Atlas カスタム リソース条件のタイプ。

true

lastTransitionTime

string

条件があるステータスから別のステータスに最後に移行した時刻。ISO 8601形式で表されます。形式: 日時

false

message

string

移行に関する詳細を提供する message

false

reason

string

条件の最後の移行の reason

false

戻る

AtlasPrivateEndpoint

項目一覧