You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@lucene.apache.org by tumistry <tu...@persistent.co.in> on 2012/01/09 09:34:19 UTC

Issue with Lucene.NET "Query" object

Hi,

I am new to Lucene and right now having an issue in Lucene query. Please
refer the attached screen shot. I provide a query to Lucene with ACL:<GUID>.
After applying to Query object of Lucene it removes the numbers and '-' form
the GUID and hence I get inconsistent result.

My requirement is to provide search result based on permissions, so if a
user role does not have permission to view a perticular video/image/doc I
want to restrict it from Lucene result. To do that I have indexed the
records along with addtional filed ACL (NOT_ANALYZED) that stores ACL of
role the perticular object has permission to.

Please help me in rectifying query to provide some kind of escape char. OR
let me know how do I go about "ACL based search".

Thanks,
Tushar Mistry
http://lucene.472066.n3.nabble.com/file/n3644014/Lucene_Query_error.png 

--
View this message in context: http://lucene.472066.n3.nabble.com/Issue-with-Lucene-NET-Query-object-tp3644014p3644014.html
Sent from the Lucene - General mailing list archive at Nabble.com.