RE: Finding words not followed by other words

2014-07-15 Thread Allison, Timothy B.
ay, July 14, 2014 9:58 PM To: java-user@lucene.apache.org Subject: RE: Finding words not followed by other words Thanks, Koji! This solves it. I had forgotten all about SpanNotQuery. -Michael -Original Message- From: Koji Sekiguchi [mailto:k...@r.email.ne.jp] Sent: Saturday, July 12, 20

RE: Finding words not followed by other words

2014-07-14 Thread Michael Ryan
Thanks, Koji! This solves it. I had forgotten all about SpanNotQuery. -Michael -Original Message- From: Koji Sekiguchi [mailto:k...@r.email.ne.jp] Sent: Saturday, July 12, 2014 10:45 AM To: java-user@lucene.apache.org Subject: Re: Finding words not followed by other words Hi Michael

Re: Finding words not followed by other words

2014-07-12 Thread Koji Sekiguchi
Hi Michael, I haven't executed this yet, but can you try this: SpanNotQuery(SpanNearQuery("George Washington"), SpanNearQuery("George Washington Carver")) Koji -- http://soleami.com/blog/comparing-document-classification-functions-of-lucene-and-mahout.html (2014/07/11 23:20), Michael Ryan wro

RE: Finding words not followed by other words

2014-07-11 Thread Michael Ryan
Thanks for the response. I don't necessarily know ahead of time what entities will be searched on, or even that things that are being searched for are actually truly entities. Though, for a lot of cases where I do know what users want to search on, this could help... -Michael From: Tri Cao [ma