Sounds like what you are looking for is field collapsing which is not yet
supported in elasticsearch. ETA is post 1.0 release. Perhaps there is a way
with the new aggregations framework, but I have yet to try it out.

Cheers,

Ivan


On Fri, Jan 10, 2014 at 3:13 PM, Matthew Boynes <
[email protected]> wrote:

> Hey Brian,
> Thanks for taking the time to respond. I looked at the post you suggested
> and I don't think that would give me what I need. I believe that what
> you're suggesting would provide me with the most views of a single url by a
> unique visitor. In other words, if a url has 1004 entries, where one person
> viewed it a thousand times and 4 people each viewed it once, the crazy
> person who kept refreshing would be at the top of the facet response. I
> need to know that the url had 5 unique visitors. If there was only one url
> in the index this would work in a roundabout way, because I could look at
> the total number of terms returned in the facet. Unfortunately, that's just
> not the case here.
>
> Of course, if I'm misunderstanding what your post suggests, or if I've
> missed something, please let me know!
>
> Thanks,
> Matt
>
>
>
> On Friday, January 10, 2014 5:54:46 PM UTC-5, InquiringMind wrote:
>>
>> Matthew,
>>
>> I don't know if this is simple (though it was easy enough for me in
>> Java), or even if it's exactly what you had in mind. But it sounds as if
>> you are asking for a hierarchical combination to include the top URLs by
>> uid. Is that correct?
>>
>> If so, perhaps 
>> this<https://groups.google.com/d/msg/elasticsearch/_oMbAnpjSGg/II4Tzf6RoSwJ>will
>>  give you some ideas.
>>
>> Hope this helps! Good luck!
>>
>> Brian
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/3e7ef115-1b27-4e67-b6dd-185b84f9c76d%40googlegroups.com
> .
>
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAvgm0%2BrXV1kHrKn0_p5iueNWirWo2siOa8t3c8L7D9Hg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to