07-22-2011 08:03 AM
08-08-2011 07:33 PM
09-07-2017 04:24 AM
Is ampersand is working for searching in alfresco 5.2 ?
like if I want to search a file with "&".
I am not able to search with this.
08-19-2011 02:34 AM
web.getSectionByPath("/doc/").searchByTag(term, 10, 0).getResults();
08-25-2011 02:05 PM
/**
* Overridable sanitization method
* @param text
* @return
*/
protected String sanitizeImpl(String text)
{
return text == null ? null : text.replaceAll("[\"'%?*()$^<>/{}\\[\\]#~@.,|\\\\+!:;&`¬=]", " ");
}
08-26-2011 07:38 AM
/**
* Overridable sanitization method
* @param text
* @return
*/
protected String sanitizeImpl(String text)
{
return text == null ? null : text.replaceAll("[\"'%?*()$^<>/{}\\[\\]#~@.,|\\\\+!:;&`¬=]", " ");
}
/**
* Inject a new implementation if desired. Create a subclass of this class, override the sanitizeImpl operation,
* and inject an instance of it using this operation. QuerySanitizer.sanitize will then be routed to your object.
* @param sanitizer
*/
public static void setSanitizer(QuerySanitizer sanitizer)
{
instance = sanitizer;
}
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.