Re: Way for DataImportHandler to use bind variables

2018-05-03 Thread Mikhail Khludnev
DIH does string replacement https://github.com/apache/lucene-solr/blob/8b9c2a3185d824a9aaae5c993b872205358729dd/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/SqlEntityProcessor.java#L73 Hard refactoring is required to make it use preparedStatement. However there shou

Re: Way for DataImportHandler to use bind variables

2018-05-02 Thread Shawn Heisey
On 5/2/2018 1:03 PM, Mike Konikoff wrote: > Is there a way to configure the DataImportHandler to use bind variables for > the entity queries? To improve database performance. Can you clarify where these variables would come from and precisely what you want to do? >From what I can tell, you're tal

Way for DataImportHandler to use bind variables

2018-05-02 Thread Mike Konikoff
Is there a way to configure the DataImportHandler to use bind variables for the entity queries? To improve database performance. Thanks, Mike