Sorting results with "Will" top

I'm using as follows for sorting:
{
"size" : 300,
"query" : {
"match_all" : {
}
},
"sort" : [ {
"firstNameSort" : {
"order" : "asc"
}
} ]
}

But on my results, I see "Will" before "adfadf". Has anyone else seen the same issue? FYI, "firstNameSort" is just a string type which can ONLY have alpha numeric values....
Please help....

Try to index "will" instead of "Will" to see if it changes something.

Le 30 août 2012 à 20:21, samCougars sbaniya@gmail.com a écrit :

I'm using as follows for sorting:
{
"size" : 300,
"query" : {
"match_all" : {
}
},
"sort" : [ {
"firstNameSort" : {
"order" : "asc"
}
} ]
}

But on my results, I see "Will" before "adfadf". Has anyone else seen the
same issue? FYI, "firstNameSort" is just a string type which can ONLY have
alpha numeric values....
Please help....

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/sorting-results-with-Will-top-tp4022319.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com.

--

--
David Pilato
http://www.scrutmydocs.org/
http://dev.david.pilato.fr/
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

--

When I index the fields, I change it to lowercase. So even with "will" I'm getting same issue. Can anyone try to put "will" on their and try to do sort as I have explained :

{
"size" : 300,
"query" : {
"match_all" : {
}
},
"sort" : [ {
"firstNameSort" : {
"order" : "asc"
}
} ]
}

On 8/30/2012 11:21 AM, samCougars wrote:

But on my results, I see "Will" before "adfadf". Has anyone else seen the
same issue? FYI, "firstNameSort" is just a string type which can ONLY have
alpha numeric values....
Please help....

Will is an English stop word.
-Paul

--