You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation specifies: $candyShopIndexer = new TNTGeoIndexer;
However, this expects an engine. I have tried playing around with the options, but either I get the result 'no such table: wordlist ' or 'no such table: locations'. Anyone who can help?
My full code:
`$tnt = new TNTGeoSearch();
$configuration = $this->municipalitiesManager->getTNTSearchConfiguration();
$tnt->loadConfig($configuration);
$tnt->createIndex('geo.index');
$candyShopIndexer = new TNTGeoIndexer($tnt->engine);
$candyShopIndexer->loadConfig($configuration);
$candyShopIndexer->createIndex('geo.index');
$candyShopIndexer->query('SELECT id, longitude, latitude FROM municipality;');
$candyShopIndexer->run();`
The text was updated successfully, but these errors were encountered:
The documentation specifies:
$candyShopIndexer = new TNTGeoIndexer;
However, this expects an engine. I have tried playing around with the options, but either I get the result 'no such table: wordlist ' or 'no such table: locations'. Anyone who can help?
My full code:
`$tnt = new TNTGeoSearch();
The text was updated successfully, but these errors were encountered: