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 di

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 di

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-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

Run solr server using Java program

2018-04-18 Thread rameshkjes
Hi guys, I am able to run the solr instance, add the core and import the data manually. But I want to do everything with the help of Java program, I searched a lot but did not find any relevant answer. In order to run the solr server, i execute following command inside directory: D:\software\so

Re: Run solr server using Java program

2018-04-20 Thread rameshkjes
Using solrJ, I am able to access the solr core. But still I need to go to command prompt to execute command for solr instance. Is there way to do that? -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

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