proper use of aggregation?

2014-03-13 Thread Tinou Bao
My instincts says this is not the proper use of aggregation but want to check w/ people who have actually used it. We want to bucket on a very high cardinality field and return **ALL** buckets (no size limit). For example, imagine documents representing people and their parents: person - parent

facets only on hits actually returned

2014-01-24 Thread Tinou Bao
This may sound like a strange question but is there a way to get facets only for the hits actually returned? So for example, if there are 100k total hits but I only asked for 100 in the size parameter, I only want the facets on the 100 actually returned. Obviously I could just go through the 10