具体的全文搜索语法详见本文档后面的 Alfresco全文搜索

Full text searches can be done in two ways. If the attribute cm:abstract is of type d:content, then its full text content will be indexed and searchable in exactly the same way as d:text attributes shown previously. You will be able to search against the text of the content, proving there is a translation to the mimetype text/plain.
全文搜索有两种方式。如果属性cm:abstract是d:content类型,那么它的全文内容将以与前面显示的d:text属性完全相同的方式进行索引和搜索。您将能够根据内容的文本进行搜索,以证明存在对mimetype text/plain的翻译。

So if cm:abstract contains the plain text ‘The quick brown fox jumped over the lazy dog’, you could find the node holding the property using:
因此,如果cm:abstract包含纯文本“the quick brown fox jumpted over the lazy dog”,则可以使用以下命令找到包含该属性的节点:

@cm\:abstract:'brown fox'

You can also use the TEXT field - this accumulates a broad full text search over all d:content type properties of the node.
So to find nodes that have the word ‘lazy’ in any content property:
您还可以使用TEXT字段-这将在节点的所有d:content类型属性上进行全文搜索。
因此,要查找在任何d:content属性中包含单词“lazy”的节点:

TEXT:'lazy'

Content may not be indexed correctly for several reasons. Currently, these failures are recorded by inserting special tokens.
These failures are not retried.
由于多种原因,内容可能无法正确索引。目前,这些失败是通过插入特殊标记来记录的。
不会重试这些失败。

‘nint’
the content was not indexed as no appropriate transformation to text/plain was available.
内容未编制索引,因为没有适当的文本/纯文本转换。

‘nitf’
the content was not indexed as the transformation to text/plain failed with an exception.
内容未编制索引,因为转换为文本/纯文本失败,出现异常。

‘nicm’
the content was not indexed as no content was found in the content store.
内容未编制索引,因为在内容存储中未找到任何内容。

You can search for these tokens to find documents that had indexing problems. These tokens will also work in the UI search.
您可以搜索这些标记来查找具有索引问题的文档。这些标记也将在UI搜索中工作。

TEXT:'nint'

All uploaded content is tokenized according to the users locale. (It is not yet possible to specify locale on upload). At search time, the users locale is used for tokenization. Locale(s) can also be explicitly specified using the SearchParameters object.
所有上传的内容都根据用户的区域设置进行分词。(尚无法在上载时指定区域设置)。在搜索时,用户区域设置用于分词。也可以使用SearchParameters对象显式指定区域设置。

A search is performed in the users locale except for d:mltext and d:content attributes which can be found in other locales as specified on the search parameters. Content will also be found in the locales specified on the search parameters if the tokens generated match those in other languages. The content part of the query only generates tokens in one language. However, those tokens are looked for in all the languages specified on the search parameters.
在用户区域设置中执行搜索,但在搜索参数中指定的其他区域设置中可以找到的d:mltext和d:content属性除外。如果生成的分词与其他语言中的分词匹配,则还会在搜索参数上指定的区域设置中找到内容。查询的内容部分只生成一种语言的分词。但是,这些分词是在搜索参数上指定的所有语言中查找的。

文档更新时间: 2020-02-10 17:35   作者:凌云文档