AnsweredAssumed Answered

Lucene Search Error

Question asked by ram3n on Jun 18, 2008
Hey all,

The search API on the wiki states: (http://wiki.alfresco.com/wiki/JavaScript_API#Search_API)
Array luceneSearch(string query, string sortColumn, boolean asc)
    Returns an array of ScriptNode satisfying the search criteria sorted by the specified sortColumn (the property name to sort on) and asc (true => ascending order, false => descending order).

However, when I try to implement this in Javascript for a webscript I am creating, I get this error from the javascript debugger:

org.mozilla.javascript.EvaluatorException: Can't find method
org.alfresco.repo.jscript.Search.luceneSearch(string,string,boolean).

Does anyone have anymore information about this?  Thanks in advance.

Outcomes