src/Configuration/SearchableEntityConfiguration.php
public function populateIndex()
    {
        $this->buildDocumentsByManager($this->doctrine);

        if ($this->mongo) {
            $this->buildDocumentsByManager($this->mongo);
        }

        if (!empty($this->documents)) {
            $response = $this->searchProvider->addDocuments($this->documents);
            $this->documents = [];
        }
    }
public function populateIndex()
    {
        $this->buildDocumentsByManager($this->doctrine);

        if ($this->mongo) {
            $this->buildDocumentsByManager($this->mongo);
        }

        if (!empty($this->documents)) {
            $response = $this->searchProvider->addDocuments($this->documents);
            $this->documents = [];
        }
    }
public function populateIndex ( ) { $ this -> buildDocumentsByManager ( $ this -> doctrine ) ; if ( $ this -> mongo ) { $ this -> buildDocumentsByManager ( $ this -> mongo ) ; } if ( ! empty ( $ this -> documents ) ) { $ response = $ this -> searchProvider -> addDocuments ( $ this -> documents ) ; $ this -> documents = [ ] ; } }
Populate the indexes
Populate the indexes