Changes for page Query API
Last modified by Vincent Massol on 2024/02/26 17:31
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. acotiuga1 +xwiki:XWiki.VincentMassol
- EXOExtensionCode.ExtensionClass[0]
-
- Bundled With
-
... ... @@ -1,1 +1,1 @@ 1 - enterprise1 +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: