Search-SphinxsearchBundle
Search-SphinxsearchBundle copied to clipboard
Indexer service expecting configuration that's different from example?
I was having a difficult time getting the Indexer to work. It looks like the indexes array in config is meant to be a collection of scalar values. But the Indexer service is looking for an array of arrays (to include a "index_name" key)?
if I change
$pb->add($this->indexes[$label]['index_name');
to
$pb->add($this->indexes[$label]);
then the indexer works.
Maybe I'm just doing the settings wrong in my config.yml?