Re: Field.setStringValue

2019-10-10 Thread Andi Vajda
t; Marc Jeurissen > > > > Bibliotheek UAntwerpen > Stadscampus – Ve35.303 > Venusstraat 35 – 2000 Antwerpen > marc.jeuris...@uantwerpen.be > T +32 3 265 49 71 > > > > From: Andi Vajda > Sent: woensdag 9 oktober 2019 23:33 > To: Andi Vajda > Cc: pylucene-d

RE: Field.setStringValue

2019-10-10 Thread Marc Jeurissen
Sent: woensdag 9 oktober 2019 23:33 To: Andi Vajda Cc: pylucene-dev@lucene.apache.org Subject: Re: Field.setStringValue On Wed, 9 Oct 2019, Andi Vajda wrote: > > On Wed, 9 Oct 2019, Marc Jeurissen wrote: > >> Good day to you, >> >> I have the following issue when s

Re: Field.setStringValue

2019-10-09 Thread Andi Vajda
ons=DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS> (Pdb) value = '«Volgende facturen werden verstuurd aan de financiële dienst.»' (Pdb) type(value) (Pdb) field.setStringValue(value) (Pdb) field stored,indexed,tokenized,omitNorms,indexOptions=DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETSfacturen werden verstuurd aan de f

Re: Field.setStringValue

2019-10-09 Thread Andi Vajda
nst.»' (Pdb) type(value) (Pdb) field.setStringValue(value) (Pdb) field > The field value has lost 2 characters. But when I encode value: (Pdb) value = value.encode('utf-8') (Pdb) value b'\xc2\xabVolgende facturen werden verstuurd aan de financi\xc3\xable dienst.\xc2\xbb&

Field.setStringValue

2019-10-09 Thread Marc Jeurissen
Good day to you, I have the following issue when setting the value of a field, value containing a character > 160 (Pylucene 8.1.1, Python 3.7.2) ... (Pdb) field > (Pdb) value = '«Volgende facturen werden verstuurd aan de financiële dienst.»' (Pdb) type(value) (Pdb) field.setS