Re: Import From MYSQL database

2010-10-25 Thread virtas

Why don't you paste log excerpt here which is generated when you are trying
to import the data. 


-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Import-From-MYSQL-database-tp1738753p1766375.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Import From MYSQL database

2010-10-23 Thread do3do3

i found this files but i can't found any useful info. inside it, what i found
is GET command in http request
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Import-From-MYSQL-database-tp1738753p1756778.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Import From MYSQL database

2010-10-23 Thread do3do3

what i know is to define you field in schema.xml file and build
database_conf.xml file which contain identification for your database 
finally you should define dataimporthandler in solrconfig.xml file
i put sample from what you should done in first post in this topic you can
check it,
if i know additional information i will tell you
good luck
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Import-From-MYSQL-database-tp1738753p1756744.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Import From MYSQL database

2010-10-22 Thread virtas

In the main directory of jetty should be directory called 'logs'

log name is usually coded like this:
2010_07_31.request.log

change the date and try searching your system
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Import-From-MYSQL-database-tp1738753p1752946.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Import From MYSQL database

2010-10-22 Thread do3do3

i really try to index tables with english keywords in mysql database but
fail, and also try to import data from this database during java and
successed 
i don't know how to use the dataimport folder in contrib folder, may be this
is the problem
what i done was build configurations file (shema.xml, solrconfig.xml,
db-data-config.xml) & put
mysql lib in lib folder


-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Import-From-MYSQL-database-tp1738753p1751201.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Import From MYSQL database

2010-10-21 Thread Lance Norskog
Have you tested your schema independently, by loading documents
directly? Look at solr/example/exampledocs/ to see how this works.
Your schema has 'multiValued='ture'" instead of "true" in the Arabic
 but I did not see anything else.

Also, try indexing a separate database with only numbers or english
text. There may be something wrong in how Mysql sends back UTF-8, or
other character encoding problems.

On Thu, Oct 21, 2010 at 5:23 AM, virtas  wrote:
>
> You need to look into actual logs of the system. There you will see more
> details why import failed.
>
> check tomcat or jetty logs
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Import-From-MYSQL-database-tp1738753p1745246.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Lance Norskog
goks...@gmail.com


Re: Import From MYSQL database

2010-10-21 Thread virtas

You need to look into actual logs of the system. There you will see more
details why import failed. 

check tomcat or jetty logs
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Import-From-MYSQL-database-tp1738753p1745246.html
Sent from the Solr - User mailing list archive at Nabble.com.