# Sort returns with no mapping found

**URL:** <https://discuss.elastic.co/t/sort-returns-with-no-mapping-found/11973>\
**Category:** Elasticsearch\
**Created:** [May 15, 2013, 11:23am UTC](https://discuss.elastic.co/t/sort-returns-with-no-mapping-found/11973 "2013-05-15T11:23:49Z")\
**Posts on this page:** 5\
**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:** [May 15, 2013, 11:23am UTC](https://discuss.elastic.co/t/sort-returns-with-no-mapping-found/11973/1 "2013-05-15T11:23:49Z")

</div>

I indexed JSON documents into "managedobject" index and "volume" type that  
looks like

{  
"base:DisplayName":"00085315",  
"base:Name":"00085315",  
"storage:Usage":15,  
"base:UUID":"aa76383f101749c7a516f4da1a0cc95f",  
"storage:IsMapped":"True",  
"base:Identifier":"00085315",  
"storage:VolumeID":"85315"  
}

And when is verify /managedobject/volume/\_mapping?pretty=1 I get this  
mapping

{  
"managedobject" : {  
"volume" : {  
"properties" : {  
"base:DisplayName" : {  
"type" : "string"  
},  
"base:Name" : {  
"type" : "string"  
},  
"base:Identifier" : {  
"type" : "string"  
},  
"base:UUID" : {  
"type" : "string"  
},  
"storage:IsMapped" : {  
"type" : "string"  
},  
"storage:Usage" : {  
"type" : "long"  
},  
"storage:VolumeID" : {  
"type" : "string"  
}  
}  
}  
}  
}

But when I try to sort by  
/managedobject/volume/\_search?q=\*&sort=base%5C:Name:asc it returns an error

{"error":"SearchPhaseExecutionException[Failed to execute phase [query],  
total failure; shardFailures {[mAxT5cUyRQecsnWHJO0SXA][managedobject][1]:  
SearchParseException[[managedobject][1]:  
query[ConstantScore(NotDeleted(_:_))],from[-1],size[-1]: Parse Failure  
[Failed to parse source  
[{"query":{"query\_string":{"query":"_","lowercase\_expanded\_terms":true,"analyze\_wildcard":false}},"sort":[{"base\\:Name":{"order":"asc"}}]}]]];  
nested: SearchParseException[[managedobject][1]:  
query[ConstantScore(NotDeleted(_:_))],from[-1],size[-1]: Parse Failure [No  
mapping found for [base\:Name] in order to sort on]];  
}{[mAxT5cUyRQecsnWHJO0SXA][managedobject][2]:  
SearchParseException[[managedobject][2]:  
query[ConstantScore(NotDeleted(_:_))],from[-1],size[-1]: Parse Failure  
[Failed to parse source  
[{"query":{"query\_string":{"query":"_","lowercase\_expanded\_terms":true,"analyze\_wildcard":false}},"sort":[{"base\\:Name":{"order":"asc"}}]}]]];  
nested: SearchParseException[[managedobject][2]:  
query[ConstantScore(NotDeleted(_:_))],from[-1],size[-1]: Parse Failure [No  
mapping found for [base\:Name] in order to sort on]];  
}{[mAxT5cUyRQecsnWHJO0SXA][managedobject][3]:  
SearchParseException[[managedobject][3]:  
query[ConstantScore(NotDeleted(_:_))],from[-1],size[-1]: Parse Failure  
[Failed to parse source  
[{"query":{"query\_string":{"query":"_","lowercase\_expanded\_terms":true,"analyze\_wildcard":false}},"sort":[{"base\\:Name":{"order":"asc"}}]}]]];  
nested: SearchParseException[[managedobject][3]:  
query[ConstantScore(NotDeleted(_:_))],from[-1],size[-1]: Parse Failure [No  
mapping found for [base\:Name] in order to sort on]];  
}{[mAxT5cUyRQecsnWHJO0SXA][managedobject][0]:  
SearchParseException[[managedobject][0]:  
query[ConstantScore(NotDeleted(_:_))],from[-1],size[-1]: Parse Failure  
[Failed to parse source  
[{"query":{"query\_string":{"query":"_","lowercase\_expanded\_terms":true,"analyze\_wildcard":false}},"sort":[{"base\\:Name":{"order":"asc"}}]}]]];  
nested: SearchParseException[[managedobject][0]:  
query[ConstantScore(NotDeleted(_:_))],from[-1],size[-1]: Parse Failure [No  
mapping found for [base\:Name] in order to sort on]];  
}{[mAxT5cUyRQecsnWHJO0SXA][managedobject][4]:  
SearchParseException[[managedobject][4]:  
query[ConstantScore(NotDeleted(_:_))],from[-1],size[-1]: Parse Failure  
[Failed to parse source  
[{"query":{"query\_string":{"query":"_","lowercase\_expanded\_terms":true,"analyze\_wildcard":false}},"sort":[{"base\\:Name":{"order":"asc"}}]}]]];  
nested: SearchParseException[[managedobject][4]:  
query[ConstantScore(NotDeleted(_:\*))],from[-1],size[-1]: Parse Failure [No  
mapping found for [base\:Name] in order to sort on]]; }]","status":500}

Any pointers would be helpful

With best regards,  
Afzal

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [May 15, 2013, 11:46am UTC](https://discuss.elastic.co/t/sort-returns-with-no-mapping-found/11973/2 "2013-05-15T11:46:38Z")

</div>

This works:

sort=base%3AName%3Aasc

clint

On 15 May 2013 13:23, ajan [jan.afzal@gmail.com](mailto:jan.afzal@gmail.com) wrote:

> I indexed JSON documents into "managedobject" index and "volume" type that  
> looks like
> 
> {  
> "base:DisplayName":"00085315",  
> "base:Name":"00085315",  
> "storage:Usage":15,  
> "base:UUID":"aa76383f101749c7a516f4da1a0cc95f",  
> "storage:IsMapped":"True",  
> "base:Identifier":"00085315",  
> "storage:VolumeID":"85315"  
> }
> 
> And when is verify /managedobject/volume/\_mapping?pretty=1 I get this  
> mapping
> 
> {  
> "managedobject" : {  
> "volume" : {  
> "properties" : {  
> "base:DisplayName" : {  
> "type" : "string"  
> },  
> "base:Name" : {  
> "type" : "string"  
> },  
> "base:Identifier" : {  
> "type" : "string"  
> },  
> "base:UUID" : {  
> "type" : "string"  
> },  
> "storage:IsMapped" : {  
> "type" : "string"  
> },  
> "storage:Usage" : {  
> "type" : "long"  
> },  
> "storage:VolumeID" : {  
> "type" : "string"  
> }  
> }  
> }  
> }  
> }
> 
> But when I try to sort by  
> /managedobject/volume/\_search?q=\*&sort=base%5C:Name:asc it returns an error
> 
> {"error":"SearchPhaseExecutionException[Failed to execute phase [query],  
> total failure; shardFailures {[mAxT5cUyRQecsnWHJO0SXA][managedobject][1]:  
> SearchParseException[[managedobject][1]:  
> query[ConstantScore(NotDeleted(_:_))],from[-1],size[-1]: Parse Failure  
> [Failed to parse source  
> [{"query":{"query\_string":{"query":"_","lowercase\_expanded\_terms":true,"analyze\_wildcard":false}},"sort":[{"base\\:Name":{"order":"asc"}}]}]]];  
> nested: SearchParseException[[managedobject][1]:  
> query[ConstantScore(NotDeleted(_:_))],from[-1],size[-1]: Parse Failure [No  
> mapping found for [base\:Name] in order to sort on]];  
> }{[mAxT5cUyRQecsnWHJO0SXA][managedobject][2]:  
> SearchParseException[[managedobject][2]:  
> query[ConstantScore(NotDeleted(_:_))],from[-1],size[-1]: Parse Failure  
> [Failed to parse source  
> [{"query":{"query\_string":{"query":"_","lowercase\_expanded\_terms":true,"analyze\_wildcard":false}},"sort":[{"base\\:Name":{"order":"asc"}}]}]]];  
> nested: SearchParseException[[managedobject][2]:  
> query[ConstantScore(NotDeleted(_:_))],from[-1],size[-1]: Parse Failure [No  
> mapping found for [base\:Name] in order to sort on]];  
> }{[mAxT5cUyRQecsnWHJO0SXA][managedobject][3]:  
> SearchParseException[[managedobject][3]:  
> query[ConstantScore(NotDeleted(_:_))],from[-1],size[-1]: Parse Failure  
> [Failed to parse source  
> [{"query":{"query\_string":{"query":"_","lowercase\_expanded\_terms":true,"analyze\_wildcard":false}},"sort":[{"base\\:Name":{"order":"asc"}}]}]]];  
> nested: SearchParseException[[managedobject][3]:  
> query[ConstantScore(NotDeleted(_:_))],from[-1],size[-1]: Parse Failure [No  
> mapping found for [base\:Name] in order to sort on]];  
> }{[mAxT5cUyRQecsnWHJO0SXA][managedobject][0]:  
> SearchParseException[[managedobject][0]:  
> query[ConstantScore(NotDeleted(_:_))],from[-1],size[-1]: Parse Failure  
> [Failed to parse source  
> [{"query":{"query\_string":{"query":"_","lowercase\_expanded\_terms":true,"analyze\_wildcard":false}},"sort":[{"base\\:Name":{"order":"asc"}}]}]]];  
> nested: SearchParseException[[managedobject][0]:  
> query[ConstantScore(NotDeleted(_:_))],from[-1],size[-1]: Parse Failure [No  
> mapping found for [base\:Name] in order to sort on]];  
> }{[mAxT5cUyRQecsnWHJO0SXA][managedobject][4]:  
> SearchParseException[[managedobject][4]:  
> query[ConstantScore(NotDeleted(_:_))],from[-1],size[-1]: Parse Failure  
> [Failed to parse source  
> [{"query":{"query\_string":{"query":"_","lowercase\_expanded\_terms":true,"analyze\_wildcard":false}},"sort":[{"base\\:Name":{"order":"asc"}}]}]]];  
> nested: SearchParseException[[managedobject][4]:  
> query[ConstantScore(NotDeleted(_:\*))],from[-1],size[-1]: Parse Failure [No  
> mapping found for [base\:Name] in order to sort on]]; }]","status":500}
> 
> Any pointers would be helpful
> 
> With best regards,  
> Afzal
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [May 15, 2013, 12:59pm UTC](https://discuss.elastic.co/t/sort-returns-with-no-mapping-found/11973/3 "2013-05-15T12:59:05Z")

</div>

Great, thanks it works.

Another question when I try this by sending a json query it does not sort  
the results

{  
"query": {  
"match\_all": {  
}  
},  
"sort": [  
{ "base:Name" : {"order" : "asc"} }  
]  
}

I also tried

{  
"query": {  
"match\_all": {  
}  
},  
"sort": [  
{ "base%3AName" : {"order" : "asc"} }  
]  
}

On Wednesday, 15 May 2013 17:16:38 UTC+5:30, Clinton Gormley wrote:

> This works:
> 
> sort=base%3AName%3Aasc
> 
> clint
> 
> On 15 May 2013 13:23, ajan \<[jan....@gmail.com](mailto:jan....@gmail.com) \<javascript:\>\> wrote:
> 
> > I indexed JSON documents into "managedobject" index and "volume" type  
> > that looks like
> > 
> > {  
> > "base:DisplayName":"00085315",  
> > "base:Name":"00085315",  
> > "storage:Usage":15,  
> > "base:UUID":"aa76383f101749c7a516f4da1a0cc95f",  
> > "storage:IsMapped":"True",  
> > "base:Identifier":"00085315",  
> > "storage:VolumeID":"85315"  
> > }
> > 
> > And when is verify /managedobject/volume/\_mapping?pretty=1 I get this  
> > mapping
> > 
> > {  
> > "managedobject" : {  
> > "volume" : {  
> > "properties" : {  
> > "base:DisplayName" : {  
> > "type" : "string"  
> > },  
> > "base:Name" : {  
> > "type" : "string"  
> > },  
> > "base:Identifier" : {  
> > "type" : "string"  
> > },  
> > "base:UUID" : {  
> > "type" : "string"  
> > },  
> > "storage:IsMapped" : {  
> > "type" : "string"  
> > },  
> > "storage:Usage" : {  
> > "type" : "long"  
> > },  
> > "storage:VolumeID" : {  
> > "type" : "string"  
> > }  
> > }  
> > }  
> > }  
> > }
> > 
> > But when I try to sort by  
> > /managedobject/volume/\_search?q=\*&sort=base%5C:Name:asc it returns an error
> > 
> > {"error":"SearchPhaseExecutionException[Failed to execute phase [query],  
> > total failure; shardFailures {[mAxT5cUyRQecsnWHJO0SXA][managedobject][1]:  
> > SearchParseException[[managedobject][1]:  
> > query[ConstantScore(NotDeleted(_:_))],from[-1],size[-1]: Parse Failure  
> > [Failed to parse source  
> > [{"query":{"query\_string":{"query":"_","lowercase\_expanded\_terms":true,"analyze\_wildcard":false}},"sort":[{"base\\:Name":{"order":"asc"}}]}]]];  
> > nested: SearchParseException[[managedobject][1]:  
> > query[ConstantScore(NotDeleted(_:_))],from[-1],size[-1]: Parse Failure [No  
> > mapping found for [base\:Name] in order to sort on]];  
> > }{[mAxT5cUyRQecsnWHJO0SXA][managedobject][2]:  
> > SearchParseException[[managedobject][2]:  
> > query[ConstantScore(NotDeleted(_:_))],from[-1],size[-1]: Parse Failure  
> > [Failed to parse source  
> > [{"query":{"query\_string":{"query":"_","lowercase\_expanded\_terms":true,"analyze\_wildcard":false}},"sort":[{"base\\:Name":{"order":"asc"}}]}]]];  
> > nested: SearchParseException[[managedobject][2]:  
> > query[ConstantScore(NotDeleted(_:_))],from[-1],size[-1]: Parse Failure [No  
> > mapping found for [base\:Name] in order to sort on]];  
> > }{[mAxT5cUyRQecsnWHJO0SXA][managedobject][3]:  
> > SearchParseException[[managedobject][3]:  
> > query[ConstantScore(NotDeleted(_:_))],from[-1],size[-1]: Parse Failure  
> > [Failed to parse source  
> > [{"query":{"query\_string":{"query":"_","lowercase\_expanded\_terms":true,"analyze\_wildcard":false}},"sort":[{"base\\:Name":{"order":"asc"}}]}]]];  
> > nested: SearchParseException[[managedobject][3]:  
> > query[ConstantScore(NotDeleted(_:_))],from[-1],size[-1]: Parse Failure [No  
> > mapping found for [base\:Name] in order to sort on]];  
> > }{[mAxT5cUyRQecsnWHJO0SXA][managedobject][0]:  
> > SearchParseException[[managedobject][0]:  
> > query[ConstantScore(NotDeleted(_:_))],from[-1],size[-1]: Parse Failure  
> > [Failed to parse source  
> > [{"query":{"query\_string":{"query":"_","lowercase\_expanded\_terms":true,"analyze\_wildcard":false}},"sort":[{"base\\:Name":{"order":"asc"}}]}]]];  
> > nested: SearchParseException[[managedobject][0]:  
> > query[ConstantScore(NotDeleted(_:_))],from[-1],size[-1]: Parse Failure [No  
> > mapping found for [base\:Name] in order to sort on]];  
> > }{[mAxT5cUyRQecsnWHJO0SXA][managedobject][4]:  
> > SearchParseException[[managedobject][4]:  
> > query[ConstantScore(NotDeleted(_:_))],from[-1],size[-1]: Parse Failure  
> > [Failed to parse source  
> > [{"query":{"query\_string":{"query":"_","lowercase\_expanded\_terms":true,"analyze\_wildcard":false}},"sort":[{"base\\:Name":{"order":"asc"}}]}]]];  
> > nested: SearchParseException[[managedobject][4]:  
> > query[ConstantScore(NotDeleted(_:\*))],from[-1],size[-1]: Parse Failure [No  
> > mapping found for [base\:Name] in order to sort on]]; }]","status":500}
> > 
> > Any pointers would be helpful
> > 
> > With best regards,  
> > Afzal
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [May 15, 2013, 1:22pm UTC](https://discuss.elastic.co/t/sort-returns-with-no-mapping-found/11973/4 "2013-05-15T13:22:01Z")

</div>

That's because you are using percent encoding (intended for the query  
string) inside JSON!

just use sort: [{"base:Name": {"order": "asc"}}]

clint

On 15 May 2013 14:59, ajan [jan.afzal@gmail.com](mailto:jan.afzal@gmail.com) wrote:

> Great, thanks it works.
> 
> Another question when I try this by sending a json query it does not sort  
> the results
> 
> {  
> "query": {  
> "match\_all": {  
> }  
> },  
> "sort": [  
> { "base:Name" : {"order" : "asc"} }  
> ]  
> }
> 
> I also tried
> 
> {  
> "query": {  
> "match\_all": {  
> }  
> },  
> "sort": [  
> { "base%3AName" : {"order" : "asc"} }  
> ]  
> }
> 
> On Wednesday, 15 May 2013 17:16:38 UTC+5:30, Clinton Gormley wrote:
> 
> > This works:
> > 
> > sort=base%3AName%3Aasc
> > 
> > clint
> > 
> > On 15 May 2013 13:23, ajan [jan....@gmail.com](mailto:jan....@gmail.com) wrote:
> > 
> > > I indexed JSON documents into "managedobject" index and "volume" type  
> > > that looks like
> > > 
> > > {  
> > > "base:DisplayName":"00085315",  
> > > "base:Name":"00085315",  
> > > "storage:Usage":15,  
> > > "base:UUID":" **aa76383f101749c7a516f4da1a0cc9** 5f",  
> > > "storage:IsMapped":"True",  
> > > "base:Identifier":"00085315",  
> > > "storage:VolumeID":"85315"  
> > > }
> > > 
> > > And when is verify /managedobject/volume/\_\*\*mapping?pretty=1 I get this  
> > > mapping
> > > 
> > > {  
> > > "managedobject" : {  
> > > "volume" : {  
> > > "properties" : {  
> > > "base:DisplayName" : {  
> > > "type" : "string"  
> > > },  
> > > "base:Name" : {  
> > > "type" : "string"  
> > > },  
> > > "base:Identifier" : {  
> > > "type" : "string"  
> > > },  
> > > "base:UUID" : {  
> > > "type" : "string"  
> > > },  
> > > "storage:IsMapped" : {  
> > > "type" : "string"  
> > > },  
> > > "storage:Usage" : {  
> > > "type" : "long"  
> > > },  
> > > "storage:VolumeID" : {  
> > > "type" : "string"  
> > > }  
> > > }  
> > > }  
> > > }  
> > > }
> > > 
> > > But when I try to sort by /managedobject/volume/\_search?\*\*q=\*&sort=base%5C:Name:asc  
> > > it returns an error
> > > 
> > > {"error":"\*\*SearchPhaseExecutionException[\*\*Failed to execute phase  
> > > [query], total failure; shardFailures {[mAxT5cUyRQecsnWHJO0SXA][**managedobject][1]:  
> > > SearchParseException[[managedobject][1]: query[ConstantScore(  
> > > NotDeleted(_:_))],from[-1],size[-1]: Parse Failure [Failed to parse  
> > > source [{"query":{"query\_string":{"query":"\*","lowercase\_**  
> > > expanded\_terms":true," **analyze\_wildcard":false}},"**  
> > > sort":[{"base\\:Name":{"\*\*order":"asc"}}]}]]]; nested:  
> > > SearchParseException[[**managedobject][1]: query[ConstantScore(**  
> > > NotDeleted(_:_))],from[-1],\*\*size[-1]: Parse Failure [No mapping found  
> > > for [base\:Name] in order to sort on]]; }{[mAxT5cUyRQecsnWHJO0SXA][**managedobject][2]:  
> > > SearchParseException[[managedobject][2]: query[ConstantScore(  
> > > NotDeleted(_:_))],from[-1],size[-1]: Parse Failure [Failed to parse  
> > > source [{"query":{"query\_string":{"query":"\*","lowercase\_**  
> > > expanded\_terms":true," **analyze\_wildcard":false}},"**  
> > > sort":[{"base\\:Name":{"\*\*order":"asc"}}]}]]]; nested:  
> > > SearchParseException[[**managedobject][2]: query[ConstantScore(**  
> > > NotDeleted(_:_))],from[-1],\*\*size[-1]: Parse Failure [No mapping found  
> > > for [base\:Name] in order to sort on]]; }{[mAxT5cUyRQecsnWHJO0SXA][**managedobject][3]:  
> > > SearchParseException[[managedobject][3]: query[ConstantScore(  
> > > NotDeleted(_:_))],from[-1],size[-1]: Parse Failure [Failed to parse  
> > > source [{"query":{"query\_string":{"query":"\*","lowercase\_**  
> > > expanded\_terms":true," **analyze\_wildcard":false}},"**  
> > > sort":[{"base\\:Name":{"\*\*order":"asc"}}]}]]]; nested:  
> > > SearchParseException[[**managedobject][3]: query[ConstantScore(**  
> > > NotDeleted(_:_))],from[-1],\*\*size[-1]: Parse Failure [No mapping found  
> > > for [base\:Name] in order to sort on]]; }{[mAxT5cUyRQecsnWHJO0SXA][**managedobject][0]:  
> > > SearchParseException[[managedobject][0]: query[ConstantScore(  
> > > NotDeleted(_:_))],from[-1],size[-1]: Parse Failure [Failed to parse  
> > > source [{"query":{"query\_string":{"query":"\*","lowercase\_**  
> > > expanded\_terms":true," **analyze\_wildcard":false}},"**  
> > > sort":[{"base\\:Name":{"\*\*order":"asc"}}]}]]]; nested:  
> > > SearchParseException[[**managedobject][0]: query[ConstantScore(**  
> > > NotDeleted(_:_))],from[-1],\*\*size[-1]: Parse Failure [No mapping found  
> > > for [base\:Name] in order to sort on]]; }{[mAxT5cUyRQecsnWHJO0SXA][**managedobject][4]:  
> > > SearchParseException[[managedobject][4]: query[ConstantScore(  
> > > NotDeleted(_:_))],from[-1],size[-1]: Parse Failure [Failed to parse  
> > > source [{"query":{"query\_string":{"query":"\*","lowercase\_**  
> > > expanded\_terms":true," **analyze\_wildcard":false}},"**  
> > > sort":[{"base\\:Name":{"\*\*order":"asc"}}]}]]]; nested:  
> > > SearchParseException[[**managedobject][4]: query[ConstantScore(**  
> > > NotDeleted(_:_))],from[-1],\*\*size[-1]: Parse Failure [No mapping found  
> > > for [base\:Name] in order to sort on]]; }]","status":500}
> > > 
> > > Any pointers would be helpful
> > > 
> > > With best regards,  
> > > Afzal
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google  
> > > Groups "elasticsearch" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send  
> > > an email to elasticsearc...@\*\*[googlegroups.com](http://googlegroups.com).
> > > 
> > > For more options, visit [https://groups.google.com/\*\*groups/opt\_out](https://groups.google.com/**groups/opt_out)[https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out)  
> > > .
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:36am UTC](https://discuss.elastic.co/t/sort-returns-with-no-mapping-found/11973/5 "2017-07-06T02:36:32Z")

</div>


