Except you can never match "a", so that is a bad idea. So much for the query "vitamin a".
wunder On May 16, 2012, at 5:47 PM, Jack Krupansky wrote: > Add "a" (and maybe other single letters) to the stopwords file. Then it won't > show up in the query at all. > > And with edismax, enable PF2 and maybe PF3 so that instances of "a cole" > would get boosted. > > -- Jack Krupansky > > -----Original Message----- From: roySolr > Sent: Wednesday, May 16, 2012 10:58 AM > To: solr-user@lucene.apache.org > Subject: Must match and terms with only one letter > > Hello, > > I use the MM function on my edismax requesthandler(70%). This works great > but i have one problem: > > When is search for "A Cole" there has to been only one term match(mm = 70%). > The problem is the "A", It returns 9200 documents with an "A" in it. Is > there a posssibility to skip terms with only one character? The MM value is > ok(2 terms -> 1 match), but not when a term is only one character. > > Thanks > Roy > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Must-match-and-terms-with-only-one-letter-tp3984139.html > Sent from the Solr - User mailing list archive at Nabble.com. -- Walter Underwood wun...@wunderwood.org