Karan,
this data-import script is made especially for importing the
demo-data. To index xml documents (like you'd do it normally w/ solr)
use for example
http://svn.apache.org/repos/asf/lucene/dev/trunk/solr/example/exampledocs/post.sh
- and don't forget to adjust the URL, according to your soland
Thanks Stefan! I got it started.
Also, is there a way to import xml documents?
When I run 2-import-data.sh with only xml documents in the data directory,
it gives me the following :
Loading data to solandra, note: this importer uses a slow xml parser
Exception in thread "main" java.lang.RuntimeEx
Karan,
following the Readme (https://github.com/tjake/Solandra#readme) it's:
>From the Solandra base directory:
$ mkdir /tmp/cassandra-data
$ ant
$ cd solandra-app
$ ./start-solandra.sh
Regards
Stefan
On Wed, May 18, 2011 at 12:40 PM, karanveer singh
wrote:
> I've recently switched from solr+c