Albirew/nyaa-pantsu
Albirew
/
nyaa-pantsu
Archivé
1
0
Bifurcation 0

Merge pull request #872 from tomleb/some_fix

Fix single letter search and wrong column name
Cette révision appartient à :
tomleb 2017-05-31 21:32:33 -04:00 révisé par GitHub
révision 7ecae17679
2 fichiers modifiés avec 3 ajouts et 3 suppressions

Voir le fichier

@ -24,8 +24,8 @@ settings:
filter:
e_ngram_filter:
type: edge_ngram
min_gram: 2
max_gram: 15
min_gram: 1
max_gram: 16
char_filter:
dash_to_underscore:

Voir le fichier

@ -23,7 +23,7 @@ pgconn = psycopg2.connect(dbparams)
cur = pgconn.cursor()
# We MUST use NO QUERY CACHE because the values are insert on triggers and
# not through pgppool.
cur.execute("""/*NO QUERY CACHE*/ SELECT id, torrent_id, action FROM reindex_torrents""")
cur.execute("""/*NO QUERY CACHE*/ SELECT reindex_torrents_id, torrent_id, action FROM reindex_torrents""")
fetches = cur.fetchmany(CHUNK_SIZE)
while fetches: