Hi all,
when querying my index and trying to sort it by title_s_lower, it responds with
an HTTP error 400:
{
"error":{
"metadata":["error-class","org.apache.solr.common.SolrException","root-error-class","org.apache.solr.common.SolrException"],
"msg":"can not sort on a field w/o docValues unless it is indexed=true
uninvertible=true and the type supports Uninversion: title_s_lower",
"code":400
}
}
IMHO, the error message asks me to add indexed=true uninvertible=true or
docValues=true to title_s_lower, which is impossible, since it is a copy-field.
Excerpts of the JSON data to create the index:
{
"add-field": [
// cut
{
"name": "title",
"type": "text_general",
"stored": true,
"indexed": true,
"multiValued": false,
"required": true
},
// cut
],
"add-copy-field": [
{
"source": "title",
"dest": "title_s_lower"
}
]
// cut
Can someone tell me how to fix this?
Mag.phil. Robert Ehrenleitner, BEng.
--
[cid:18f1721c-e53c-4152-92db-191c22bc7e91]
Mag.phil. Robert Ehrenleitner, BEng.
Web-Developer
IT-Services | Application & Digitalization Services
Hellbrunner Straße 34 | 5020 Salzburg | Austria
Tel.: +43/(0)662/8044 - 6778
www.plus.ac.at<http://www.plus.ac.at>