Igor Denisenko

Results comments of Igor Denisenko

@webdevsHub I'm not sure a little if this is really worth to have ~10 classes consisting only of getters to single array, because it's like java's way rather than php....

This actually mean implement analog of [doctrine/mongodb-odm](https://github.com/doctrine/mongodb-odm) for elasticsearch, right?

> transformation of an --- object into an --- document > convert an --- result --- into --- object But isn't it what ODM mean? > how useful that is...

I got it. Previously I thought that FosElastica can automagically convert Elastica document into BlogPost object, bypassing ORM mechanism. Now I have seen transformers source code. But still, mapping config,...

@ruflin I read carefully this code, but don't really get that exactly they achieve using curl in multi mode, but sending just one request at time. Could you explain please...

> Keep Percolator object but only to the registration of a query part Agreed. > Move percolate queries to the Search objects. But why? Request to `_search` endpoint and request...

Implementation could be similar to fos elastica one, but without symfony. How it works: - create instance of Populator - implement class with interface ProviderInterface - pass instance of provider...

With that, users will have just one interface they must implement for whatever data source they want to use, and don't dig into bulk api or how to add/update multiple...

Like this. Note $this->bulkSize: ``` php class Populator { public function processProvider(ProviderInterface $provider) { // preparations $documents = []; $chunkSize = 0; // fetch loop while ($document = $provider->getNextDocument()) {...

It's not necessary. My thoughts was that with `getDocumentCount` populator can track current progress and pass it to `onIterationCompletedCallback` as argument. It's useful in case you have a lot of...