That's pretty strange... perhaps something to do with your synonyms file mapping "for" to a zero length token?
-Yonik http://www.lucidimagination.com On Mon, Sep 14, 2009 at 12:13 AM, mike anderson <saidthero...@gmail.com> wrote: > I'm kind of stumped by this one.. is it something obvious? > I'm running the latest trunk. In some cases the stopFilterFactory isn't > removing the field name. > > Thanks in advance, > > -mike > > From debugQuery (both words are in the stopwords file): > > http://localhost:8983/solr/select?q=citations:for&debugQuery=true > > <str name="rawquerystring">citations:for</str> > <str name="querystring">citations:for</str> > <str name="parsedquery">citations:</str> > <str name="parsedquery_toString">citations:</str> > > > http://localhost:8983/solr/select?q=citations:the&debugQuery=true > > <str name="rawquerystring">citations:the</str> > <str name="querystring">citations:the</str> > <str name="parsedquery"></str> > <str name="parsedquery_toString"></str> > > > > > schema analyzer for this field: > <!-- Citation text --> > <fieldType name="citationtext" class="solr.TextField" > positionIncrementGap="100"> > <analyzer type="index"> > <tokenizer class="solr.StandardTokenizerFactory"/> > <filter class="solr.SynonymFilterFactory" > synonyms="substitutions.txt" ignoreCase="true" expand="false"/> > <filter class="solr.StandardFilterFactory"/> > <filter class="solr.StopFilterFactory" ignoreCase="false" > words="citationstopwords.txt"/> > <filter class="solr.LowerCaseFilterFactory"/> > <filter class="solr.ISOLatin1AccentFilterFactory"/> > > <!--<filter class="solr.EnglishPorterFilterFactory" > protected="protwords.txt"/>--> > </analyzer> > <analyzer type="query"> > <tokenizer class="solr.StandardTokenizerFactory"/> > <filter class="solr.SynonymFilterFactory" > synonyms="substitutions.txt" ignoreCase="true" expand="false"/> > <filter class="solr.StandardFilterFactory"/> > <filter class="solr.StopFilterFactory" ignoreCase="false" > words="citationstopwords.txt"/> > <filter class="solr.LowerCaseFilterFactory"/> > <filter class="solr.ISOLatin1AccentFilterFactory"/> > <!-- <filter class="solr.EnglishPorterFilterFactory" > protected="protwords.txt"/> --> > </analyzer> > </fieldType> >