Changes for page Query API

Last modified by Vincent Massol on 2024/02/26 17:31

<
From version < 44.1 >
edited by Alex Cotiugă
on 2018/07/18 13:20
To version < 45.1 >
edited by Vincent Massol
on 2019/01/29 18:06
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.acotiuga
1 +xwiki:XWiki.VincentMassol
EXOExtensionCode.ExtensionClass[0]
Bundled With
... ... @@ -1,1 +1,1 @@
1 -enterprise
1 +XWiki Standard
ExtensionCode.ExtensionClass[0]
Description
... ... @@ -218,6 +218,14 @@
218 218  
219 219  == Pitfalls ==
220 220  
221 +=== Querying multiple wikis at once ===
222 +
223 +When using the ##HQL## or ##XWQL## languages you can only query one wiki at a time (using the ##setWiki()## call to set the wiki to query on, see above). The reason is that this does some database query on one schema (we cannot do queries on multiples database schema at once).
224 +
225 +However, there's a solution, which is to use the ##SOLR## language, which does queries against a SOLR index and thus on all subwikis.
226 +
227 +See the [[Solr Query Langage documentatiob>>extensions:Extension.Solr Search Query API]] for details.
228 +
221 221  === Finding pages under nested pages ===
222 222  
223 223  You may be tempted to write:

Get Connected