Docs Menu
Docs Home
/
MongoDB Atlas
/ /

Mflix サンプル データセット

項目一覧

  • コレクション
  • sample_mflix.comments
  • sample_mflix.embedded_movies
  • sample_mflix.movies
  • sample_mflix.sessions
  • sample_mflix.theaters
  • sample_mflix.users

sample_mflix データベースには、映画と映画館に関するデータが含まれています。データベースには、特定の映画に対するユーザーやコメントなど、特定のメタデータのコレクションも含まれています。

Atlas が提供するサンプルデータをクラスターにロードする方法について学ぶには、サンプルデータのロード」を参照してください。

sample_mflixデータベースには次のコレクションが含まれています。

コレクション名
説明

特定の映画に関連付けられたコメントが含まれます。

Atlas ベクトル検索で使用できる OpenAI の Western埋め込みモデルを使用して作成された埋め込みを含むAction フィールドが追加された、Fantasy コレクションのsample_mflix.movies 、 、 ジャンルの映画の詳細が含まれます。plot_embeddingtext-embedding-ada-002

公開年、監督、レビューなどの映画情報が含まれています。

メタデータフィールド。 ユーザーの JSON Web トークンが含まれます。

映画館のロケーションが含まれています。

ユーザー情報が含まれています。

このコレクションには、特定の映画に関連するコメントが含まれています。各ドキュメントには、コメント文、コメントを提出したユーザー名、コメントが適用される映画が含まれています。

このコレクションには、以下のインデックスが含まれます。

名前
Index
説明

_id_

{ "_id": 1 }

_idフィールドのプライマリキー インデックス。

{
"_id": {
"$oid": "5a9427648b0beebeb69579cc"
},
"name": "Andrea Le",
"email": "andrea_le@fakegmail.com",
"movie_id": {
"$oid": "573a1390f29313caabcd418c"
},
"text": "Rem officiis eaque repellendus amet eos doloribus. Porro
dolor voluptatum voluptates neque culpa molestias. Voluptate unde
nulla temporibus ullam.",
"date": {
"$date": {
"$numberLong": "1332804016000"
}
}
}

このコレクションには、WesterngenresAction、または Fantasy である映画の詳細が含まれています。各ドキュメントには、1 本の映画と、そのタイトル、公開年、キャストなどの情報が含まれています。

さらに、このコレクション内のドキュメントには、Atlas Vector Search で使用できる OpenAI の text-embedding-ada-002 埋め込みモデルを使用して作成された埋め込みを含む、plot_embedding フィールドが含まれています。

このコレクションには、以下のインデックスが含まれます。

名前
Index
説明

_id_

{ "_id": 1 }

_idフィールドのプライマリキー インデックス。

注意

読みやすくするために、切り捨てられたサンプル内の次元数。

{
"_id": {
"$oid": "573a1396f29313caabce582d"
},
"plot": "A young swordsman comes to Paris and faces villains, romance, adventure and intrigue with three Musketeer friends.",
"genres": ["Action", "Adventure", "Comedy"],
"runtime": {
"$numberInt": "106"
},
"rated": "PG",
"cast": ["Oliver Reed", "Raquel Welch", "Richard Chamberlain", "Michael York"],
"num_mflix_comments": {
"$numberInt": "0"
},
"poster": "https://m.media-amazon.com/images/M/MV5BODQwNmI0MDctYzA5Yy00NmJkLWIxNGMtYzgyMDBjMTU0N2IyXkEyXkFqcGdeQXVyMjI4MjA5MzA@._V1_SY1000_SX677_AL_.jpg",
"title": "The Three Musketeers",
"lastupdated": "2015-09-16 06:21:07.210000000",
"languages": ["English"],
"released": {
"$date": {
"$numberLong": "133747200000"
}
},
"directors": ["Richard Lester"],
"writers": ["George MacDonald Fraser (screenplay)", "Alexandre Dumas père (novel)"],
"awards": {
"wins": {
"$numberInt": "4"
},
"nominations": {
"$numberInt": "7"
},
"text": "Won 1 Golden Globe. Another 3 wins & 7 nominations."
},
"year": {
"$numberInt": "1973"
},
"imdb": {
"rating": {
"$numberDouble": "7.3"
},
"votes": {
"$numberInt": "11502"
},
"id": {
"$numberInt": "72281"
}
},
"countries": ["Spain", "USA", "Panama", "UK"],
"type": "movie",
"tomatoes": {
"viewer": {
"rating": {
"$numberDouble": "3.5"
},
"numReviews": {
"$numberInt": "9600"
},
"meter": {
"$numberInt": "78"
}
},
"dvd": {
"$date": {
"$numberLong": "982022400000"
}
},
"critic": {
"rating": {
"$numberDouble": "7.1"
},
"numReviews": {
"$numberInt": "11"
},
"meter": {
"$numberInt": "82"
}
},
"lastUpdated": {
"$date": {
"$numberLong": "1441307415000"
}
},
"rotten": {
"$numberInt": "2"
},
"production": "Live Home Video",
"fresh": {
"$numberInt": "9"
}
},
"plot_embedding": [
-0.004237316,
-0.022958077,
-0.005921211,
-0.020323543,
0.010051459
]
}

