FOSElasticaBundle
FOSElasticaBundle copied to clipboard
Logging get and _mget item count
Hi,
I noticed that get and _mget requests always have an item count at 0 in the SF profiler. This made me wrongly belive that one of my get requests was not working.
I made a quick fix for that here: https://github.com/SosthenG/FOSElasticaBundle/commit/e372da3b7be8deeff2b6e4850bcecd1f453eac0e
So we can verify the number of items founds in the SF profiler:
(in this example I'm searching for two docs, only one is found, but the value was always 0 without this fix)
Please tell me if this is acceptable as a PR or not, but I think the item count for such requests is confusing right now.
Can anyone tell me if I can make a PR out of this or if this is going to be fixed in another way?