Changes for page Core

Last modified by Marius Dumitru Florea on 2022/11/25 10:52

From version 6.1
edited by Thomas Mortagne
on 2022/11/25 10:10
Change comment: There is no comment for this version
To version 7.1
edited by Thomas Mortagne
on 2022/11/25 10:11
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -11,10 +11,10 @@
11 11  |type|The type of entity that is indexed. E.g. document, attachment, object, object property etc.
12 12  |wiki|\\
13 13  |space|{{warning}}Deprecated since 7.2, use the ##spaces## multivalued field instead.{{/warning}} The local space reference. For a document ##A.B.C.Page## the value of this field is ##A.B.C##. This field is analyzed and thus used for free text search.
14 -|spaces|{{info}}Since 7.2{{/info}} The space names. E.g. for a document ##A.B.C.Page## the value is ['A', 'B', 'C']. This field is analyzed and thus mostly used for free text search.
14 +|spaces|The space names. E.g. for a document ##A.B.C.Page## the value is ['A', 'B', 'C']. This field is analyzed and thus mostly used for free text search.
15 15  |space_exact|We index the local space reference (e.g. ##A.B\.1.C##) verbatim for exact matching.
16 -|space_facet|{{info}}Since 7.2{{/info}} We also need a dedicated field for [[hierarchical faceting>>https://wiki.apache.org/solr/HierarchicalFaceting]] on nested spaces. This field is used to implement a 'facet.prefix'-based drill down. E.g. for a document ##A.B.C.Page## this field will hold ['0/A.', '1/A.B.', '2/A.B.C.'].
17 -|space_prefix|{{info}}Since 7.2{{/info}} This field is used to match descendant documents. A query such as ##space_prefix:A.B## will match the documents from space ##A.B## and all its descendants (like ##A.B.C##). This is possible because this field holds the local references of all the ancestor spaces of a document (i.e. all the prefixes of the space reference). E.g. for a document ##A.B.C.Page## this field will hold ['A', 'A.B', 'A.B.C']. As a consequence, searching for ##space_prefix:A.B## will match ##A.B.C.Page##. NOTE: We don't use the ##PathHierarchyTokenizer## because it doesn't support specifying an escaping character. We compute the values ourselves at index time as a workaround.
16 +|space_facet|We also need a dedicated field for [[hierarchical faceting>>https://wiki.apache.org/solr/HierarchicalFaceting]] on nested spaces. This field is used to implement a 'facet.prefix'-based drill down. E.g. for a document ##A.B.C.Page## this field will hold ['0/A.', '1/A.B.', '2/A.B.C.'].
17 +|space_prefix|This field is used to match descendant documents. A query such as ##space_prefix:A.B## will match the documents from space ##A.B## and all its descendants (like ##A.B.C##). This is possible because this field holds the local references of all the ancestor spaces of a document (i.e. all the prefixes of the space reference). E.g. for a document ##A.B.C.Page## this field will hold ['A', 'A.B', 'A.B.C']. As a consequence, searching for ##space_prefix:A.B## will match ##A.B.C.Page##. NOTE: We don't use the ##PathHierarchyTokenizer## because it doesn't support specifying an escaping character. We compute the values ourselves at index time as a workaround.
18 18  |name|The document name. This field is analyzed and thus mostly used for free text search.
19 19  |name_exact|We also need to store the document name verbatim for faceting (exact matching). This facet is useful for attachments and objects for instance.
20 20  |locale|\\

Get Connected