lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Borgermans" <paul.borgerm...@gmail.com>
Subject Re: Partial Word Matches
Date Sat, 11 Nov 2006 20:05:49 GMT
Indeed, the only way this can happen as far as I know Lucene is by using a
stemmer during indexing, the standard analyzer won't result in such
behaviour.

hth

Paul

On 11/11/06, Erick Erickson <erickerickson@gmail.com> wrote:
>
> That's not the default behavior, so I'm perplexed. Normally, you have to
> go
> to considerable effort to get partial matches....
>
> What analyzers are you using at both index and query time? Perhaps as
> short
> a code snippet as you could make showing this behavior would be a good
> thing
> to post. I flat guarantee folks will look at it. But please make it short
> <G>.
>
> Best
> ERick
>
> On 11/11/06, Storey, Jeff <jeff.storey@dac.us> wrote:
> >
> > Hi. I'm using Lucene to do some searching (using the Searcher object and
> > passing it a ParsedQuery). I search for a word such as "long" and it is
> > returning partial matches, such as "belong" and "along." Is there a way
> > to turn off this behavior and only match whole words?
> >
> >
> >
> > Thank you,
> >
> > Jeff
> >
> >
> >
> >
> >
>
>


-- 
http://walhalla.wordpress.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message