On 6/26/2018 11:48 AM, Ritesh Kumar (Avanade) wrote:
> Is it possible to create an index field of type *dictionary*. I have
> seen stringarry, datetime, bool etc. but I am looking for a field type
> like list of objects.

The types that you find in a Solr schema are just made-up sequences of
characters.  You can have a type named "bugblatter" if you want.  The
"string" type found in the example schemas could be changed so it uses a
class that's made for storing numbers.  This is not a configuration
error, although it might cause big problems with trying to use Solr,
especially if it is changed on an existing index.

In the Solr reference guide, there is a list of classes available by
default for use in a fieldType definition.

https://lucene.apache.org/solr/guide/7_3/field-types-included-with-solr.html

Erick has raised a good point.  What do you want to a dictionary field
type to *do*?

It looks like Sitecore is a large piece of software that happens to
include Solr.  Chances are good that they have customized their Solr
install and they will be in the best position to help you with it.

Thanks,
Shawn

Reply via email to