lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shalin Shekhar Mangar <>
Subject Re: question
Date Thu, 21 Jan 2010 13:05:19 GMT
On Thu, Jan 21, 2010 at 1:21 PM, Daniel Angelov <> wrote:

> Is it posible to set maximum indexed documents in solr? For example, I want
> to insert in solr max 5000 document, after that solr must refuse unserting.

No but you can do it in your indexing application or write a custom
UpdateRequestProcessor to count the number of adds and throw an exception
once the limit is reached. Though the latter gets slightly tricky when you
delete by query or when you replace docs.

Shalin Shekhar Mangar.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message