Search specific fields rather than the default. Terms, phrases, etc. can all be preceded by a field. If not the default field TEXT is used.
搜索特定字段而不是默认字段。术语、短语等都可以在前面指定查询的字段名。如果没有指定,则使用默认字段TEXT。

field:term
field:"phrase"
=field:exact
~field:expand

Fields fall into three types: property fields, special fields, and fields for data types.
字段分为三种类型:属性字段、特殊字段和数据类型字段。

Property fields evaluate the search term against a particular property, special fields are described in the following table, and data type fields evaluate the search term against all properties of the given type.
属性字段根据特定属性计算搜索项,下表中描述了特定字段,数据类型字段根据给定类型的所有属性计算搜索项。

Description Type Example
Fully qualified property Property {http://www.alfresco.org/model/content/1.0}name:apple
Fully qualified property Property @{http://www.alfresco.org/model/content/1.0}name:apple
CMIS style property Property cm_name:apple
Prefix style property Property cm:name:apple
Prefix style property Property @cm:name:apple
TEXT Special TEXT:apple
ID Special ID:”NodeRef”
ISROOT Special ISROOT:T
TX Special TX:”TX”
PARENT Special PARENT:”NodeRef”
PRIMARYPARENT Special PRIMARYPARENT:”NodeRef”
QNAME Special QNAME:”app:company_home”
CLASS Special CLASS:”qname”
EXACTCLASS Special EXACTCLASS:”qname”
TYPE Special TYPE:”qname”
EXACTTYPE Special EXACTTYPE:”qname”
ASPECT Special ASPECT:”qname”
EXACTASPECT Special EXACTASPECT:”qname”
ISUNSET Special ISUNSET:”property-qname”
ISNULL Special ISNULL:”property-qname”
ISNOTNULL Special ISNOTNULL:”property-qname”
EXISTS Special EXISTS:”name of the property”
SITE Special SITE:”shortname of the site”
TAG Special TAG: “name of the tag” (TAG must be in upper case.)
Fully qualified data type Data Type {http://www.alfresco.org/model/dictionary/1.0}content:apple
Prefixed data type Data Type d:content:apple
文档更新时间: 2020-02-09 14:20   作者:凌云文档