Changes for page Release Notes for XWiki 7.2
Last modified by Thomas Mortagne on 2017/03/24
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. ThomasMortagne1 +XWiki.mflorea - Content
-
... ... @@ -242,7 +242,7 @@ 242 242 Two new attributes has been added to the ##<xwikidoc>## root XML element 243 243 244 244 * ##reference##: the complete local Reference of the document in standard Reference format. ##<web>## and ##<name>## are deprecated (but still set). ##<web>## keep containing the (unescaped) space name when there is only one space and will contain the space Reference when there is several (when imported in a < 7.2 instance a document exported from a nested space will end up in a space having as name the space reference). 245 -* ##locale##: the locale of the document. ##<language>## is deprecated. It was not technically needed in the context of nested spaces but it makes having the Reference as attribute more consistent. It also make getting all the entries from a new format XAR easier and faster since document space and name would beplaced anywhere in the document.245 +* ##locale##: the locale of the document. ##<language>## is deprecated. It was not technically needed in the context of nested spaces but it makes having the Reference as attribute more consistent. It also make getting all the entries from a new format XAR easier and faster since document space and name could be located anywhere in the XML document. 246 246 247 247 === REST module === 248 248 ... ... @@ -393,6 +393,16 @@ 393 393 {{/code}} 394 394 ))) 395 395 396 +=== Solr Search === 397 + 398 +We added 3 new fields to the [[Solr Index>>design:Design.SolrSchema]] related to Nested Spaces: 399 + 400 +* spaces: the list of nested spaces, e.g. ['A', 'B', 'C'] 401 +* space_facet: used for [[hierarchical faceting>>https://wiki.apache.org/solr/HierarchicalFaceting]] (the 'facet.prefix'-based drill down approach) 402 +* space_prefix: used to match descendant documents, e.g. all documents from space ##A.B## and all its descendants (like space ##A.B.C##) 403 + 404 +We also modified the value of the ##space## and ##space_exact## fields to contain the full local reference of the space (it was holding only the name of the last space prior to 7.2). Finally, the ##space## field has been deprecated in favour of the ##spaces## field. 405 + 396 396 == New Reference-related APIs == 397 397 398 398 Various new API around References has been introduced while adding support for nested spaces. ... ... @@ -437,7 +437,7 @@ 437 437 438 438 === org.xwiki.model.reference.SpaceReferenceResolver === 439 439 440 -New default ##String## and ##EntityReference## based SpaceReferenceResolver has been added. It's the same behavior then ##DocumentReference Behavior## but for spaces.450 +New default ##String## and ##EntityReference## based SpaceReferenceResolver has been added. It's the same behavior then ##DocumentReferenceResolver## but for spaces. 441 441 442 442 {{code language="java"}} 443 443 @Inject ... ... @@ -508,7 +508,7 @@ 508 508 Provider<XWikiContext> roXWikiContextProvider; 509 509 {{/code}} 510 510 511 -The difference with default provider is that the readonly one won't try to create a new XWikiContext and will return null if it can't find any. It's been introduce for some low level components that were used during XWikiContext creation but in general it should be used by any component that only search for some XWikiContext property that might be null even in a valid XWikiContext. 521 +The difference with default provider is that the readonly one won't try to create a new XWikiContext and will return null if it can't find any. It's been introduced for some low level components that were used during XWikiContext creation but in general it should be used by any component that only search for some XWikiContext property that might be null even in a valid XWikiContext. 512 512 513 513 == New Space/XWikiSpace table == 514 514 ... ... @@ -557,7 +557,7 @@ 557 557 558 558 === REST script services === 559 559 560 - TheScript service changed a bit,##url(EntityReference)## nowreturn relative URLStringbydefaultand a new ##url(EntityReference reference, boolean external)## has been added to force returning an external form URL. See [[Generate a REST URL for a resource>>platform:Features.XWikiRESTfulAPI||anchor="HGenerateaRESTURLforaresource"]] for more details.570 +New ##url(EntityReference)## was introduced to return relative REST URL of an entity. The new ##url(EntityReference reference, boolean external)## has been added to force returning an external form URL. See [[Generate a REST URL for a resource>>platform:Features.XWikiRESTfulAPI||anchor="HGenerateaRESTURLforaresource"]] for more details. 561 561 562 562 == Miscellaneous == 563 563 ... ... @@ -680,6 +680,10 @@ 680 680 681 681 All the templates specific to [[extensions:Extension.Colibri Skin]] had been moved to it. If your skin depends on some of these templates, you should set Colibri as parent of your skin. 682 682 693 +=== Solr Search Index === 694 + 695 +We made [[important changes>>||anchor="HSolrSearch-1"]] to the Solr schema in this release and unfortunately we don't have support for automatic Solr search index migration at this point. You have to delete the 'solr' folder from the configured permanent directory of your XWiki instance. The Solr index will be recreated automatically and the entire wiki/farm will be re-indexed after a server restart. 696 + 683 683 == API Breakages == 684 684 685 685 The following APIs were modified since XWiki 7.1.2: