Re: Problem with fuzzy search and accentuation

2018-08-07 Thread Monique Monteiro
Hi Erick, In fact, stemming was the culprit for the problem. Thanks! Monique Monteiro On Fri, Aug 3, 2018 at 3:45 PM Erick Erickson wrote: > Stemming is getting in the way here. You could probably use copyField > to a field that doesn't stem and fuzzy search against that field > rather than th

Re: Problem with fuzzy search and accentuation

2018-08-03 Thread Erick Erickson
Stemming is getting in the way here. You could probably use copyField to a field that doesn't stem and fuzzy search against that field rather than the stemmed one. Best, Erick On Fri, Aug 3, 2018 at 11:31 AM, Monique Monteiro wrote: > By adding debug=true, I get the following: > > >- adminis

Re: Problem with fuzzy search and accentuation

2018-08-03 Thread Monique Monteiro
By adding debug=true, I get the following: - administração (correct result): "debug":{ "rawquerystring":"administração", "querystring":"administração", "parsedquery":"text:administr", "parsedquery_toString":"text:administr", "QParser":"LuceneQParser"}} - administração

Re: Problem with fuzzy search and accentuation

2018-08-03 Thread Erick Erickson
What does adding &debug=query show you the parsed query is in the two cases? My guess is that accent folding is kicking in one case but not the other, but that's a blind guess. On Fri, Aug 3, 2018 at 11:19 AM, Monique Monteiro wrote: > Hi all, > > I'm having a problem when I search for a word

Problem with fuzzy search and accentuation

2018-08-03 Thread Monique Monteiro
Hi all, I'm having a problem when I search for a word with some non-ASCII characters in combination with fuzzy search. For example, if I type 'administração' or 'contratação' (both words end with 'ção'), the search results are returned correctly. However, if I type 'administração~', no result is