Re: Intercept updates and cascade loading of Index.

2014-02-07 Thread soodyogesh
Thanks for insights. This helps indeed, however im not sure how do i get delta on commit. I guess I need to do some custom query to get what has changed since last update or sort of like that. I would experiment around that, if anyone does that please share. -- View this message in context:

Re: Intercept updates and cascade loading of Index.

2014-02-06 Thread soodyogesh
Thanks for reply Does that mean I need to compile SOLR with my custom request processor ? or there is way to extend existing framework and plugin new implementation Thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/Intercept-updates-and-cascade-loading-of-Index-tp41

Re: Intercept updates and cascade loading of Index.

2014-02-06 Thread Alexandre Rafalovitch
You could probably use a commit hook script (in solrconfig.xml) and then pull the relevant documents/fields (if they are stored) into the other instances either with DIH ( http://wiki.apache.org/solr/DataImportHandler#SolrEntityProcessor ) or just as a triggered import. Otherwise, you may have the

Re: Intercept updates and cascade loading of Index.

2014-02-06 Thread Shalin Shekhar Mangar
There is no callback in Solr. You can either have your indexer application provide a call back or you can write a custom UpdateRequestProcessor which can extract the relevant fields into a new document and use SolrJ to write it to another collection. On Thu, Feb 6, 2014 at 9:17 PM, soodyogesh wro