lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes Christen" <>
Subject AW: retrieve all docs efficiently - just one field
Date Fri, 13 Jun 2008 14:25:44 GMT

There might be quite a lot of users in different groups, but more important the user access
rights might change and keeping them up to date in the index would be a real challenge.

But thanks for the LUCENE-879 tip. I will look into that next week.


-----Urspr√ľngliche Nachricht-----
Von: Karl Wettin [] 
Gesendet: Mittwoch, 11. Juni 2008 15:43
Betreff: Re: retrieve all docs efficiently - just one field

11 jun 2008 kl. 09.38 skrev Johannes Christen:
> That might be a solution in this case, but I have the same kind of  
> problem in another case.
> We index documents from an NTFS source. One field is the URI of the  
> document.
> After a query has been processed, we perform an access check on the  
> hits to ensure the user has access rights to open the document. If  
> we have a big result set it takes very long to retrieve the URIs  
> from all the hits, which we need to perform the access check against  
> the file system.

How many users usually have access to any given document? Can't you  
just index them with the document?

> Any good solution for this?
> I think a fix document ID in lucene would help in this cases a lot.  
> The mapping between lucene documents and other systems (e.g. Oracle)  
> would be much faster.

LUCENE-879 is a proof of concept that shows how you can enforce the  
Lucene document numbers if you really want to go that way.


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

View raw message