Skip to content

Commit

Permalink
uhm
Browse files Browse the repository at this point in the history
  • Loading branch information
Paolo committed Sep 15, 2018
1 parent 8678796 commit 93d8198
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
xlscounter

# sqllite dbs
*.db
backup*
Expand Down
7 changes: 4 additions & 3 deletions operations/rethink2elastic.py
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,6 @@ def make(only_xls=False, skip_lexique=False):

q = query.get_table_query(RDB_TABLE1)
cursor = q.run()
# print("SOME", cursor)

# HTML STRIPPER
if es.indices.exists(index=EL_INDEX0):
Expand Down Expand Up @@ -731,6 +730,8 @@ def make(only_xls=False, skip_lexique=False):
log.info("[Count %s]\t%s" % (count, elobj['extrait']))

# print("TOTAL", es.search(index=EL_INDEX1))
print("Completed. No images:")
pp(noimages.keys())

# print("Completed. No images:")
# pp(noimages.keys())

return True

0 comments on commit 93d8198

Please sign in to comment.