Useful Field Query Examples
|Field alias||Example description|
|Finding documents exchanged with a person
You can refine results to email and conversation items exchanged with a person using the @to and/or @from field queries. This refinement can also be done using the To and From facets but it may be faster to simply type the field query.
Example: @to=frank finds all documents sent to a person with frank in its name.
Note: You can also use the following syntax to:frank where the @ character is not needed when using the : operator rather than the = operator (see Using Special Characters in Queries).
|date||Finding documents created or modified within a given time range
Using the @date field query, you can easily refine results to documents that where created or modified during a specific time range (see Date/Time Operators).
Example: @date>=now-4h finds all documents created or modified within the last 4 hours .
|containsattachment||Finding documents with attachment
Example: You may want to search for a document that you know contains an attachment. @containsattachment finds all documents containing one or more attachments.
|uri||Finding the total number of documents available from a search interface
You may want to know how many documents are available in the Coveo unified index from a given search interface to grasp the scope of the indexed content. You can easily do this using the @uri field query that returns all documents to which you have access in the context of the current search interface.