Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: General
Issue with Lucene.NET "Query" object

Index | Next | Previous | View Flat

tushar_mistry at persistent

Jan 9, 2012, 12:34 AM

Views: 416
Issue with Lucene.NET "Query" object


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".

Tushar Mistry

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.

Subject User Time
Issue with Lucene.NET "Query" object tushar_mistry at persistent Jan 9, 2012, 12:34 AM

  Index | Next | Previous | View Flat

Interested in having your list archived? Contact Gossamer Threads
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.