UDT configuration example 

Example of UDT configuration for DSE Search.

Example steps to configure a UDT for DSE Search.

In the Solr schema, declare the UDTField class 

<fieldType class="com.datastax.bdp.search.solr.core.types.TupleField"

Create a type with the UDT

You must create a type for UDTs.

CREATE TYPE Address (street text, city text)

Create a table with the tuple

CREATE TABLE Location ( id text primary key, address frozen<Address> );

Configure the UDTField in the Solr schema

<field name="address" type="UDTField" indexed="true" stored="true"/>
<field name="address.street" type="text" indexed="true" stored="true"/>
<field name="address.city" type="text" indexed="true" stored="true"/>