You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@lucene.apache.org by "A. Lotfi" <ma...@yahoo.com> on 2013/03/14 20:27:06 UTC

push database table in solr


 Hi,
I am new here, 
I downloaded solr, deployed the war file in Tomcat7, everything is working.

Now I am trying to index a mysql table using solr, I updated the schema.xml. cretaed data-config.xml. added it in solrconfig.xml, started the server, there is no error, I see always the samething.
How to test if what I did is working ?
thanks

Thanks

where is the solr.war exploded ?

Posted by "A. Lotfi" <ma...@yahoo.com>.
Hi,

I just installed solr in Tomcat7, 
/usr/share/tomcat7

/opt/solr/solr/

solr.xml  in :

[sp@fuzztest8:~/usr/share/apache-tomcat-7.0.37/conf/Catalina/localhost/solr]$ ls
solr.xml

<?xml version="1.0" encoding="utf-8"?>
<Context docBase="/opt/solr/solr-4.2.0.war" debug="0" crossContext="true">
    <Environment name="solr/home" type="java.lang.String" value="/opt/solr" override="true"/>
</Context>

so where was the solr.war exploded as a solr application ?
thanks.

any example with a mysql script ?

Posted by "A. Lotfi" <ma...@yahoo.com>.
Hi, 
Is there any example with a script to create a mysql data and use it in solr ?
thanks

Re: push database table in solr

Posted by Emmanuel Espina <es...@gmail.com>.
You can use the admin console to send some queries:
http://localhost:8983/solr/admin/

Thanks
Emmanuel


2013/3/14 A. Lotfi <ma...@yahoo.com>

>
>
>  Hi,
> I am new here,
> I downloaded solr, deployed the war file in Tomcat7, everything is working.
>
> Now I am trying to index a mysql table using solr, I updated the
> schema.xml. cretaed data-config.xml. added it in solrconfig.xml, started
> the server, there is no error, I see always the samething.
> How to test if what I did is working ?
> thanks
>
> Thanks