Last modified by Thomas Mortagne on 2023/10/13

<
From version < 4.3 >
edited by Marius Dumitru Florea
on 2013/12/12
To version < 4.5 >
edited by Marius Dumitru Florea
on 2013/12/13
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -66,6 +66,16 @@
66 66  We made important changes to the [[Solr schema>>http://design.xwiki.org/xwiki/bin/view/Design/SolrSchema]] in this release and unfortunately we don't have support for automatic Solr search index migration at this point. If you upgrade from XWiki 4.3 Milestone 2 or greater then **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.
67 67  {{/error}}
68 68  
69 +The following index fields are now **multiValued**: class, filename, mimetype and attcontent. The reason is because these fields are now used also on document index rows, and a document can have multiple XObjects and multiple attachments. This is a consequence of the fact that we now index XObject and attachment data on document rows to avoid the need for using joins in the Solr query syntax when matching documents with specific XObjects and attachments. You'll have to update your code like this:
70 +
71 +{{code language="none"}}
72 +## Before
73 +##set ($classFullName = $searchResult.get('class'))
74 +##
75 +## Now
76 +#set ($classFullName = $searchResult.get('class').get(0))
77 +{{/code}}
78 +
69 69  == API Breakages ==
70 70  
71 71  The following APIs were modified since XWiki 5.2.2:

Get Connected