Tuple configuration example

Example of tuple configuration for DSE Search.

Example steps to configure a fullname tuple for DSE Search.

In the Solr schema, declare the TupleField class 

UDTs are a specialization of tuples. The TupleField class applies to both UDTs and tuples.
<fieldType class="com.datastax.bdp.search.solr.core.types.TupleField"
        name="TupleField"/>

Create a table with the tuple

CREATE TABLE Person (nickname text, fullname <tuple<text, text>>)

Configure the TupleField in the Solr schema

<field name="fullname" type="TupleField" indexed="true" stored="true"/>
<field name="fullname.field1" type="text" indexed="true" stored="true"/>
<field name="fullname.field2" type="text" indexed="true" stored="true"/>