Re: Using one physical lucene index for multiple projects

2005-09-01 Thread Maik Schreiber
> Multiple users can authenticate to the XML-RPC server but also have > access to different documents inside lucene. > > So I need some information in the lucene index to know which ones the > users is able to access. Currently I generate a MD5 hash of the > username/password and store this as Fie

Re: Using one physical lucene index for multiple projects

2005-09-01 Thread Markus Fischer
Maik Schreiber wrote: Currently, I also store the SecretKey (hash of it) in the index so I know when e.g. the request comes to delete all documents I also which ones. I'm not sure if you're talking about authentication for using the XML-RPC interface here...? Multiple users can authenticate t

Re: Using one physical lucene index for multiple projects

2005-09-01 Thread Maik Schreiber
> Is any of the authentication incredentials actually put into the index > for this verifyication? No. We're using authentication only to protect the HTTP interface, but you can search for about anything once you're past that. > Currently, I also store the SecretKey (hash of it) in the index so I

Re: Using one physical lucene index for multiple projects

2005-09-01 Thread Markus Fischer
Maik Schreiber wrote: I'm running XML-RPC to allow access to the index. My idea was that I share a SecretKey between the projects indexers and projects clients. So the indexer can only add/remove documents with his key and the client can only access documents with his key. In our projects w

Re: Using one physical lucene index for multiple projects

2005-08-31 Thread Markus Fischer
Maik Schreiber wrote: I'm running XML-RPC to allow access to the index. My idea was that I share a SecretKey between the projects indexers and projects clients. So the indexer can only add/remove documents with his key and the client can only access documents with his key. In our projects w

Re: Using one physical lucene index for multiple projects

2005-08-31 Thread Maik Schreiber
I'm running XML-RPC to allow access to the index. My idea was that I share a SecretKey between the projects indexers and projects clients. So the indexer can only add/remove documents with his key and the client can only access documents with his key. In our projects we're using HTTP authenti

Using one physical lucene index for multiple projects

2005-08-31 Thread Markus Fischer
Hi, I've about five different projects which would need to access a lucene index for searching. The projects are completely unrelated to each other however it's all about the same: indexing HTML documents. Since all these projects are also runnig inside the same hosting company, I thought ab