RE: Partial word match using n-grams

2013-07-30 Thread Becker, Thomas
one possible convention. > > -Original Message- > From: Shai Erera [mailto:ser...@gmail.com] > Sent: Friday, July 19, 2013 8:53 AM > To: java-user@lucene.apache.org > Subject: Re: Partial word match using n-grams > > Wait, I didn't mean to pad the entire string.

Re: Partial word match using n-grams

2013-07-19 Thread Erick Erickson
riginal Message- > From: Shai Erera [mailto:ser...@gmail.com] > Sent: Friday, July 19, 2013 8:53 AM > To: java-user@lucene.apache.org > Subject: Re: Partial word match using n-grams > > Wait, I didn't mean to pad the entire string. If the string is broken on _ > already

RE: Partial word match using n-grams

2013-07-19 Thread Becker, Thomas
t doesn't have to be an underscore, that's only one possible convention. -Original Message- From: Shai Erera [mailto:ser...@gmail.com] Sent: Friday, July 19, 2013 8:53 AM To: java-user@lucene.apache.org Subject: Re: Partial word match using n-grams Wait, I didn't mean to p

Re: Partial word match using n-grams

2013-07-19 Thread Shai Erera
4##" before trigramming is > not going to produce a to# token that I would need in order for "quota to" > to match. > > -Original Message- > From: Allison, Timothy B. [mailto:talli...@mitre.org] > Sent: Friday, July 19, 2013 7:58 AM > To: java-user@l

RE: Partial word match using n-grams

2013-07-19 Thread Becker, Thomas
oing to produce a to# token that I would need in order for "quota to" to match. -Original Message- From: Allison, Timothy B. [mailto:talli...@mitre.org] Sent: Friday, July 19, 2013 7:58 AM To: java-user@lucene.apache.org Subject: RE: Partial word match using n-grams Got it..

RE: Partial word match using n-grams

2013-07-19 Thread Allison, Timothy B.
y as if it were a single term? From: Becker, Thomas [thomas.bec...@netapp.com] Sent: Thursday, July 18, 2013 8:59 PM To: java-user@lucene.apache.org Subject: RE: Partial word match using n-grams Thanks for the reply Tim. I really should have been clear

Re: Partial word match using n-grams

2013-07-18 Thread Shai Erera
ovice and am not at all sure that > what I'm doing is optimal. But I have been impressed with how easy it is > to get something working very quickly! > > > From: Allison, Timothy B. [talli...@mitre.org] > Sent: Thursday, July 18, 2013

RE: Partial word match using n-grams

2013-07-18 Thread Becker, Thomas
s from the list. -Original Message----- From: Becker, Thomas [mailto:thomas.bec...@netapp.com] Sent: Thursday, July 18, 2013 3:55 PM To: java-user@lucene.apache.org Subject: Partial word match using n-grams One of our main use-cases for search is to find objects based on partial name matches. I

RE: Partial word match using n-grams

2013-07-18 Thread Allison, Timothy B.
..@netapp.com] Sent: Thursday, July 18, 2013 3:55 PM To: java-user@lucene.apache.org Subject: Partial word match using n-grams One of our main use-cases for search is to find objects based on partial name matches. I've implemented this using n-grams and it works pretty well. However we&

Partial word match using n-grams

2013-07-18 Thread Becker, Thomas
One of our main use-cases for search is to find objects based on partial name matches. I've implemented this using n-grams and it works pretty well. However we're currently using trigrams and that causes an interesting problem when searching for things like "abc ab" since we first split on whi