- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Solr: create -c tweets -d tweet_configs -s 1 -rf 1. What is the purpose of this line of code?
- Labels:
-
Apache Solr
Created 02-17-2016 01:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Created 02-17-2016 01:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created 02-17-2016 01:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created 02-17-2016 01:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
-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 |
Created 02-17-2016 01:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Neeraj.
Created 11-27-2016 06:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!