On Sep 30, 2005, at 5:45 AM, Eugeny N Dzhurinsky wrote:
On Thu, Sep 29, 2005 at 08:56:50AM -0400, Erik Hatcher wrote:
of only allowed data... But if Lucene needs to index anything,
how >
could I > >define the access privileges for data?
There are many options available. One such technique I described in
"Lucene in Action" ... a SecurityFilter.
This SecurityFilter is implementation of the Filter, right?
As I found, the Filter defineds the bits() method, and I should
implement some
capacities to return set of bits, where first bit means first found
document,
and if it is set to 1 - document will be shown, otherwise if 0 - it
will not
be shown, right?
That is exactly correct. The source code to the SecurityFilter is
found in the .zip file you can download from http://
www.lucenebook.com - and it wouldn't hurt our feelings one bit if you
bought the book too :)
Erik
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]