Re: Modify data-conf.xml on the runtime

2018-04-25 Thread Shawn Heisey
On 4/25/2018 4:12 AM, rameshkjes wrote: Actually I am trying to approach this problem from another way. I am taking user input from gui which is direcotory of dataset, and saving that path in properties file. Since I am using Maven, so I am able to access that path in my pom file using

Re: Modify data-conf.xml on the runtime

2018-04-25 Thread rameshkjes
Actually I am trying to approach this problem from another way. I am taking user input from gui which is direcotory of dataset, and saving that path in properties file. Since I am using Maven, so I am able to access that path in my pom file using properties tag. So, now is it possible to use that

Re: Modify data-conf.xml on the runtime

2018-04-13 Thread Shawn Heisey
On 4/13/2018 2:54 AM, rameshkjes wrote: I am using datasource as "FileDataSource", how can i grab that information from url? I'm pretty sure that you can provide pretty much ANY information in the DIH config file from a URL parameter, using the ${dih.request.} syntax. To answer your

Re: Modify data-conf.xml on the runtime

2018-04-13 Thread rameshkjes
I am using datasource as "FileDataSource", how can i grab that information from url? -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Modify data-conf.xml on the runtime

2018-04-13 Thread rameshkjes
How data will be imported using dih, if path of data is not provided? What I want is to provide the link of dataset files during runtime. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Modify data-conf.xml on the runtime

2018-04-11 Thread Shawn Heisey
On 4/11/2018 9:21 AM, rameshkjes wrote: > I am doing configuration of solr with the xml and pdf dataset, it works > perfect. But, I want to modify few things: > Such as, we can see below, "baseDir" and "filePrefix" is being defined > manually. I want this to be defined on the runtime. The way I

Re: Modify data-conf.xml on the runtime

2018-04-11 Thread Alexandre Rafalovitch
I believe you can use variable substitution like ${dih.request.paramname} and then pass 'paramname=value' in your HTTP request. Regards, Alex. On 11 April 2018 at 11:25, rameshkjes wrote: > Hi, > > I am doing configuration of solr with the xml and pdf dataset, it works

Modify data-conf.xml on the runtime

2018-04-11 Thread rameshkjes
Hi, I am doing configuration of solr with the xml and pdf dataset, it works perfect. But, I want to modify few things: Such as, we can see below, "baseDir" and "filePrefix" is being defined manually. I want this to be defined on the runtime. Consider that I have GUI and user is specifying the

Modify data-conf.xml on the runtime

2018-04-11 Thread rameshkjes
Hi, I am doing configuration of solr with the xml and pdf dataset, it works perfect. But, I want to modify few things: Such as, we can see below, "baseDir" and "filePrefix" is being defined manually. I want this to be defined on the runtime. Consider that I have GUI and user is specifying the