Group by facets


(vineeth mohan) #1

Hi ,

Is there a group by facets feature in elasticSearch.

What i want is if my search returns 10 results and there are 4 facets
present - I want to know which all document have which all facets.

So the result which have the facet name and number of documents matching
facets , will also have which all documents matches each facets !!!!

Thanks
Vineeth


(Enrique Medina Montenegro) #2

First result.

On Mon, Oct 17, 2011 at 10:46 AM, Vineeth Mohan
vineethmohan@algotree.comwrote:

Hi ,

Is there a group by facets feature in elasticSearch.

What i want is if my search returns 10 results and there are 4 facets
present - I want to know which all document have which all facets.

So the result which have the facet name and number of documents matching
facets , will also have which all documents matches each facets !!!!

Thanks
Vineeth


(vineeth mohan) #3

Can anybody help me out on this !!!! :frowning:

Thanks
Vineeth

On Mon, Oct 17, 2011 at 2:16 PM, Vineeth Mohan vineethmohan@algotree.comwrote:

Hi ,

Is there a group by facets feature in elasticSearch.

What i want is if my search returns 10 results and there are 4 facets
present - I want to know which all document have which all facets.

So the result which have the facet name and number of documents matching
facets , will also have which all documents matches each facets !!!!

Thanks
Vineeth


(Karussell) #4

what is your usecase? with facets you get only the count. with term
filter you can look for documents with a specific term. but you don't
have (yet) something like the group by feature in ES:

On 17 Okt., 15:46, Vineeth Mohan vineethmo...@algotree.com wrote:

Can anybody help me out on this !!!! :frowning:

Thanks
Vineeth

On Mon, Oct 17, 2011 at 2:16 PM, Vineeth Mohan vineethmo...@algotree.comwrote:

Hi ,

Is there a group by facets feature in elasticSearch.

What i want is if my search returns 10 results and there are 4 facets
present - I want to know which all document have which all facets.

So the result which have the facet name and number of documents matching
facets , will also have which all documents matches each facets !!!!

Thanks
Vineeth


(vineeth mohan) #5

Thanks Karussell ,

The feature told in the bug is exactly what i want.

THanks
Vineeth

On Mon, Oct 17, 2011 at 8:31 PM, Karussell tableyourtime@googlemail.comwrote:

what is your usecase? with facets you get only the count. with term
filter you can look for documents with a specific term. but you don't
have (yet) something like the group by feature in ES:

https://github.com/elasticsearch/elasticsearch/issues/256

On 17 Okt., 15:46, Vineeth Mohan vineethmo...@algotree.com wrote:

Can anybody help me out on this !!!! :frowning:

Thanks
Vineeth

On Mon, Oct 17, 2011 at 2:16 PM, Vineeth Mohan <
vineethmo...@algotree.com>wrote:

Hi ,

Is there a group by facets feature in elasticSearch.

What i want is if my search returns 10 results and there are 4 facets
present - I want to know which all document have which all facets.

So the result which have the facet name and number of documents
matching

facets , will also have which all documents matches each facets !!!!

Thanks
Vineeth


(system) #6