RE: MultiFieldQueryParser on integer and string (8.6.0)

2020-11-24 Thread Karthick Sundaram
s) Create a query matching any of the specified 1D values. Regards, Karthick -Original Message- From: Nicolás Lichtmaier [mailto:nicol...@wolfram.com.INVALID] Sent: Tuesday, November 24, 2020 1:25 PM To: java-user@lucene.apache.org; Stephane Passignat Subject: Re: MultiFieldQuery

Re: MultiFieldQueryParser on integer and string (8.6.0)

2020-11-24 Thread Nicolás Lichtmaier
I think you will need to subclass MultiFieldQueryParser so that the proper Query is created when the field is the numeric one. Maybe overriding createFieldQuery(). El 8/10/20 a las 11:48, Stephane Passignat escribió: Hi, I'm trying to index numeric, and then to query them using java api and lu

Re: MultiFieldQueryParser on integer and string (8.6.0)

2020-10-09 Thread Stephane Passignat
: MultiFieldQueryParser on integer and string (8.6.0) Date: Thu, 08 Oct 2020 16:48:40 +0200 Hi,I'm trying to index numeric, and then to query them using java api andlucene 8.6. I tried several numeric Field types, but I can't make itwork.Can someone help me to store numeric in the datastore and th

MultiFieldQueryParser on integer and string (8.6.0)

2020-10-08 Thread Stephane Passignat
Hi, I'm trying to index numeric, and then to query them using java api and lucene 8.6. I tried several numeric Field types, but I can't make it work. Can someone help me to store numeric in the datastore and then to query them ? ThanksStéphane Here is a simple JUnit test package test.data; import