sphinxsearch icon indicating copy to clipboard operation
sphinxsearch copied to clipboard

How can i use jointure

Open zimbar opened this issue 9 years ago • 1 comments

Hello,

I need to some thinks like:

$sphinx->search($search, 'inews')->with('type','category')->get() but the whith jointure dont work.

How can i do that Thanks

zimbar avatar Jun 05 '16 13:06 zimbar

You need to change your configuration file (sphinxsearch.php), for example:

return array (
    'host'    => '127.0.0.1',
    'port'    => 9312,
    'indexes' => array (
        'my_index_name' => array('table' => 'news', 'column' => 'id', 'modelname' => 'News'),
    )
);

sngrl avatar Jun 06 '16 11:06 sngrl