As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
var results = search.luceneSearch(query); l_search_docs.results = results;
var results = search.luceneSearch(query); for (i in results) { if ( results.length > 1 && results[i].properties["cm:someproperty"] == "some value") //Check for duplicates, compare a property { results[i].remove(); // to remove the document, or anything else you want to do with it } }