diff --git a/hadsh/crawler/crawler.py b/hadsh/crawler/crawler.py index bea280a..7dbdfa9 100644 --- a/hadsh/crawler/crawler.py +++ b/hadsh/crawler/crawler.py @@ -465,7 +465,7 @@ class Crawler(object): (word, score, count) VALUES %(insert_template)s - ON CONFLICT ON CONSTRAINT word_pkey DO NOTHING + ON CONFLICT ON CONSTRAINT ix_word_word DO NOTHING ''' % { 'insert_template': ', '.join([ '(%s, 0, 0)' for x