Is it secure?
The searchDocuments function has the benefit of having had a lot of security 
review.

Vincent Massol wrote:
> Hi devs,
> 
> I'm wondering why we haven't moved to using XQL instead of HQL.
> 
> Any reason?
> 
> If not, I'd like to suggest we start using it everywhere we currently use HQL 
> since XWQL since is much nicer. Also since we don't use it  our users don't 
> use it.
> 
> Additionally I'd like to propose that we move to a ScriptService to access 
> the query manager.
> 
>>From Velocity you'd write the following to get a Query:
> $services.query.xwql("....")
> 
> Note that the ScriptService implementation would replace the 
> SecureQueryManager implementation.
> 
> We would also deprecate XWiki.getQueryManager.
> 
> WDYT?
> 
> Thanks
> -Vincent
> 
> 
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
> 

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to