# SearchParseException

**URL:** <https://discuss.elastic.co/t/searchparseexception/7937>\
**Category:** Elasticsearch\
**Created:** [June 1, 2012, 6:44am UTC](https://discuss.elastic.co/t/searchparseexception/7937 "2012-06-01T06:44:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajan](https://avatars.discourse-cdn.com/v4/letter/a/d07c76/32.png) [@ajan](https://discuss.elastic.co/u/ajan)\
**Post date:** [June 1, 2012, 6:44am UTC](https://discuss.elastic.co/t/searchparseexception/7937/1 "2012-06-01T06:44:37Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [June 3, 2012, 9:57am UTC](https://discuss.elastic.co/t/searchparseexception/7937/2 "2012-06-03T09:57:51Z")

</div>

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](http://www.elasticsearch.org/help)), it will make solving it  
fastest....

On Fri, Jun 1, 2012 at 8:44 AM, ajan [jan.afzal@gmail.com](mailto: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?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 3:25am UTC](https://discuss.elastic.co/t/searchparseexception/7937/3 "2017-07-06T03:25:49Z")

</div>

Closed on July 6, 2017, 3:25am UTC


