Re: Add jdbc entity to DataImportHandler in runtime

2009-03-06 Thread Shalin Shekhar Mangar
On Fri, Mar 6, 2009 at 11:12 PM, Rui Pereira wrote: > Hi again,Isn't 'preImportDeleteQuery' a Solr 1.4 feature? I'm unable to > import only the entities I want, all the index is deleted. > > In all entities I have a field that is unique by entity ('alias') and I > configured the preImportQuery in

Re: Add jdbc entity to DataImportHandler in runtime

2009-03-06 Thread Rui Pereira
Hi again,Isn't 'preImportDeleteQuery' a Solr 1.4 feature? I'm unable to import only the entities I want, all the index is deleted. In all entities I have a field that is unique by entity ('alias') and I configured the preImportQuery in all entities like this: alias: ''. Thanks in advanced, Rui

Re: Add jdbc entity to DataImportHandler in runtime

2009-02-20 Thread Shalin Shekhar Mangar
On Fri, Feb 20, 2009 at 8:01 PM, Rui Pereira wrote: > Only one more question: doesn't full-import deletes all records before > execution, or in this case only deletes the entities passed in the url? > If no 'entity' parameter is specified, a full-import deletes all existing documents. But if a 'e

Re: Add jdbc entity to DataImportHandler in runtime

2009-02-20 Thread Rui Pereira
Only one more question: doesn't full-import deletes all records before execution, or in this case only deletes the entities passed in the url? Thanks in advance, Rui Pereira On Fri, Feb 20, 2009 at 1:07 PM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > On Fri, Feb 20, 2009 at 5:4

Re: Add jdbc entity to DataImportHandler in runtime

2009-02-20 Thread Shalin Shekhar Mangar
On Fri, Feb 20, 2009 at 5:44 PM, Rui Pereira wrote: > Hello all! > I'm trying to add jdbc entities to Solr in runtime. I can update > data-config.xml and reload the file using the reload-config command, but I > wanted to make the first index on the new entities (not full-index), that > is, add to

Add jdbc entity to DataImportHandler in runtime

2009-02-20 Thread Rui Pereira
Hello all! I'm trying to add jdbc entities to Solr in runtime. I can update data-config.xml and reload the file using the reload-config command, but I wanted to make the first index on the new entities (not full-index), that is, add to index the data given by the query in the new entities. How can