09-23-2014 01:48 PM
var today = new Date();
//Start date
var sdate="2010\-01\-01T00:00:00";
//end date, today one hour early
var tdate=today.getFullYear()+"\-"+(today.getMonth()+1)+"\-"+today.getDate()+"T"+(today.getHours()-1)+":00:00";
//var spath="'+PATH:\""+aprobados.displayPath +"/\" + ";
var spath="+PATH:\"/app:company_home/cm:My_space/cm:testing//*\" +";
var scontent="@\\{http\\://www.alfresco.org/model/content/1.0\\}content.mimetype:image/tiff + ";
var qdate="@cm\\:modified:[" + sdate + " TO " + tdate +"]";
//var strq=spath+scontent+qdate;
var strq=spath+scontent+qdate;
// Do the search and save the vales
var nodes=search.luceneSearch(strq);
09-24-2014 02:53 AM
09-24-2014 08:40 AM
@cm:modified:["2010-00-01T00:00:00" TO "2014-09-24T10:00:00"]
09-24-2014 09:00 AM
"d_dictionary.datatype.d_datetime.analyzer=org.alfresco.repo.search.impl.lucene.analysis.DateTimeAnalyser"
09-28-2014 10:02 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.