Re: Match span of capitalized words

2010-02-05 Thread Max Lynch
> > > I *think* you can get what you want using SpanNotQuery - something like the > following, using your "Microsoft Windows" example: > > SpanNot: >include: >SpanNear(in-order=true, slop=0): >SpanTerm: "Microsoft" >SpanTerm: "Windows" >exclude: >Span

RE: Match span of capitalized words

2010-02-05 Thread Steven A Rowe
Hi Max, On 02/05/2010 at 10:18 AM, Grant Ingersoll wrote: > On Feb 3, 2010, at 8:57 PM, Max Lynch wrote: > > Hi, I would like to do a search for "Microsoft Windows" as a span, but > > not match if words before or after "Microsoft Windows" are upper cased. > > > > For example, I want this to match

Re: Match span of capitalized words

2010-02-05 Thread Grant Ingersoll
On Feb 3, 2010, at 8:57 PM, Max Lynch wrote: > Hi, > I would like to do a search for "Microsoft Windows" as a span, but not match > if words before or after "Microsoft Windows" are upper cased. > > For example, I want this to match: another crash for Microsoft Windows today > But not this: anoth

Match span of capitalized words

2010-02-03 Thread Max Lynch
Hi, I would like to do a search for "Microsoft Windows" as a span, but not match if words before or after "Microsoft Windows" are upper cased. For example, I want this to match: another crash for Microsoft Windows today But not this: another crash for Microsoft Windows Server today Is this possib