Happy Halloween all,

 

I have a use case in which I have a custom indexer updating a Solr index. There 
is supposed to be no index updating via Solr itself - Solr is just a query tool 
in this case.

 

However, Solr insists on creating an UpdateHandler on startup, which creates a 
SolrIndexWriter, which then creates a lock file, and which therefore prevents 
my custom indexer from acquiring a lock. Sure, I can turn off locking which 
makes it all work, but I was just thinking: wouldn’t it be nice if we could 
have a NullUpdateHandler? Does that make sense?

 

Or, possibly there is a way for my custom indexer to somehow get the write lock 
away from Solr, but I don’t know how.

 

Thanks,

 

Lajos

Reply via email to