Re: Must match and terms with only one letter

2012-05-20 Thread Lance Norskog
not in the index analyzer. > > -- Jack Krupansky > > -Original Message- From: Walter Underwood > Sent: Wednesday, May 16, 2012 8:52 PM > To: solr-user@lucene.apache.org > Subject: Re: Must match and terms with only one letter > > > Except you can never match &qu

Re: Must match and terms with only one letter

2012-05-16 Thread Jack Krupansky
Ah, sorry. I meant to add that you should have a stop filter in the query analyzer, but not in the index analyzer. -- Jack Krupansky -Original Message- From: Walter Underwood Sent: Wednesday, May 16, 2012 8:52 PM To: solr-user@lucene.apache.org Subject: Re: Must match and terms with

Re: Must match and terms with only one letter

2012-05-16 Thread Walter Underwood
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 a

Re: Must match and terms with only one letter

2012-05-16 Thread Jack Krupansky
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