kwvxhq
Last Updated: February 25, 2016
·
1.688K
· sunng

Int/Long field as solr uniqueKey

Note that if you have enabled the QueryElevationComponent in solrconfig.xml it requires the schema to have a uniqueKey of type StrField. It cannot be, for example, an int field.

Otherwise, you will get exception like:

java.lang.NumberFormatException: For input string: "MA147LL/A"

1 Response
Add your response

9170

Thanks that helps!

over 1 year ago ·