lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Murali <muralidha...@gmail.com>
Subject Re: searching portions of an index
Date Wed, 21 Dec 2005 18:42:44 GMT
Thanks for your reply. But your suggestion is not applicable to my situation
because 'users' of our system dont correspond to unix users, and different
users are not related in any way, so there is no logical way to split them
into groups.

Murali
On 12/21/05, Mordo, Aviran (EXP N-NANNATEK) <aviran.mordo@lmco.com> wrote:
>
> You approach is correct but you should use groups instead of users. So
> just give a group permission, and add users to groups, this way you
> don't have to worry about reindexing when adding more users, just add
> the user to the group.
>
> Aviran
> http://www.aviransplace.com
>
> -----Original Message-----
> From: Murali [mailto:muralidharan@gmail.com]
> Sent: Wednesday, December 21, 2005 12:33 PM
> To: java-user@lucene.apache.org
> Subject: searching portions of an index
>
> Hi,
>
>     I am new to lucene. We need to provide search to several users of a
> system. Each user has access to a (different)set of documents. The same
> document might be accessible by different users. I want to implement
> this without indexing a document multiple times. The approach I thought
> of was to use a field that is indexed, as well as stored in the index,
> which contains the ids of all the users that can access the document. I
> could then use boolean queries to search for documents accessible by a
> particular user. I figured that I would have to delete and add the whole
> document again into the system if a new user is to be given access to an
> already indexed document(and I figure that this will happen frequently
> in the system). Is there a better approach that I can take?
>
> Thanks,
> Murali
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message