Upgrading from 4.6 to 7.2.1 SolrJ ContentStreamUpdateRequest problem

2018-02-26 Thread Gabi
We're trying to upgrade from and old standalone 4.6.0 installation to a 7.2.1 new one. After some work (of course it's not as easy as install and change schema.xml and data-config.xml file) it seems to be working with the database but not with documents. Database information is loaded initial

RE: Select and Update after with DataImportHandler

2015-03-17 Thread Gabi
Yes, that's the point Steve. In a full-import from the UI of Solr a select defined in configuration file data-config.xml is executed. This select retrieves the fields indexed as defined in this config file and schema.xml. But what I try to do is to execute this select and update a field of one of

Select and Update after with DataImportHandler

2015-03-17 Thread Gabi
Hello, we have a sql to retrieve fields from DB and they are indexed in a full-import defined in a data-config.xml. It works as expected but now we want to update the database fields so we know when data was imported. So we add to the table being indexed a timestamp. Now we have table1 field1 f

SolrJ insert PDF for different language

2014-12-17 Thread Gabi
Following the sample in http://wiki.apache.org/solr/ContentStreamUpdateRequestExample I'm able to insert a PDF and search words, etc. ContentStreamUpdateRequest up = new ContentStreamUpdateRequest("/update/extract"); up.addFile(new