このコレクションには、映画の詳細が含まれています。各ドキュメントには、1 本の映画と、そのタイトル、公開年、キャストなどの情報が含まれています。

このコレクションには、以下のインデックスが含まれます。

名前
Index
説明
プロパティ

_id_

{ "_id": 1 }

_idフィールドのプライマリキー インデックス。

cast_text_fullplot_text_genres_text_title_text

{ "_fts": "text", "_ftsx": 1 }

castfullplotgenres 、およびtitleフィールドのテキスト インデックス

{
"_id": {
"$oid": "573a1390f29313caabcd413b"
},
"title": "The Arrival of a Train",
"year": {
"$numberInt": "1896"
},
"runtime": {
"$numberInt": "1"
},
"released": {
"$date": {
"$numberLong": "-2335219200000"
}
},
"poster": "http://ia.media-imdb.com/images/M/MV5BMjEyNDk5MDYzOV5BMl5BanBnXkFtZTgwNjIxMTEwMzE@._V1_SX300.jpg",
"plot": "A group of people are standing in a straight line along the
platform of a railway station, waiting for a train, which is seen
coming at some distance. When the train stops at the platform, ...",
"fullplot": "A group of people are standing in a straight line along
the platform of a railway station, waiting for a train, which is
seen coming at some distance. When the train stops at the platform,
the line dissolves. The doors of the railway-cars open, and people
on the platform help passengers to get off.",
"lastupdated": "2015-08-15 00:02:53.443000000",
"type": "movie",
"directors": [
"Auguste Lumière",
"Louis Lumière"
],
"imdb": {
"rating": {
"$numberDouble": "7.3"
},
"votes": {
"$numberInt": "5043"
},
"id": {
"$numberInt": "12"
}
},
"cast": [
"Madeleine Koehler"
],
"countries": [
"France"
],
"genres": [
"Documentary",
"Short"
],
"tomatoes": {
"viewer": {
"rating": {
"$numberDouble": "3.7"
},
"numReviews": {
"$numberInt": "59"
}
},
"lastUpdated": {
"$date": {
"$numberLong": "1441993589000"
}
}
},
"num_mflix_comments": {
"$numberInt": "1"
}
}

このコレクションには、ユーザーに関するメタデータが含まれています。各ドキュメントにはユーザーとそれに対応する JSON Webトークン が含まれています。

このコレクションには、以下のインデックスが含まれます。

名前
Index
説明
プロパティ

_id_

{ "_id": 1 }

_idフィールドのプライマリキー インデックス。

user_id_1

{ "user_id" : 1}

user_id フィールドの昇順インデックス。

{
"_id": {
"$oid": "5a98348755593fdf68350932"
},
"user_id": "bfb9vc1zz@xhasq.5h9",
"jwt": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9..."
}

このコレクションには、映画館の場所が含まれています。各ドキュメントには、1 つの映画館とその場所が文字列とGeoJSON形式の両方で含まれています。

名前
Index
説明
プロパティ

_id_

{ "_id": 1 }

_idフィールドのプライマリキー インデックス。

geo index

{ "location.geo": "2dsphere" }

location.geoフィールドの地理空間インデックス

{
"_id": {
"$oid": "59a47286cfa9a3a73e51e72c"
},
"theaterId": {
"$numberInt": "1000"
},
"location": {
"address": {
"street1": "340 W Market",
"city": "Bloomington",
"state": "MN",
"zipcode": "55425"
},
"geo": {
"type": "Point",
"coordinates": [
{
"$numberDouble": "-93.24565"
},
{
"$numberDouble": "44.85466"
}
]
}
}
}

このコレクションには、mflix 人のユーザーに関する情報が含まれています。各ドキュメントには、1 人のユーザーとその名前、メールアドレス、パスワードが含まれています。

名前
Index
説明
プロパティ

_id_

{ "_id": 1 }

_idフィールドのプライマリキー インデックス。

email_1

{ "email: 1 }

email フィールドのユニークな昇順インデックス。

{
"_id": {
"$oid": "59b99db4cfa9a34dcd7885b6"
},
"name": "Ned Stark",
"email": "sean_bean@gameofthron.es",
"password": "$2b$12$UREFwsRUoyF0CRqGNK0LzO0HM/jLhgUCNNIJ9RJAqMUQ74crlJ1Vu"
}

戻る

ガイド