Kees Jongenburger wrote:
- Lucene uses the user anonymous to index --------------> most probable.
Where can I define the user lucene uses?
If you are using de mmapps lucenemodules this is not currently possible.

Neither is it, right now, in the 'speeltuin' lucene version.
It is probably easy enough to solve it, by adding password information in the lucene configuration file, which can then be sued by Lucene to log on. Note that using an anonymous cloud in Lucene guarantees that the index created is readable by all users. Using clioyud swith mroe priviliges may cause problems (security exceptions) when you try to read info form teh idnex that you are not allowed to access. While you can deal with the security exceptions (by testing whether data may be returned) it can cause discrepancies when obtaining the number of results, or using an offset (while paging) in a list of results.

--
Pierre van Rooden
Mediapark, C 107 tel. +31 (0)35 6772815
"Anything worth doing is worth overdoing."
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to