lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Lucene vs SQL database
Date Fri, 30 Sep 2005 16:22:53 GMT

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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message