※この記事は英語版を翻訳しており、一部機械翻訳を含むため内容は後日更新される可能性があります。最新の内容は英語版を参照してください。表示言語は画面右下の言語名から切り替えられます。
SOQL と SOSL の主な違いは何ですか?
SOQL および SOSL リファレンス
| SOQL | SOSL | |
| 正式名称 | Salesforce Object Query Language | Salesforce Object Search Language |
| 使用場所 | リストビュー、レポート、Apex | (グローバル、サイドバー、詳細) 検索、Apex |
| インデックス付けの実行 | 同期的 (カスタムインデックスまたは標準インデックス) | 非同期的に実行。通常 2 ~ 3 分。9000 を超えるレコードを一度に読み込んだ場合、超過分は一括インデックスキューに移動される (低速)。 |
| 検索時の優先事項 | 正確性。条件に一致するすべての結果を返す。 | 関連性と速度。Google 検索に類似。最近参照されたレコードを優先。 |
| 検索範囲 | 一度に 1 オブジェクトを検索可能。 | 一度に複数のオブジェクトを検索可能。 |
000385852

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.