Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
11.10
-
None
-
Unknown
-
Description
* @param isLocaleAware If true, fetches the documents with the best language (the one from the user * or the default one from the document).
When calling /wikis/<wikiName>/search with localeAware=true and with scope=name, the returned entry is the first translation (in any language).
The reason is that localeAware seems to be implemented properly only for scope=title and for the others there's just a quick unicity filter done.
To reproduce:
http://localhost:8080/xwiki/rest/wikis/xwiki/search?scope=name&localeAware=true&number=10&&q=san