Elasticsearch - Sorting by a nested multi-field -


Two multi-field tasks that went into a problem when I tried to solve nested multi-field properties in the Elasticsearch One from one, zero for other returns for each value

My sortable analyzer:

  "analyzer": {"sortable": {"type": "custom", "tokenizer": "keyword", " Filters ": [" lowercase "]}}   

Mapping:

  {" Doc ": {" property ": {" id ": {" type ":" name ": {" type ":" string "," index ":" analyzed "," analyzer ":" snowball "" "" "{" type ": {" sortable ": {"type": "string", "analyzer": "sortable"}} "," website ": {" type ":" nested "," property ": {" domain name ":" "" string "," Analyst: "Snowball", "Field": {"Sortable": {"type": "string", "analyzer": "sortable"}} "created": {"Type": "Date" }}}}}}   

one complete Work example is to note the four searches below, sort by name or name. As a result both results show in the section of the value. Sorting by website.domain, the sort shows a value in the section, but the website. Domains Stable always shows empty.

I hope that I am just some silly, but what can not see for my life is in this flexible 1.1.0. I also gladly take alternative solutions, although I bow down twice in the area below two different names.

You need a path to sort nested document types

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -