Re: Adding documents in Solr plugin

2013-10-23 Thread Avner Levy
I've tried to write the plugin code. Currently I do: AddUpdateCommand addUpdateCommand = new AddUpdateCommand(solrQueryRequest); DocIterator iterator = docList.iterator(); SolrIndexSearcher indexReader = solrQueryRequest.getSearcher();

Re: Adding documents in Solr plugin

2013-06-22 Thread Upayavira
On Sat, Jun 22, 2013, at 03:40 AM, Chris Hostetter wrote: > > : This could be a very useful feature. To do it properly, you'd want some > : new update syntax, extending that of the atomic updates. That is, a new > : custom request handler could do it, but might now be the best way. > > the bigg

Re: Adding documents in Solr plugin

2013-06-21 Thread Chris Hostetter
: This could be a very useful feature. To do it properly, you'd want some : new update syntax, extending that of the atomic updates. That is, a new : custom request handler could do it, but might now be the best way. the biggest complexity to implementing this in a general way would be dealing w

Re: Adding documents in Solr plugin

2013-06-19 Thread Otis Gospodnetic
I think this makes sense. Timothy asked about "update by query" in the last 24 hours and this sounds like the same thing. Otis -- Solr & ElasticSearch Support http://sematext.com/ On Wed, Jun 19, 2013 at 3:52 AM, Avner Levy wrote: > I have a core with millions of records. > I want to add a

Re: Adding documents in Solr plugin

2013-06-19 Thread Upayavira
This could be a very useful feature. To do it properly, you'd want some new update syntax, extending that of the atomic updates. That is, a new custom request handler could do it, but might now be the best way. If I were to try this, I'd look into the atomic update tickets in JIRA and see what cod