lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <>
Subject Re: Secure Server index
Date Fri, 02 Sep 2005 20:54:55 GMT

Valmir, I'm replying to java-user@ list, as it's better for this type
of questions.

Lucene has no built-in security features.  Some people use Lucene's
Filters to accomplish show/hide-type security.  If you have a copy of
the Lucene book, you'll see that covered in section 5.5.3 ( )

Basically, you can create an index that has field(s) with a set of
different values.  Then, you create (and probably cache) a Filter for
documents that have a given value (e.g. a Filter for all documents that
have the security field value of "admin", another Filter for all
documents that have the security field value of "guest", etc.).  Then,
when you search, you can use this Filter to show only one set of

You can download Lucene in Action code and look at:


--- Valmir Mac&#225;rio <> wrote:

>  Hi, i'm new lucenes' developer and i wolud like to known if lucene
> or nuch 
> suports some security configuration. I would like to keep hide some 
> information for public acces and configure this hide acces for people
> wich 
> has permission to acces this information. How i can do that? I
> apreciate if 
> someone can help-me. 
> Thank you
> Valmir

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message