mchaput / whoosh

Pure-Python full-text search library
Other
580 stars 73 forks source link

Random error creating, writing or commiting #8

Open Zincr0 opened 4 years ago

Zincr0 commented 4 years ago

Hello, i'm doing some testing with ramstorage like this

storage = RamStorage()
schema = Schema(id_num=NUMERIC(stored=True),
                        body=TEXT(analyzer=StemmingAnalyzer())
                        )
ix = storage.create_index(schema)
writer = ix.writer(limitmb=10)
writer.add_document(id_num=anumber, 
                                    body=content)
writer.commit()

And randomly getting "no such file errors" like

[Errno 2] No such file or directory: '/tmp/MAIN.tmp/ukj0ke2dydehfhqfhc30l0kawol4.run'

which i can't really understand... maybe I'm missing something?