sample_mflixデータベースには、映画と映画館に関するデータが含まれています。データベースには、特定の映画に対するユーザーやコメントなど、特定のメタデータのコレクションも含まれています。
Atlas が提供するサンプルデータをクラスターにロードする方法について学ぶには、Atlas へのサンプルデータのロード を参照してください。
コレクション
sample_mflixデータベースには次のコレクションが含まれています。
コレクション名 | 説明 |
|---|---|
特定の映画に関連付けられたコメントが含まれます。 | |
| |
公開年、監督、レビューなどの映画情報が含まれています。 | |
メタデータ フィールド。ユーザーの JSON Web トークンが含まれます。 | |
映画館のロケーションが含まれています。 | |
ユーザー情報が含まれています。 |
sample_mflix.comments
このコレクションには、特定の映画に関連するコメントが含まれています。各ドキュメントには、コメント文、コメントを提出したユーザー名、コメントが適用される映画が含まれています。
Indexes
このコレクションには、以下のインデックスが含まれます。
名前 | Index | 説明 |
|---|---|---|
|
|
|
サンプルドキュメント
{ "_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" } } }
sample_mflix.embedded_movies
このコレクションには、Western の genres、Action、または Fantasy である映画の詳細が含まれています。各ドキュメントには、1 本の映画と、そのタイトル、公開年、キャストなどの情報が含まれています。
さらに、このコレクション内のドキュメントには、以下のフィールドが含まれます。
plot_embedding_voyage_3_large- Voyage AI のvoyage-3-large埋め込みモデルを使用してplotフィールドから作成された 2048 次元の埋め込みを含み、効率的な保存および検索のためにbinDataに変換されています。plot_embedding- OpenAI のtext-embedding-ada-002埋め込みモデルを使用してplotフィールドから作成された 1536 次元の埋め込みを含み、効率的な保存および検索のためにbinDataに変換されています。
Indexes
このコレクションには、以下のインデックスが含まれます。
名前 | Index | 説明 |
|---|---|---|
|
|
|
サンプルドキュメント
注意
読みやすくするために、切り捨てられたサンプル内の次元数。
{ "_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": Binary.createFromBase64('JwATQn+8iGwMvRuAeTwtiy6908...), "plot_embedding_voyage_3_large": Binary.createFromBase64('JwCnhcc7zQ1TPCq6QLuIdzM71sj...) }
sample_mflix.movies
このコレクションには、映画の詳細が含まれています。各ドキュメントには、1 本の映画と、そのタイトル、公開年、キャストなどの情報が含まれています。
Indexes
このコレクションには、以下のインデックスが含まれます。
名前 | Index | 説明 | プロパティ |
|---|---|---|---|
|
|
| |
|
|
|
サンプルドキュメント
{ "_id": { "$oid": "573a1390f29313caabcd42e8" }, "plot": "A group of bandits stage a brazen train hold-up, only to find a determined posse hot on their heels.", "genres": [ "Short", "Western" ], "runtime": 11, "cast": [ "A.C. Abadie", "Gilbert M. 'Broncho Billy' Anderson", "George Barnes", "Justus D. Barnes" ], "poster": "https://m.media-amazon.com/images/M/MV5BMTU3NjE5NzYtYTYyNS00MDVmLWIwYjgtMmYwYWIxZDYyNzU2XkEyXkFqcGdeQXVyNzQzNzQxNzI@._V1_SY1000_SX677_AL_.jpg", "title": "The Great Train Robbery", "fullplot": "Among the earliest existing films in American cinema - notable as the first film that presented a narrative story to tell - it depicts a group of cowboy outlaws who hold up a train and rob the passengers. They are then pursued by a Sheriff's posse. Several scenes have color included - all hand tinted.", "languages": [ "English" ], "released": { "$date": { "$numberLong": "-2085523200000" } }, "directors": [ "Edwin S. Porter" ], "rated": "TV-G", "awards": { "wins": 1, "nominations": 0, "text": "1 win." }, "lastupdated": "2015-08-13 00:27:59.177000000", "year": 1903, "imdb": { "rating": 7.4, "votes": 9847, "id": 439 }, "countries": [ "USA" ], "type": "movie", "tomatoes": { "viewer": { "rating": 3.7, "numReviews": 2559, "meter": 75 }, "fresh": 6, "critic": { "rating": 7.6, "numReviews": 6, "meter": 100 }, "rotten": 0, "lastUpdated": { "$date": "2015-08-08T19:16:10.000Z" } }, "num_mflix_comments": 0 }
sample_mflix.sessions
このコレクションには、ユーザーに関するメタデータが含まれています。各ドキュメントにはユーザーとそれに対応するJSON Webトークン が含まれています。
Indexes
このコレクションには、以下のインデックスが含まれます。
名前 | Index | 説明 | プロパティ |
|---|---|---|---|
|
|
| |
|
|
|
サンプルドキュメント
{ "_id": { "$oid": "5a98348755593fdf68350932" }, "user_id": "bfb9vc1zz@xhasq.5h9", "jwt": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9..." }
sample_mflix.theaters
このコレクションには、映画館の場所が含まれています。各ドキュメントには、1 つの映画館とその場所が文字列とGeoJSON形式の両方で含まれています。
Indexes
名前 | Index | 説明 | プロパティ |
|---|---|---|---|
|
|
| |
|
|
|
サンプルドキュメント
{ "_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" } ] } } }
sample_mflix.users
このコレクションには、mflix 人のユーザーに関する情報が含まれています。各ドキュメントには、1 人のユーザーとその名前、メールアドレス、パスワードが含まれています。
Indexes
名前 | Index | 説明 | プロパティ |
|---|---|---|---|
|
|
| |
|
|
|
サンプルドキュメント
{ "_id": { "$oid": "59b99db4cfa9a34dcd7885b6" }, "name": "Ned Stark", "email": "sean_bean@gameofthron.es", "password": "$2b$12$UREFwsRUoyF0CRqGNK0LzO0HM/jLhgUCNNIJ9RJAqMUQ74crlJ1Vu" }