query fix
This commit is contained in:
@@ -529,6 +529,9 @@ def do_all_persons():
|
||||
print(f" - {counter}/{counter_end}: {lsf_id}")
|
||||
counter += 1
|
||||
|
||||
if counter < 785:
|
||||
continue
|
||||
|
||||
query = {
|
||||
"match": {
|
||||
"lsf_id": lsf_id
|
||||
@@ -540,7 +543,11 @@ def do_all_persons():
|
||||
name = firstname + " " + surname
|
||||
|
||||
# get persons texts
|
||||
year_texts = get_year_texts(name)
|
||||
try:
|
||||
year_texts = get_year_texts(name)
|
||||
except:
|
||||
continue
|
||||
|
||||
# get keywords
|
||||
years_texts = {}
|
||||
for i in range(len(year_texts)):
|
||||
|
||||
Reference in New Issue
Block a user