As i am having some complicated faceting needs , I have a situation where
am forced to use nested type.
I beleive the elasticSearch head uses count API to get number of documents.
But that number is not what i wanted.
Am still pondering on the question why coudlnt array have all these
features nested type have !!!!
On Sat, Nov 19, 2011 at 11:57 AM, David Pilato firstname.lastname@example.org wrote:
As I understand it, document is persisted once with the nested docs and
each nested doc is also persisted.
That's why the total number of documents seen by ES is growing faster than
the number of documents you inject.
If you use the count API you should get back the number of documents you
are looking for.
I suppose that there is performance overhead. I really prefer (if my use
case allows it) to use arrays then nested docs.
Le 19 nov. 2011 à 07:12, Vineeth Mohan email@example.com a
While using nested types , i have noticed that number of documents shown
in head interface is not exactly the number of documents which are really
Some of the documents are actually documents created out of nested types.
How can i see the real number of documents ?
Also what are the possible performance overheads of using nested types
over array ?