<
From version < 70.1 >
edited by Thomas Mortagne
on 2015/09/25
To version < 74.1 >
edited by Marius Dumitru Florea
on 2015/09/25
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ThomasMortagne
1 +XWiki.mflorea
Content
... ... @@ -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 ##DocumentReferenceBehavior## 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 -The Script service changed a bit, ##url(EntityReference)## now return relative URL String by default and 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  

Get Connected