|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2010-08-26 05:29 UTC] rauan1987 at gmail dot com
Description: ------------ Current version of client doesn't return fields of sql_field_string type. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 20:00:01 2025 UTC |
I still don't see string attributes. Here's var_dump of typical doc from search result. array 'id' => int 186712 'weight' => int 925740 'attrs' => array 'title' => int 88517768 'content' => int 88517869 'tags' => int 88518516 'username' => int 88518561 'category_id' => int 14 ... some fields have been skipped... 'created' => int 2009 And this is what i've got in sphinx.conf (in source section) for some of the fields: sql_field_string = title sql_field_string = content sql_field_string = tags sql_attr_string = username sql_attr_timestamp = created As you see, it doesn't detect my string fileds and timestamp is also incorrect. Strings are simply character varying of about 100-300 chars. I'm using latest pecl package 1.1.0 php 5.3.3, centos 5.5 x86_64, sphinx 1.10beta (of course).