אופרטורים נפוצים של חיפוש שמורים
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
במאמר הזה מפורטים אופרטורים של חיפוש ששמורים ואופרטורים נפוצים שזמינים ב-Google Cloud Search. לאופרטורים ששמורים יש שימוש ספציפי ב-Google Cloud Search, ואי אפשר להשתמש בהם בסכימה. אופרטורים נפוצים משותפים לאפליקציות אחרות של Google Workspace, כמו Gmail, אבל אפשר להשתמש בהם בסכימה.
צריך להיזהר כשמשתמשים באופרטורים נפוצים, כי משתמשים שמכירים את השימוש בהם באפליקציות אחרות עלולים להתבלבל מהטמעה שונה ב-Cloud Search.
אופרטורים שמורים
אי אפשר להשתמש באף אחד מהאופרטורים הבאים בסכימה:
מפעיל |
הגדרה |
source |
חיפוש תוכן ממוצר או ממקור נתונים מסוים |
site |
חיפוש תוכן מאתר מסוים. |
inurl |
חיפוש תוכן מכתובת URL מסוימת. |
contenttype |
חיפוש סוגים מסוימים של תוכן, כמו מסמכים, גיליונות אלקטרוניים, מצגות, תמונות, תיקיות וקבצים מצורפים. |
mimetype |
חיפוש תוכן על סמך סוג MIME המקורי. |
type |
חיפוש סוגים מסוימים של תוכן, כמו מסמכים, גיליונות אלקטרוניים, מצגות, תמונות, תיקיות וקבצים מצורפים. |
owner |
חיפוש תוכן שנמצא בבעלותכם או תוכן ששותף איתכם. כשמדובר בתוכן שמקורו במאגרי מידע של צד שלישי, הערך התקין היחיד הוא owner:me . בתוכן של Google Workspace, אפשר גם להשתמש בבעלים:זהות, כאשר זהות יכולה להיות השם, שם המשתמש או כתובת האימייל של הבעלים. |
from |
חיפוש תוכן מאדם מסוים ששלח או יצר את התוכן. האופרטור הזה משמש ככינוי ל-owner . |
before |
חיפוש תוכן ששוּנה לפני תאריך מסוים, בפורמט YYYY/MM/DD. |
after |
חיפוש תוכן ששונו בתאריך מסוים או אחריו, באמצעות הפורמט YYYY/MM/DD. |
createddatetimestampbefore |
חיפוש תוכן שנוצר לפני תאריך מסוים, באמצעות הפורמט YYYY/MM/DD. |
createddatetimestampafter |
חיפוש תוכן שנוצר בתאריך מסוים או אחריו, באמצעות הפורמט YYYY/MM/DD. |
itemsize |
חיפוש תוכן בגודל מסוים שצוין בבייטים. |
itemsizelessthan |
חיפוש תוכן שגודלו קטן מגודל מסוים שצוין בבייטים. |
itemsizegreaterthan |
חיפוש תוכן שגדול מגודל מסוים או שווה לו, שצוין בבייטים. |
in |
לא ברור איך נעשה שימוש באופרטור הזה. |
is |
לא ברור איך נעשה שימוש באופרטור הזה. |
has |
לא ברור איך נעשה שימוש באופרטור הזה. |
to |
לא ברור איך נעשה שימוש באופרטור הזה. |
ארבעת האופרטורים האחרונים בטבלה שמורים, אבל עדיין אין להם הגדרה ספציפית.
מידע על האופן שבו משתמשים באופרטור ספציפי זמין במאמר בנושא צמצום החיפוש.
אופרטורים נפוצים
אפשר להצהיר על האופרטורים הבאים בסכימה. כדי למנוע בלבול בקרב המשתמשים, צריך להצהיר על האופרטורים האלה כך שהשימוש בהם יהיה עקבי עם ההגדרה בטבלה הבאה.
מפעיל |
בשימוש על ידי |
הגדרה |
size |
Gmail |
חיפוש פריטים שגדולים מהגודל שצוין בבייטים. |
larger |
Gmail |
חיפוש פריטים שגדולים מהגודל שצוין בבייטים. שווה ערך ל-size . |
smaller |
Gmail |
חיפוש פריטים קטנים מגודל מסוים בבייטים. |
older_than |
Gmail |
חיפוש פריטים ישנים מתאריך מסוים. |
newer_than |
Gmail |
חיפוש פריטים חדשים מתאריך מסוים. |
subject |
Gmail |
חיפוש פריטים עם נושא או שם ספציפיים. |
label |
Gmail |
חיפוש פריטים עם תווית מסוימת. |
list |
Gmail |
חיפוש פריטים מרשימת תפוצה מסוימת. |
cc |
Gmail |
חיפוש פריטים עם הנמען שצוין בשדה cc . |
bcc |
Gmail |
חיפוש פריטים עם הנמען הנתון בשדה bcc |
deliveredto |
Gmail |
חיפוש פריטים שנמסרו לכתובת האימייל שצוינה. |
category |
Gmail |
חיפוש פריטים בקטגוריה מסוימת. |
title |
Drive |
התאמה לפריט עם שם נתון. |
app |
Drive |
אם משתמשים ב-app אפשר לחפש פריטים שנפתחים רק באפליקציה מסוימת. |
mailthreadid |
Gmail |
תואם לפריטים עם מזהה השרשור הנתון. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-08-29 (שעון UTC).
[null,null,["עדכון אחרון: 2025-08-29 (שעון UTC)."],[],[],null,["# Reserved and common search operators\n\nThis document lists the *reserved* and common search operators available within\nGoogle Cloud Search. *Reserved* operators have Google Cloud Search-specific\nuse and cannot be used in your schema. *Common* operators are common to\nother Google Workspace apps, such as Gmail, but can be used in your schema.\nBe cautious when using common operators, because users who are familiar with\ntheir use in other apps might be confused by a different implementation in\nCloud Search.\n\nReserved operators\n------------------\n\nYou cannot use any of the following operators in your schema:\n\n| Operator | Definition |\n|------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `source` | Find content from a particular product or data source |\n| `site` | Find content from a particular site. |\n| `inurl` | Find content from a particular url. |\n| `contenttype` | Find particular types of content, such as documents, spreadsheets, presentations, images, folders, and attachments. |\n| `mimetype` | Finds content based on the original mimetype. |\n| `type` | Find particular types of content, such as documents, spreadsheets, presentations, images, folders, and attachments. |\n| `owner` | Find content you own or that's been shared with you. For content originating from third party repositories, the only valid value is `owner:me`. For Google Workspace content, you can also use owner:*identity* where *identity* can be the owner's name, username, or email address. |\n| `from` | Find content from a specific person who sent or created the content. This operator is used as an alias for `owner`. |\n| `before` | Find content modified before a certain date, using the format YYYY/MM/DD. |\n| `after` | Find content modified on or after a certain date, using the format YYYY/MM/DD. |\n| `createddatetimestampbefore` | Find content created before a certain date, using the format YYYY/MM/DD. |\n| `createddatetimestampafter` | Find content created on or after a certain date, using the format YYYY/MM/DD. |\n| `itemsize` | Find content with a particular size specified in bytes. |\n| `itemsizelessthan` | Find content less than a particular size specified in bytes. |\n| `itemsizegreaterthan` | Find content greater than or equal to a particular size specified in bytes. |\n| `in` | The use of this operator has not been determined. |\n| `is` | The use of this operator has not been determined. |\n| `has` | The use of this operator has not been determined. |\n| `to` | The use of this operator has not been determined. |\n\nThe last four operators in the table are reserved, but do not yet have a\nspecific definition.\n\nFor information on how users use a specific operator, refer to\n[Narrow your search](https://support.google.com/cloudsearch/answer/6172299).\n\nCommon operators\n----------------\n\nYou may declare the following operators in your schema. To minimize user\nconfusion, declare these operators so their usage is consistent with the\ndefinition in the following table.\n\n| Operator | Used by | Definition |\n|----------------|---------|-------------------------------------------------------------------------|\n| `size` | Gmail | Find items larger than the given size in bytes. |\n| `larger` | Gmail | Find items larger than the given size in bytes. Synonymous with `size`. |\n| `smaller` | Gmail | Find items smaller than a given size in bytes. |\n| `older_than` | Gmail | Find items older than a given date. |\n| `newer_than` | Gmail | Find items newer than a given date. |\n| `subject` | Gmail | Find items with a specific subject or title. |\n| `label` | Gmail | Find items with a given label. |\n| `list` | Gmail | Find items from a given mailing list. |\n| `cc` | Gmail | Find items with the given recipient in the `cc` field. |\n| `bcc` | Gmail | Find items with the given recipient in the `bcc` field |\n| `deliveredto` | Gmail | Find items delivered to the given email address. |\n| `category` | Gmail | Find items with a given category. |\n| `title` | Drive | Matches item with a given title. |\n| `app` | Drive | Search for items that can only be opened by a specific app. |\n| `mailthreadid` | Gmail | Matches items with the given thread ID. |"]]