02-20-2016 02:50 AM
…
getAll : function(department)
{
var query, def;
//Look within a folder and search for specific documents with aspect completed
query = 'PATH:"//app:company_home/app:dictionary/cm:SomeCo/'+department+'/*" AND TYPE:"cm:content" AND ASPECT:"someco:completed"';
//Define Query params
def =
{
query: query,
store: "workspace://SpacesStore",
language: "fts-alfresco",
sort: [{ column: "@{http://www.alfresco.org/model/content/1.0}name", ascending: true } ]
};
//Resultset!
return search.query(def);
}
solr.query.cmis.queryConsistency=TRANSACTIONAL_IF_POSSIBLE
solr.query.fts.queryConsistency=TRANSACTIONAL_IF_POSSIBLE
### Optional patch that adds required indexes to the DB ###
system.metadata-query-indexes.ignored=false
02-22-2016 06:45 AM
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.