Re: [jira] [Created] (PYLUCENE-50) StoredField of an int has the wrong type.

2019-06-17 Thread Andi Vajda


This calls off the vote...

Andi..

On Tue, 18 Jun 2019, A. Coady (JIRA) wrote:


A. Coady created PYLUCENE-50:


Summary: StoredField of an int has the wrong type.
Key: PYLUCENE-50
URL: https://issues.apache.org/jira/browse/PYLUCENE-50
Project: PyLucene
 Issue Type: Bug
Environment: Python 3 official docker container, 8.1.1rc
   Reporter: A. Coady


The StoredField constructor is interpreting ints as bytes.  It's only 
reproducing on the 8 rc.

{{import lucene}}
{{lucene.initVM()}}
{{from org.apache.lucene import document}}


?? {{field = document.StoredField('', 0)}}

{{print(field.numericValue(), field.binaryValue())}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (PYLUCENE-50) StoredField of an int has the wrong type.

2019-06-17 Thread A. Coady (JIRA)
A. Coady created PYLUCENE-50:


 Summary: StoredField of an int has the wrong type.
 Key: PYLUCENE-50
 URL: https://issues.apache.org/jira/browse/PYLUCENE-50
 Project: PyLucene
  Issue Type: Bug
 Environment: Python 3 official docker container, 8.1.1rc
Reporter: A. Coady


The StoredField constructor is interpreting ints as bytes.  It's only 
reproducing on the 8 rc.

{{import lucene}}
 {{lucene.initVM()}}
 {{from org.apache.lucene import document}}
  
 {{field = document.StoredField('', 0)}}
 {{print(field.numericValue(), field.binaryValue())}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)