Skip to content

Commit

Permalink
Fix single document overlap between main and delta indexes.
Browse files Browse the repository at this point in the history
  • Loading branch information
figvam committed Jun 28, 2010
1 parent 90ee117 commit 7b45dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx_plugin/includes/search/fulltext_sphinx.php
Expand Up @@ -281,7 +281,7 @@ function config_updated()
FROM ' . POSTS_TABLE . ' p, ' . TOPICS_TABLE . ' t
WHERE
p.topic_id = t.topic_id
AND p.post_id >= ( SELECT max_doc_id FROM ' . SPHINX_TABLE . ' WHERE counter_id=1 )'),
AND p.post_id > ( SELECT max_doc_id FROM ' . SPHINX_TABLE . ' WHERE counter_id=1 )'),
array('sql_query_post_index', ''),
),
"index index_phpbb_{$this->id}_main" => array(
Expand Down

0 comments on commit 7b45dab

Please sign in to comment.