Update sphinx_make.py

This commit is contained in:
Mr Chen 2024-05-20 23:46:23 +08:00
parent 0016f85132
commit d5b87f450d
1 changed files with 5 additions and 0 deletions

View File

@ -191,6 +191,8 @@ source {$DB_NAME}_{$TABLE_NAME}_delta:{$DB_NAME}_{$TABLE_NAME}
sql_query_range = {$DELTA_RANGE}
sql_query = {$DELTA_QUERY}
sql_query_post = {$DELTA_UPDATE}
{$SPH_FIELD}
}
index {$DB_NAME}_{$TABLE_NAME}_delta:{$DB_NAME}_{$TABLE_NAME}
@ -215,6 +217,9 @@ index {$DB_NAME}_{$TABLE_NAME}_delta:{$DB_NAME}_{$TABLE_NAME}
delta_update = self.makeSphinxDbSourceDeltaPost(db, table)
conf = conf.replace("{$DELTA_UPDATE}", delta_update)
sph_field = self.makeSqlToSphinxTable(db, table)
conf = conf.replace("{$SPH_FIELD}", sph_field)
return conf;