Hello,

I need a way to limit the number of documents that can be indexed on my
solr-based application. Here is what I have come up with: create a *
UpdateRequestProcessor* and register it on *solrconfig.xml*. When the user
tries to add a document, check if the docs limit has been reached. The
problem is, the user can modify solrconfig.xml and remove the *
UpdateRequestProcessor* so he can index as much as he wants.

Any ideas how to implement such restriction in a "safer" manner?

Thanks in advance,
Valdir

PS: Of course, I also need to make sure the user cannot modify how many
files he can index, but I think some encription on the properties file which
holds that information will do for now.

Reply via email to