Hi,
I have implemented a search against custom attributes (via a webscript), but it is taking 3 seconds to execute. Knowing a little about lucene, and the query being executed I thought this was a little long (and is too long for our use case).
This is against an AVM store, but I have posted it here as I believe this is a general issue.
I have profiled the search in Alfresco, running in debug and it seems that most of the time (90%+) is being spent in ACLEntryAfterInvocationProvider.decide() for the ResultSet. I guess this is filtering the resultset based on some ACLs.
Is there a way to improve the performance, or bypass the ACL checks for particular operations?