anchor.diff:  This can also be done in your Hive command to create the table, as in the <<example-hive,example below>>.
   // end::install-hive[]
   
  -// tag::create-table[]
  -== Create External Tables
  -
  -An external table in Hive allows the data in the table to be used (read or write) by another system or application outside of Hive. For integration with Solr, the external table allows you to have Solr read from and write to Hive.
  +// tag::create-table-intro[]
  +=== Indexing Data with a Hive External Table
  +
  +Indexing data to Solr or Fusion requires creating a Hive external table. An external table allows the data in the table to be used (read or write) by another system or application outside of Hive.
  +// end::create-table-intro[]
  +
  +// tag::index-solr[]
  +==== Indexing Data to Solr
  +
  +For integration with Solr, the external table allows you to have Solr read from and write to Hive.
   
   To create an external table for Solr, you can use a command similar to below. The properties available are described after the example.
   
  
positive.code: 
  If the table needs to be dropped at a later time, you can use the DROP TABLE command in Hive. This will remove the metadata stored in the table in Hive, but will not modify the underlying data (in this case, the Solr index).
  
  // end::create-table[]
  
  // tag::query-hive[]
  == Query and Insert Content
  
  Once the table is configured, any syntactically correct Hive query will be able to query the Solr index.
  
  For example, to select three fields named "id", "field1", and "field2" from the "solr" table, you would use a query such as:
  
  `hive> SELECT id, field1, field2 FROM solr;`
  
  To join data from tables, you can make a request such as:
  
  
negative.code:     fatal: clone of 'git@github.com:LucidWorks/solr-hadoop-common.git' into submodule path 'solr-hadoop-common' failed
  ----
  
  To fix this error, use the https://help.github.com/articles/generating-an-ssh-key/[generating an SSH key] tutorial.
  
  // end::build-hive[]
  
  