Support Questions
Find answers, ask questions, and share your expertise

Solr: create -c tweets -d tweet_configs -s 1 -rf 1. What is the purpose of this line of code?

Contributor

I've been following the tutorial : http://hortonworks.com/hadoop-tutorial/how-to-refine-and-visualize-sentiment-data/

I came across a sentence that said " Add a collection called tweets” using create -c tweets -d tweet_configs -s 1 -rf 1.

What does -c , -d mean?

Thanks,

Keerthana

1 ACCEPTED SOLUTION

Accepted Solutions

4 REPLIES 4

@keerthana gajarajakumar

-c-collection <name>For linkconfig: name of the collection.
-d-confdir <path>For upconfig: a directory of configuration files. For downconfig: the destination of files pulled from Zookeeper

Contributor

Thanks Neeraj.

Explorer

Hi

I'm also having difficulties with this command - when i try to create a collection called 'tweets' i get Specified configuration directory tweet_configs not found!

[solr@sandbox dashboards]$ /opt/lucidworks-hdpsearch/solr/bin/solr create -c tweets -d tweet_configs -s 1 -rf 1 -p 8983

Specified configuration directory tweet_configs not found!

Please help.

Thanks!