Hello,
Does any one know whether in Liferay 6 EE SP1 lucene search is working with algorithm 2?
I checked it and it's not working at my end

here is code snippet from where it generating query , if permission algorithm is 2 Query is null and so we are getting NPE in LuceneIndexSearcherImpl.java
public Query getPermissionQuery(
long companyId, long[] groupIds, long userId, String className,
Query query) {
try {
if (PropsValues.PERMISSIONS_USER_CHECK_ALGORITHM == 5) {
return doGetPermissionQuery_5(
companyId, groupIds, userId, className, query);
}
else if (PropsValues.PERMISSIONS_USER_CHECK_ALGORITHM == 6) {
return doGetPermissionQuery_6(
companyId, groupIds, userId, className, query);
}
}
catch (Exception e) {
_log.error(e, e);
}
return null;
}
Please help!
-Archi
Firmi prego dentro per inbandierare questo come inadeguato.