Re: DataImportHandler with a managed-schema only import id and version

2016-08-10 Thread Pierre Caserta
essor (yes, Solr has that too > somewhere). > > Regards, > Alex. > > Newsletter and resources for Solr beginners and intermediates: > http://www.solr-start.com/ > > > On 10 August 2016 at 18:42, Pierre Caserta wrote: >> I am rebuilding a new

Re: DataImportHandler with a managed-schema only import id and version

2016-08-10 Thread Pierre Caserta
also pass it just as a URL parameter. That's what 'defaults' > section mean. > > And, just to be paranoid, you did reload the core after each of those > changes to test it? These are not picked up automatically. > > Regards, >Alex. > > Newsletter and r

Re: DataImportHandler with a managed-schema only import id and version

2016-08-10 Thread Pierre Caserta
to add your > fields (or new Admin UI in the Schema screen). With schemaless mode, > it tries to guess the field type as it adds it automatically. > > > Regards, >Alex. > > > Newsletter and resources for Solr beginners and intermediates: > http://www.solr-

Re: DataImportHandler with a managed-schema only import id and version

2016-08-10 Thread Pierre Caserta
a because it is designed to work > with only extracting relevant fields from the database even with > 'select *' statement. > > > Regards, > Alex. > > Newsletter and resources for Solr beginners and intermediates: > http://www.solr-start.com/ > >

DataImportHandler with a managed-schema only import id and version

2016-08-10 Thread Pierre Caserta
196392968193},      {        "id":"9217299",        "_version_":1542258196392968194}]  }} data_search.xml (8 rows) data_search.xml Description: XML document the url I am hitting (with custom dataurl parameter)curl 'http://192.168.99.100:8999/solr/solrexchange/dataimport?command=full-import&commit=true&dataurl=/code/solr/data/search/dih/data_search.xml'I changed my data to useand use the bin/post tool and this is working as expected.Now I am interested to make it work with the DataImportHandler.How can I use the DataImportHandler to import my document ? Thanks,Pierre Caserta