havent spent a lot of thought, if or how you can solve this directly, but
wouldnt it be much easier if you used different fields like 'continent',
'country', 'state', 'city' and would simply aggregate on those and use it
for drill down? Or does it have to be generic and this is just an example?
--Alex
On Sun, Mar 30, 2014 at 6:05 PM, Volker svs@klest.de wrote:
dear reader
I have a question about facets.
I have documents with a path as part of a document.
thanks for your answer. Actually, it has to be generic, as this was only an
example. In my use case it is just hirarchical data, where every path is
from the same type (not country, state, etc).
I am in the process of migrating a lucene + bobobrowse application to ES.
In bobobrowse there is a PathFacetHandler that does exactly that -- gives
back facets for the next hirarchical level (and only that). So that it easy
to drill down into the hirarchical data.
Is there a way to do this in ES?
kind regards
Am Montag, 31. März 2014 10:11:31 UTC+2 schrieb Alexander Reelsen:
Hey,
havent spent a lot of thought, if or how you can solve this directly, but
wouldnt it be much easier if you used different fields like 'continent',
'country', 'state', 'city' and would simply aggregate on those and use it
for drill down? Or does it have to be generic and this is just an example?
--Alex
On Sun, Mar 30, 2014 at 6:05 PM, Volker <s...@klest.de <javascript:>>wrote:
dear reader
I have a question about facets.
I have documents with a path as part of a document.
do you remember your talk about ecommerce and ES in Hamburg?
viewing and drilling down in a catalogue is also a valid use case, where
you need to drill down on hirarchical faceted data.
is there an easy way to do that in ES or do I have to aggregate the facets
by myself?
kind regards
Am Montag, 31. März 2014 10:11:31 UTC+2 schrieb Alexander Reelsen:
Hey,
havent spent a lot of thought, if or how you can solve this directly, but
wouldnt it be much easier if you used different fields like 'continent',
'country', 'state', 'city' and would simply aggregate on those and use it
for drill down? Or does it have to be generic and this is just an example?
--Alex
On Sun, Mar 30, 2014 at 6:05 PM, Volker <s...@klest.de <javascript:>>wrote:
dear reader
I have a question about facets.
I have documents with a path as part of a document.
I remember barely, that was already more than two months ago
Again with the use case of categories, you may want to drill down in a
hierarchical way, however this does not mean, that your data structures
have to be like that (you could still handle your categories in an array
and apply filters differently, so it looks like a hierarchy). However, I
remember a talk about that at one of the last munich search meetups, dont
see that the presentation is online though (need to reask the speaker for
publishing it)
--Alex
On Tue, Apr 1, 2014 at 6:22 PM, Volker svs@klest.de wrote:
do you remember your talk about ecommerce and ES in Hamburg?
viewing and drilling down in a catalogue is also a valid use case, where
you need to drill down on hirarchical faceted data.
is there an easy way to do that in ES or do I have to aggregate the facets
by myself?
kind regards
Am Montag, 31. März 2014 10:11:31 UTC+2 schrieb Alexander Reelsen:
Hey,
havent spent a lot of thought, if or how you can solve this directly, but
wouldnt it be much easier if you used different fields like 'continent',
'country', 'state', 'city' and would simply aggregate on those and use it
for drill down? Or does it have to be generic and this is just an example?
--Alex
On Sun, Mar 30, 2014 at 6:05 PM, Volker s...@klest.de wrote:
dear reader
I have a question about facets.
I have documents with a path as part of a document.
I would like to drill down on an area and get a facet count for the next
level.
If I filter in the facet e.g. for america I would like to get counts for
/america/usa
/america/mexico
I started with using a prefix filter in the facet to filter e.g. for
america but then I get
/america/usa
/america/usa/california
/america/usa/new-york
/america/mexico
but I would like to get the facet counts for only the next level, so I
can drill down on the area.
I tried a search for this topic, but I did not find a solution.
Hope that somebody can help.
Kind regards
--
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 elasticsearc...@googlegroups.com.
in the meantime I have solved the problem. not with an array, but with a
map. It works and it is fast
Thanks.
kind regards
PS: and maybe till may in Hamburg
Am Freitag, 4. April 2014 09:57:58 UTC+2 schrieb Alexander Reelsen:
Hey,
I remember barely, that was already more than two months ago
Again with the use case of categories, you may want to drill down in a
hierarchical way, however this does not mean, that your data structures
have to be like that (you could still handle your categories in an array
and apply filters differently, so it looks like a hierarchy). However, I
remember a talk about that at one of the last munich search meetups, dont
see that the presentation is online though (need to reask the speaker for
publishing it)
--Alex
On Tue, Apr 1, 2014 at 6:22 PM, Volker <s...@klest.de <javascript:>>wrote:
do you remember your talk about ecommerce and ES in Hamburg?
viewing and drilling down in a catalogue is also a valid use case, where
you need to drill down on hirarchical faceted data.
is there an easy way to do that in ES or do I have to aggregate the
facets by myself?
kind regards
Am Montag, 31. März 2014 10:11:31 UTC+2 schrieb Alexander Reelsen:
Hey,
havent spent a lot of thought, if or how you can solve this directly,
but wouldnt it be much easier if you used different fields like
'continent', 'country', 'state', 'city' and would simply aggregate on those
and use it for drill down? Or does it have to be generic and this is just
an example?
--Alex
On Sun, Mar 30, 2014 at 6:05 PM, Volker s...@klest.de wrote:
dear reader
I have a question about facets.
I have documents with a path as part of a document.
I would like to drill down on an area and get a facet count for the
next level.
If I filter in the facet e.g. for america I would like to get counts
for
/america/usa
/america/mexico
I started with using a prefix filter in the facet to filter e.g. for
america but then I get
/america/usa
/america/usa/california
/america/usa/new-york
/america/mexico
but I would like to get the facet counts for only the next level, so I
can drill down on the area.
I tried a search for this topic, but I did not find a solution.
Hope that somebody can help.
Kind regards
--
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 elasticsearc...@googlegroups.com.
is it worthwhile to share the solution you found for other people googling
around? Or is it too specific?
--Alex
On Mon, Apr 7, 2014 at 6:38 PM, Volker svs@klest.de wrote:
yes... just two month
in the meantime I have solved the problem. not with an array, but with a
map. It works and it is fast
Thanks.
kind regards
PS: and maybe till may in Hamburg
Am Freitag, 4. April 2014 09:57:58 UTC+2 schrieb Alexander Reelsen:
Hey,
I remember barely, that was already more than two months ago
Again with the use case of categories, you may want to drill down in a
hierarchical way, however this does not mean, that your data structures
have to be like that (you could still handle your categories in an array
and apply filters differently, so it looks like a hierarchy). However, I
remember a talk about that at one of the last munich search meetups, dont
see that the presentation is online though (need to reask the speaker for
publishing it)
--Alex
On Tue, Apr 1, 2014 at 6:22 PM, Volker s...@klest.de wrote:
do you remember your talk about ecommerce and ES in Hamburg?
viewing and drilling down in a catalogue is also a valid use case, where
you need to drill down on hirarchical faceted data.
is there an easy way to do that in ES or do I have to aggregate the
facets by myself?
kind regards
Am Montag, 31. März 2014 10:11:31 UTC+2 schrieb Alexander Reelsen:
Hey,
havent spent a lot of thought, if or how you can solve this directly,
but wouldnt it be much easier if you used different fields like
'continent', 'country', 'state', 'city' and would simply aggregate on those
and use it for drill down? Or does it have to be generic and this is just
an example?
--Alex
On Sun, Mar 30, 2014 at 6:05 PM, Volker s...@klest.de wrote:
dear reader
I have a question about facets.
I have documents with a path as part of a document.
I would like to drill down on an area and get a facet count for the
next level.
If I filter in the facet e.g. for america I would like to get counts
for
/america/usa
/america/mexico
I started with using a prefix filter in the facet to filter e.g. for
america but then I get
/america/usa
/america/usa/california
/america/usa/new-york
/america/mexico
but I would like to get the facet counts for only the next level, so I
can drill down on the area.
I tried a search for this topic, but I did not find a solution.
Hope that somebody can help.
Kind regards
--
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 elasticsearc...@googlegroups.com.
Hi Volker,
I'm happy for you, that you found a solution for your problem. But as Alex
said... It would be very nice and helpful, if you would publish your
solution to help other users
cheers
Am Montag, 7. April 2014 18:38:24 UTC+2 schrieb Volker:
yes... just two month
in the meantime I have solved the problem. not with an array, but with a
map. It works and it is fast
Thanks.
kind regards
PS: and maybe till may in Hamburg
Am Freitag, 4. April 2014 09:57:58 UTC+2 schrieb Alexander Reelsen:
Hey,
I remember barely, that was already more than two months ago
Again with the use case of categories, you may want to drill down in a
hierarchical way, however this does not mean, that your data structures
have to be like that (you could still handle your categories in an array
and apply filters differently, so it looks like a hierarchy). However, I
remember a talk about that at one of the last munich search meetups, dont
see that the presentation is online though (need to reask the speaker for
publishing it)
--Alex
On Tue, Apr 1, 2014 at 6:22 PM, Volker s...@klest.de wrote:
do you remember your talk about ecommerce and ES in Hamburg?
viewing and drilling down in a catalogue is also a valid use case, where
you need to drill down on hirarchical faceted data.
is there an easy way to do that in ES or do I have to aggregate the
facets by myself?
kind regards
Am Montag, 31. März 2014 10:11:31 UTC+2 schrieb Alexander Reelsen:
Hey,
havent spent a lot of thought, if or how you can solve this directly,
but wouldnt it be much easier if you used different fields like
'continent', 'country', 'state', 'city' and would simply aggregate on those
and use it for drill down? Or does it have to be generic and this is just
an example?
--Alex
On Sun, Mar 30, 2014 at 6:05 PM, Volker s...@klest.de wrote:
dear reader
I have a question about facets.
I have documents with a path as part of a document.
I would like to drill down on an area and get a facet count for the
next level.
If I filter in the facet e.g. for america I would like to get counts
for
/america/usa
/america/mexico
I started with using a prefix filter in the facet to filter e.g. for
america but then I get
/america/usa
/america/usa/california
/america/usa/new-york
/america/mexico
but I would like to get the facet counts for only the next level, so I
can drill down on the area.
I tried a search for this topic, but I did not find a solution.
Hope that somebody can help.
Kind regards
--
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 elasticsearc...@googlegroups.com.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.