I am experiencing somewhat strange and unpredicted behaviour sorting
documents upon name.
For instance , my documents have the following names :
- Arroyo Craftsman
- Guild of Master Craftsman Publications Ltd
- Craftsman House
- Craftsman Evolv
The query is :
QueryBuilder queryBuilder = textPhrasePrefixQuery("name", query).
SearchResponse response = client.prepareSearch("tags").setTypes(
The document with the name : *craftsman.com *is the first when sorting DESC
and last when sorting ASC , which is clearly something that i did not
Did someone expirience something similar like that ?
I also wanted to debug ES to see what the problem is , but struggle to find
the entry poin tto put my breakpoint to. Do you know a good point where to