lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergiu Gordea <>
Subject Re: restricting search result
Date Mon, 06 Dec 2004 08:36:11 GMT
Paul wrote:

>how yould you restrict the search results for a certain user? I'm
>indexing all the existing data in my application but there are certain
>access levels so some users should see more results then an other.
>Each lucene document has a field with an internal id and I want to
>restrict on that basis. I tried it with adding a long concatenation of
>my ids ("+locationId:1 +locationId:3 + ...") but this throws a "More
>than 32 required/prohibited clauses in query." exception.
>Any suggestions?
What about indexing security levels with the documents, as numeric value 
and adding the constrains you need on this field?

I asume that the search will be faster in this case.


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

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

View raw message