Re: Best practice - preparing search term for Lucene

2022-09-23 Thread Stephane Passignat
7;t mention as my mail was long enough whithout it :) My main concern it should I let Lucene index original keywords or not. Considering what you wrote, I guess your answer would be to store only converted values without exotic characters. Thanks a lot for your reply! BR, Hrvoje On

Re: Best practice - preparing search term for Lucene

2022-09-22 Thread Stephane Passignat
Hello, The way I did it took me some time and I almost sure it's applicable to all languages. I normalized the words. Replacing letters or group of letters by another approaching one. In french e é è ê ai ei sound a bit the same, and for someone who write mistakes having to use the right lett

Re: MultiFieldQueryParser on integer and string (8.6.0)

2020-10-09 Thread Stephane Passignat
Hi, it seems I do not raise a lot of interest here... anyway I try again with a simpler question. Is MultiFieldQueryParser usable in 8.6.0 ? thanks Message initial De: Stephane Passignat Répondre à: java-user@lucene.apache.org À: java-user@lucene.apache.org Objet

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