I am a newbie to ES.
My goal is to compute recommendation music list for a user.
The commendation music is simply musics which the user`s friends listened
to.
For that, I have added about 10,000,000 documents as following mapping.
I expected search cost as "O(log n * friend count of '2344')" and then
facet computing cost on searched friends docs.
But when I run above query, OutOfMemory occurs as following.
2013년 10월 18일 금요일 오전 11시 1분 23초 UTC+9, Min Cha 님의 말:
Hi folks.
I am a newbie to ES.
My goal is to compute recommendation music list for a user.
The commendation music is simply musics which the user`s friends listened
to.
For that, I have added about 10,000,000 documents as following mapping.
I expected search cost as "O(log n * friend count of '2344')" and then
facet computing cost on searched friends docs.
But when I run above query, OutOfMemory occurs as following.
two notes: First, by default only 1 GB of memory is used by the JVM when
starting up. You can change this using the ES_HEAP_SIZE parameter. See
Second, you should not facet on an analyzed field, but set the field you
want to facet on to not_analyzed. If you need to search on that field as
well, consider using a multi field, see
The first link also explains a bit, why you should not facet on an analyzed
field.
As a last hint, you should monitor the size of your fielddata in order to
prevent out of memory exceptions, see
2013년 10월 18일 금요일 오전 11시 1분 23초 UTC+9, Min Cha 님의 말:
Hi folks.
I am a newbie to ES.
My goal is to compute recommendation music list for a user.
The commendation music is simply musics which the user`s friends listened
to.
For that, I have added about 10,000,000 documents as following mapping.
I expected search cost as "O(log n * friend count of '2344')" and then
facet computing cost on searched friends docs.
But when I run above query, OutOfMemory occurs as following.
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.