Re: overwrite the parameter query in DIH

2017-09-25 Thread Mikhail Khludnev
Hello, I don't fully understand the question but you might need to check this https://lucene.apache.org/solr/guide/6_6/uploading-structured-data-store-data-with-the-data-import-handler.html#dih-request-parameters On Thu, Sep 21, 2017 at 6:17 PM, solr2020 wrote: > Hi All, > > We are retrieving

Re: overwrite the parameter query in DIH

2017-09-24 Thread solr2020
Thanks Erick. We are almost done with the full indexing part using DIH. So if we change the approach using Solrj now, we need to re-write the entire thing. So is there any way to overwrite the DIH data config file. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: overwrite the parameter query in DIH

2017-09-21 Thread Erick Erickson
Quite frankly if you can't just configure this in DIH I'd do all the indexing from SolrJ. Long blog on the subject here: https://lucidworks.com/2012/02/14/indexing-with-solrj/ Best, Erick On Thu, Sep 21, 2017 at 8:17 AM, solr2020 wrote: > Hi All, > > We are retrieving mongodb data using Dataimp

overwrite the parameter query in DIH

2017-09-21 Thread solr2020
Hi All, We are retrieving mongodb data using Dataimport handler. We have a scenario where we have to overwrite the mongodb query configured in data-config file. We have to do this overwrite programmatically using solrj. For this we are using ModifiableSolrParams to set the parameters. Here is the