Skip to content

Instantly share code, notes, and snippets.

@AV4TAr
Created February 6, 2012 19:04
Show Gist options
  • Save AV4TAr/1754107 to your computer and use it in GitHub Desktop.
Save AV4TAr/1754107 to your computer and use it in GitHub Desktop.
Mysql Meetup - Sphinx - ejemplo1
source source1
{
type = mysql
sql_host = mysqlA
sql_user = user
...
sql_query = SELECT id, group_id, UNIX_TIMESTAMP(date_added) \
date_added, title, content \
FROM documents
sql_attr_uint = group_id
sql_attr_timestamp = date_added
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment