Da
object(Foolz\SphinxQL\Exception\DatabaseException)#49 (7) { ["message":protected]=> string(860) "[1064] no enabled local indexes to search [ SELECT WEIGHT() as rank, titolo, cat_fixed, url_alias, indirizzo, cap, comune, regione, provincia, categorie, telefono as telefono_fisso, latitudine, sigla_provincia, longitudine FROM ricerca_dbu WHERE MATCH('(@(regione,comune,sigla_provincia) =\"cardano al campo\") (@(cat_fixed) =\"_agenzie viaggi e turismo_\")') LIMIT 0, 19 OPTION ranker = expr('2 * ( sum( ( 4 * lcs + 2 * ( min_hit_pos == 1 ) + exact_hit ) * user_weight ) * 1000 + bm25 ) - sum( lcs + exact_hit + exact_order + word_count / ( tf_idf * hit_count ) ) * top( user_weight * user_weight ) + sum( exact_hit + exact_order + word_count / hit_count ) * top( user_weight ) + bm25 + max_lcs + doc_word_count / query_word_count'), max_matches = 1000, field_weights = (indirizzo=60, comune=5, provincia=1, regione=3, titolo=50, categorie=30, descrizione=1)]" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(0) ["file":protected]=> string(90) "/var/www/virtualhosts/overplace.com/libraries/Foolz/SphinxQL/Drivers/Mysqli/Connection.php" ["line":protected]=> int(133) ["trace":"Exception":private]=> array(8) { [0]=> array(6) { ["file"]=> string(73) "/var/www/virtualhosts/overplace.com/libraries/Foolz/SphinxQL/SphinxQL.php" ["line"]=> int(261) ["function"]=> string(5) "query" ["class"]=> string(40) "Foolz\SphinxQL\Drivers\Mysqli\Connection" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(815) "SELECT WEIGHT() as rank, titolo, cat_fixed, url_alias, indirizzo, cap, comune, regione, provincia, categorie, telefono as telefono_fisso, latitudine, sigla_provincia, longitudine FROM ricerca_dbu WHERE MATCH('(@(regione,comune,sigla_provincia) =\"cardano al campo\") (@(cat_fixed) =\"_agenzie viaggi e turismo_\")') LIMIT 0, 19 OPTION ranker = expr('2 * ( sum( ( 4 * lcs + 2 * ( min_hit_pos == 1 ) + exact_hit ) * user_weight ) * 1000 + bm25 ) - sum( lcs + exact_hit + exact_order + word_count / ( tf_idf * hit_count ) ) * top( user_weight * user_weight ) + sum( exact_hit + exact_order + word_count / hit_count ) * top( user_weight ) + bm25 + max_lcs + doc_word_count / query_word_count'), max_matches = 1000, field_weights = (indirizzo=60, comune=5, provincia=1, regione=3, titolo=50, categorie=30, descrizione=1)" } } [1]=> array(6) { ["file"]=> string(69) "/var/www/virtualhosts/overplace.com/libraries/SphinxManager.class.php" ["line"]=> int(386) ["function"]=> string(7) "execute" ["class"]=> string(23) "Foolz\SphinxQL\SphinxQL" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [2]=> array(6) { ["file"]=> string(70) "/var/www/virtualhosts/overplace.com/libraries/ricerca_schede.class.php" ["line"]=> int(1115) ["function"]=> string(5) "query" ["class"]=> string(13) "SphinxManager" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> &object(Foolz\SphinxQL\SphinxQL)#8 (24) { ["connection":protected]=> object(Foolz\SphinxQL\Drivers\Mysqli\Connection)#16 (4) { ["internal_encoding":protected]=> string(5) "UTF-8" ["silence_connection_warning":protected]=> bool(false) ["connection_params":protected]=> array(3) { ["host"]=> string(9) "127.0.0.1" ["port"]=> string(4) "9306" ["socket"]=> NULL } ["connection":protected]=> object(mysqli)#21 (19) { ["affected_rows"]=> int(-1) ["client_info"]=> string(79) "mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $" ["client_version"]=> int(50011) ["connect_errno"]=> int(0) ["connect_error"]=> NULL ["errno"]=> int(1064) ["error"]=> string(34) "no enabled local indexes to search" ["error_list"]=> array(1) { [0]=> array(3) { ["errno"]=> int(1064) ["sqlstate"]=> string(5) "42000" ["error"]=> string(34) "no enabled local indexes to search" } } ["field_count"]=> int(2) ["host_info"]=> string(20) "127.0.0.1 via TCP/IP" ["info"]=> NULL ["insert_id"]=> int(0) ["server_info"]=> string(22) "3.1.1 (commit 612d99f)" ["server_version"]=> int(30101) ["stat"]=> string(34) "ÿ#08S01unknown command (code=9) " ["sqlstate"]=> string(5) "00000" ["protocol_version"]=> int(10) ["thread_id"]=> int(1) ["warning_count"]=> int(0) } } ["last_result":protected]=> NULL ["last_compiled":protected]=> string(815) "SELECT WEIGHT() as rank, titolo, cat_fixed, url_alias, indirizzo, cap, comune, regione, provincia, categorie, telefono as telefono_fisso, latitudine, sigla_provincia, longitudine FROM ricerca_dbu WHERE MATCH('(@(regione,comune,sigla_provincia) =\"cardano al campo\") (@(cat_fixed) =\"_agenzie viaggi e turismo_\")') LIMIT 0, 19 OPTION ranker = expr('2 * ( sum( ( 4 * lcs + 2 * ( min_hit_pos == 1 ) + exact_hit ) * user_weight ) * 1000 + bm25 ) - sum( lcs + exact_hit + exact_order + word_count / ( tf_idf * hit_count ) ) * top( user_weight * user_weight ) + sum( exact_hit + exact_order + word_count / hit_count ) * top( user_weight ) + bm25 + max_lcs + doc_word_count / query_word_count'), max_matches = 1000, field_weights = (indirizzo=60, comune=5, provincia=1, regione=3, titolo=50, categorie=30, descrizione=1)" ["type":protected]=> string(6) "select" ["query":protected]=> NULL ["select":protected]=> array(14) { [0]=> string(16) "WEIGHT() as rank" [1]=> string(6) "titolo" [2]=> string(9) "cat_fixed" [3]=> string(9) "url_alias" [4]=> string(9) "indirizzo" [5]=> string(3) "cap" [6]=> string(6) "comune" [7]=> string(7) "regione" [8]=> string(9) "provincia" [9]=> string(9) "categorie" [10]=> string(26) "telefono as telefono_fisso" [11]=> string(10) "latitudine" [12]=> string(15) "sigla_provincia" [13]=> string(11) "longitudine" } ["from":protected]=> array(1) { [0]=> string(11) "ricerca_dbu" } ["where":protected]=> array(0) { } ["match":protected]=> array(2) { [0]=> array(3) { ["column"]=> array(3) { [0]=> string(7) "regione" [1]=> string(6) "comune" [2]=> string(15) "sigla_provincia" } ["value"]=> object(Foolz\SphinxQL\Expression)#5 (1) { ["string":protected]=> string(19) "="cardano al campo"" } ["half"]=> bool(false) } [1]=> array(3) { ["column"]=> array(1) { [0]=> string(9) "cat_fixed" } ["value"]=> object(Foolz\SphinxQL\Expression)#6 (1) { ["string":protected]=> string(29) "="_agenzie viaggi e turismo_"" } ["half"]=> bool(false) } } ["group_by":protected]=> array(0) { } ["within_group_order_by":protected]=> array(0) { } ["having":protected]=> array(0) { } ["order_by":protected]=> array(0) { } ["offset":protected]=> int(0) ["limit":protected]=> int(19) ["into":protected]=> NULL ["columns":protected]=> array(0) { } ["values":protected]=> array(0) { } ["set":protected]=> array(0) { } ["options":protected]=> array(3) { [0]=> array(2) { ["name"]=> string(6) "ranker" ["value"]=> object(Foolz\SphinxQL\Expression)#19 (1) { ["string":protected]=> string(345) "expr('2 * ( sum( ( 4 * lcs + 2 * ( min_hit_pos == 1 ) + exact_hit ) * user_weight ) * 1000 + bm25 ) - sum( lcs + exact_hit + exact_order + word_count / ( tf_idf * hit_count ) ) * top( user_weight * user_weight ) + sum( exact_hit + exact_order + word_count / hit_count ) * top( user_weight ) + bm25 + max_lcs + doc_word_count / query_word_count')" } } [1]=> array(2) { ["name"]=> string(11) "max_matches" ["value"]=> int(1000) } [2]=> array(2) { ["name"]=> string(13) "field_weights" ["value"]=> array(7) { ["indirizzo"]=> int(60) ["comune"]=> int(5) ["provincia"]=> int(1) ["regione"]=> int(3) ["titolo"]=> int(50) ["categorie"]=> int(30) ["descrizione"]=> int(1) } } } ["facets":protected]=> array(0) { } ["queue_prev":protected]=> NULL ["escape_full_chars":protected]=> array(15) { ["\"]=> string(2) "\\" ["("]=> string(2) "\(" [")"]=> string(2) "\)" ["|"]=> string(2) "\|" ["-"]=> string(2) "\-" ["!"]=> string(2) "\!" ["@"]=> string(2) "\@" ["~"]=> string(2) "\~" ["""]=> string(2) "\"" ["&"]=> string(2) "\&" ["/"]=> string(2) "\/" ["^"]=> string(2) "\^" ["$"]=> string(2) "\$" ["="]=> string(2) "\=" ["<"]=> string(2) "\<" } ["escape_half_chars":protected]=> array(12) { ["\"]=> string(2) "\\" ["("]=> string(2) "\(" [")"]=> string(2) "\)" ["!"]=> string(2) "\!" ["@"]=> string(2) "\@" ["~"]=> string(2) "\~" ["&"]=> string(2) "\&" ["/"]=> string(2) "\/" ["^"]=> string(2) "\^" ["$"]=> string(2) "\$" ["="]=> string(2) "\=" ["<"]=> string(2) "\<" } } } } [3]=> array(6) { ["file"]=> string(66) "/var/www/virtualhosts/overplace.com/libraries/ricerca.abstract.php" ["line"]=> int(401) ["function"]=> string(13) "execute_query" ["class"]=> string(14) "ricerca_schede" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [4]=> array(6) { ["file"]=> string(66) "/var/www/virtualhosts/overplace.com/libraries/ricerca.abstract.php" ["line"]=> int(298) ["function"]=> string(4) "init" ["class"]=> string(7) "ricerca" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [5]=> array(6) { ["file"]=> string(70) "/var/www/virtualhosts/overplace.com/libraries/ricerca_schede.class.php" ["line"]=> int(816) ["function"]=> string(11) "__construct" ["class"]=> string(7) "ricerca" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> &array(0) { } } } [6]=> array(6) { ["file"]=> string(70) "/var/www/virtualhosts/overplace.com/libraries/ricerca_schede.class.php" ["line"]=> int(149) ["function"]=> string(17) "ricerca_bootstrap" ["class"]=> string(14) "ricerca_schede" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> &array(0) { } } } [7]=> array(6) { ["file"]=> string(56) "/var/www/virtualhosts/overplace.com/site_new/ricerca.php" ["line"]=> int(11) ["function"]=> string(11) "__construct" ["class"]=> string(14) "ricerca_schede" ["type"]=> string(2) "->" ["args"]=> array(0) { } } } ["previous":"Exception":private]=> NULL }