Pregunta

How can I do unit test on Customer Transformer implementation of Solr ? Thanks

¿Fue útil?

Solución

A starting point would be to check the Transformers test @ http://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_3/solr/contrib/dataimporthandler/src/test/java/org/apache/solr/handler/dataimport/ and emulate them

For unit testing you can probably do it standalone by including the jars, or include the tests within the solr source code and run the complete test suite.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top