Text モデルがあります。
class Text(db.Document):
siphash_value = db.LongField()
次に、ハッシュを作成するために siphash lib を使用します。( https://github.com/majek/pysiphash )
この lib は、文字列を12398370950267227270Lのような長い値に変換します
ドキュメントをデータベースに保存しようとすると;
Text(siphash_value=12398370950267227270L).save()
次のエラーが表示されます。
OverflowError: MongoDB can only handle up to 8-byte ints