Sorting on child types


(Jan Kriesten) #1

Hi,

this issue has been raised before and the idea to do this 'had to be
ironed out'. Is there an update to this?

I'm hitting a case where I need to sort on child fields.

Best regards, --- Jan.


(fashionalwallet) #2
  • deleted -

(Bryan Green) #3

+1 for searching on children (or at least allowing sorting over array
values in an item.)

In fact, this is the problem that I need to overcome this morning. I
think I am going to simply create my own child/parent item. To aid in
searching, I'll merge the child into the parent and save this as an
"item instance" that I'll only use when I need to search by a child
param (and then even a parent param as well.)

I control the flow of items into elasticsearch so I can control the
pseudo-child item creation as well. I identify the items I search for
before searching, so I'm not worried about these extra items. Worried
about index size?... yes.

-Bryan

On Jun 8, 8:25 am, Jan Kriesten kries...@mail.footprint.de wrote:

Hi,

this issue has been raised before and the idea to do this 'had to be
ironed out'. Is there an update to this?

I'm hitting a case where I need to sort on child fields.

Best regards, --- Jan.


(system) #4