json encode MongoDB documents for Sphinx search? -
since using php, thinking of simple way json_encode whole document , save in mysql column, , mysql makes sphinx index.
this seems crude , wonder if others had come across better solution?
i pick out parts , save them schema in mysql, sphinx cannot parse out , query correctly on string field representing document. doing same in mongodb or mysql normal, won't work , fts index not understand document instead see string.
Comments
Post a Comment