19 May
2012
19 May
'12
10:36 p.m.
On Wed, 2012-05-16 at 16:39 -0400, Joe Beaubien wrote:
I am getting some very weird search results with fts_solr.
- when I do a search for "testin" I get 0 results.
- when I do a search for "testing" i get 44 results.
The problem is that I am expecting only 1 result.
Solr uses "stemming" for indexing/searching words. After that it searches those stemmed words, it doesn't do prefix searching by default. So:
You don't have any mails with a word "testin" in it.
"testing" probably gets stemmed to "test", and you get a combined result of "test", "testing", "tests" and maybe some other words.