Hi,

 I try to implement acces rights mechanism on the top of the lucene. My
situation looks like this: Indexed documents have associated access rights
information. When I construct the query, I append a part, which matches
actual user identity with access rights in the documents. This way the user
gets only the documents s/he can really access, and the number of hits is
really the number of documents s/he can potentionally access. The approach
works (it respects access rights), but the access rights (AR) query part
also affects the score of the documents. I tried two approaches to avoid
the effect of AR query part. First, I tried to set boost factor of the AR
fields during the document indexation to zero. This way I was unable to get
any results. Next, I set boost factor of the AR fields to small number
(0.001). This way I get the results but the computed score is really small
(less then 1%) for the first document in the results.
So, is there any possibility to effectivelly exclude certain fields from
score computation?
Any idea regarding the access rights issue, suggestion for better approach,
... is welcome.

Maros.

P.S.
I found this post on the user list:
http://www.gossamer-threads.com/lists/lucene/java-user/14973?do=post_view_threaded

My approach is the number 3 in the post, but unfortunately no reply deal
with it.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to