kwvxhq
Last Updated: February 25, 2016
·
1.623K
· sunng
4cc03baa6fbb880e246ce5c9c8e247ce

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"
Say Thanks
Respond

1 Response
Add your response

9170

Thanks that helps!

over 1 year ago ·