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 27, 2020
1 parent 02dcdb5 commit 1ec8359
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 1ec8359

Please sign in to comment.