mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	this change caused index optimization to fail.
This commit is contained in:
		@@ -12,9 +12,7 @@ from documents.sanity_checker import SanityFailedError
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def index_optimize():
 | 
			
		||||
    ix = index.open_index()
 | 
			
		||||
    with AsyncWriter(ix) as writer:
 | 
			
		||||
        writer.commit(optimize=True)
 | 
			
		||||
    index.open_index().optimize()
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def index_reindex():
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user