Last modified by Thomas Mortagne on 2023/10/13

From version 22.1
edited by Thomas Mortagne
on 2012/10/22
Change comment: There is no comment for this version
To version 23.1
edited by Fabio Mancinelli
on 2012/10/22
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ThomasMortagne
1 +XWiki.fmancinelli
Content
... ... @@ -59,19 +59,19 @@
59 59  Some improvements have been done to the REST API in order to allow more powerful searches of the data stored in the wiki.
60 60  
61 61  * Results can be ordered using the ##/wikis/{wikiName}/search## and ##/wikis/{wikiName}/spaces/{spaceName}/search## resources with the following parameters:
62 -** //orderField//: one of the XWiki document field, as specified in http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples#HXWikiDocument
62 +** //orderField//: one of the XWiki document field, as specified in [[HQL Query Examples in Velocity>>platform:DevGuide.velocityHqlExamples]]
63 63  ** //order//: ##asc## or ##desc##". By default ##asc## is used.
64 64  
65 65  * Advanced search queries can be specified using ##/wikis/{wikiName}/query## resources with the following parameters:
66 66  ** //q//: the query to be executed (it depends on the query type)
67 67  ** //type//: ##hql##, ##xwql## or ##lucene##. Depending on the query type, the //q// parameter will contain a query matching the type
68 -*** For ##hql## it's like a searchDocuments query, as shown in specified in http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples.
69 -*** For ##xwql## the user is allowed to use XWQL syntax for short queries (http://dev.xwiki.org/xwiki/bin/view/Design/XWiki+Query+Language+Specification )
70 -*** For ##lucene## it's a standard Lucene query handled by the Lucene plugin (http://extensions.xwiki.org/xwiki/bin/view/Extension/Lucene+Plugin )
68 +*** For ##hql## it's like a searchDocuments query, as shown in specified in [[HQL Query Examples in Velocity>>platform:DevGuide.velocityHqlExamples]].
69 +*** For ##xwql## the user is allowed to use XWQL syntax for short queries ([[XWiki Query Language Specification>>dev:Design.XWiki Query Language Specification]])
70 +*** For ##lucene## it's a standard Lucene query handled by the Lucene plugin ([[Lucene Plugin>>extensions:Extension.Lucene Plugin]])
71 71  ** Standard parameters like //start//, //number// can be specified to control the number of the results to be returned.
72 72  
73 73  * Multi-wiki Lucene search using the ##/wikis/query## resource with the following parameters:
74 -** //q//: the Lucene query handled by the Lucene plugin (http://extensions.xwiki.org/xwiki/bin/view/Extension/Lucene+Plugin )
74 +** //q//: the Lucene query handled by the Lucene plugin ([[Lucene Plugin>>extensions:Extension.Lucene Plugin]])
75 75  ** //wikis//: a comma separated list of wikis where to perform the search.
76 76  
77 77  == Miscellaneous ==

Get Connected