Solr 5 puzzle: Magic Date

From the SolrStart newsletter issue #30:


Given the following sequence of commands:

1. bin/solr create_core -c puzzle_date
2. bin/post -c puzzle_date -type text/csv -d $'today\n2016-04-08'
3. curl http://localhost:8983/solr/<wbr />puzzle_date/select?q=Fri

Would the result be:

  1. Error in the command 1 for not providing a configuration directory
  2. Error in the command 2 for missing a uniqueKey field
  3. Error in the command 2 due to an incorrect date format
  4. No records in the command 3 output
  5. One record in the command 3 output

For answer and detailed explanation, subscribe to the SolrStart newsletter.