SearchParseException

I always get this error when I try to search,

parse Failure [No mapping found for [Identifier] in order to sort
on]]; }{[AslxT8NZTXiNcWxDOiMjWg][car][0]: SearchParseException[[car]
[0]: query[ConstantScore(NotDeleted(:))],from[-1],size[500]: Parse
Failure [Failed to parse source

however when I call .../car/nissan/_mapping?pretty=true

{
"nissan" : {
"properties" : {
"file" : {
"type" : "attachment",
"path" : "full",
"fields" : {
"file" : {
"type" : "string"
},
"author" : {
"type" : "string"
},
"title" : {
"type" : "string"
},
"name" : {
"type" : "string"
},
"date" : {
"type" : "date",
"format" : "dateOptionalTime"
},
"keywords" : {
"type" : "string"
},
"content_type" : {
"type" : "string"
}
}
},
"DisplayName" : {
"type" : "string"
},
"Identifier" : {
"type" : "string"
},
"LastUpdated" : {
"type" : "long"
},
"LastUpdatedDateTime" : {
"type" : "date",
"format" : "dateOptionalTime"
},
"Model" : {
"type" : "string"
},
"Name" : {
"type" : "string"
},
"Status" : {
"type" : "string"
},
"Vendor" : {
"type" : "string"
}
}
}
}

I see that all the fields are mapped. Is there something a miss here?

It does seem like the Identifier field is there..., can you gist a simple
recreation (see Elasticsearch Platform — Find real-time answers at scale | Elastic), it will make solving it
fastest....

On Fri, Jun 1, 2012 at 8:44 AM, ajan jan.afzal@gmail.com wrote:

I always get this error when I try to search,

parse Failure [No mapping found for [Identifier] in order to sort
on]]; }{[AslxT8NZTXiNcWxDOiMjWg][car][0]: SearchParseException[[car]
[0]: query[ConstantScore(NotDeleted(:))],from[-1],size[500]: Parse
Failure [Failed to parse source

however when I call .../car/nissan/_mapping?pretty=true

{
"nissan" : {
"properties" : {
"file" : {
"type" : "attachment",
"path" : "full",
"fields" : {
"file" : {
"type" : "string"
},
"author" : {
"type" : "string"
},
"title" : {
"type" : "string"
},
"name" : {
"type" : "string"
},
"date" : {
"type" : "date",
"format" : "dateOptionalTime"
},
"keywords" : {
"type" : "string"
},
"content_type" : {
"type" : "string"
}
}
},
"DisplayName" : {
"type" : "string"
},
"Identifier" : {
"type" : "string"
},
"LastUpdated" : {
"type" : "long"
},
"LastUpdatedDateTime" : {
"type" : "date",
"format" : "dateOptionalTime"
},
"Model" : {
"type" : "string"
},
"Name" : {
"type" : "string"
},
"Status" : {
"type" : "string"
},
"Vendor" : {
"type" : "string"
}
}
}
}

I see that all the fields are mapped. Is there something a miss here?