On Tue, 20 Apr 2021, antony wrote:
Hello,
Anyone help me how to use StoredField(String name, long value). Its not
working because there is no 'long integer' in Python 3.
Not sure that's the problem.
It looks like the StoredField(int) overload is called before the
StoredField(long). This i
Hello,
Anyone help me how to use StoredField(String name, long value). Its not
working because there is no 'long integer' in Python 3.
I am using Python 3.8.0 and pylucene 8.6.1.
Source code:
cdate = int(datetime.datetime.now().strftime("%Y%m%d%H%M"))
print(1, cdate)
doc = Document()
doc.a