Skip to content

Commit

Permalink
make commit explicity in add
Browse files Browse the repository at this point in the history
  • Loading branch information
nathancday committed Feb 12, 2020
1 parent 8c3f07b commit 959dbfa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions indexTmdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,4 @@ def indexableMovies():

if __name__ == "__main__":
solr = pysolr.Solr('http://localhost:8983/solr/tmdb', timeout=100)
solr.add(indexableMovies())
solr.commit()
solr.add(indexableMovies(), commit=True)

0 comments on commit 959dbfa

Please sign in to comment.