No, this is only a bug in analysis.jsp. you can see this by comparing analysis.jsp's "dontstems bees" to using the query debug interface: <lst name="debug"> <str name="rawquerystring">"dontstems bees"</str> <str name="querystring">"dontstems bees"</str> <str name="parsedquery">PhraseQuery(text:"dontstems bee")</str> <str name="parsedquery_toString">text:"dontstems bee"</str>
On Wed, Apr 20, 2011 at 2:43 PM, Yonik Seeley <yo...@lucidimagination.com> wrote: > On Wed, Apr 20, 2011 at 2:01 PM, Demian Katz <demian.k...@villanova.edu> > wrote: >> I've just started experimenting with the solr.KeywordMarkerFilterFactory in >> Solr 3.1, and I'm seeing some strange behavior. It seems that every word >> subsequent to a protected word is also treated as being protected. > > You're right! This was broken by LUCENE-2901 back in Jan. > I've opened this issue: https://issues.apache.org/jira/browse/LUCENE-3039 > > The easiest short-term workaround for you would probably be to create > a custom filter that looks like KeywordMarkerFilter before the > LUCENE-2901 change. > > -Yonik > http://www.lucenerevolution.org -- Lucene/Solr User Conference, May > 25-26, San Francisco >