lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cyang2010 <ysxsu...@hotmail.com>
Subject how to debug dataimporthandler
Date Wed, 02 Mar 2011 06:28:22 GMT
I wonder how to run dataimporthandler in debug mode.  Currently i can't get
data correctly into index through dataimporthandler, especially a timestamp
column to solr date field.  I want to debug the process.

According to this wiki page:

Commands
The handler exposes all its API as http requests . The following are the
possible operations 
•full-import : Full Import operation can be started by hitting the URL
http://:/solr/dataimport?command=full-import 
...
■clean : (default 'true'). Tells whether to clean up the index before the
indexing is started 
■commit: (default 'true'). Tells whether to commit after the operation 
■optimize: (default 'true'). Tells whether to optimize after the operation 
■debug : (default false). Runs in debug mode.It is used by the interactive
development mode (see here) 
■Please note that in debug mode, documents are never committed
automatically. If you want to run debug mode and commit the results too, add
'commit=true' as a request parameter. 


Therefore, i run 

http://:/solr/dataimport?command=full-import &debug=true

Not only i didn't see log with "DEBUG" level, but also it crashes my machine
a few times.   I was surprised it can even do that ...

Did someone ever try to debug the process before?  What is your experience
with it?



--
View this message in context: http://lucene.472066.n3.nabble.com/how-to-debug-dataimporthandler-tp2611506p2611506.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message