Re: Sequential match query

2009-04-13 Thread Tim Williams
On Mon, Apr 13, 2009 at 2:18 PM, John Seer wrote: > > If I understand you guys correct > If I have term which has n tokens I will need to create n SpanTermQuery put > them in array and pass it to SpanNearQuery? Can you post inline instead of top-posting? What you have is essentially my suggestio

Re: Sequential match query

2009-04-13 Thread John Seer
If I understand you guys correct If I have term which has n tokens I will need to create n SpanTermQuery put them in array and pass it to SpanNearQuery? Erik Hatcher wrote: > > > On Apr 12, 2009, at 8:15 AM, Tim Williams wrote: > >> On Sun, Apr 12, 2009 at 5:56 AM, Erik Hatcher >> wrote: >>

Re: Sequential match query

2009-04-12 Thread Erik Hatcher
On Apr 12, 2009, at 8:15 AM, Tim Williams wrote: On Sun, Apr 12, 2009 at 5:56 AM, Erik Hatcher wrote: On Apr 11, 2009, at 9:11 PM, Tim Williams wrote: On Sat, Apr 11, 2009 at 12:25 PM, Erick Erickson wrote: That'll teach me to scan a post. The link I sent you is still relevant, but wild

Re: Sequential match query

2009-04-12 Thread Tim Williams
On Sun, Apr 12, 2009 at 5:56 AM, Erik Hatcher wrote: > > On Apr 11, 2009, at 9:11 PM, Tim Williams wrote: > >> On Sat, Apr 11, 2009 at 12:25 PM, Erick Erickson >> wrote: >>> >>> That'll teach me to scan a post. The link I sent you >>> is still relevant, but wildcards are NOT intended to be used t

Re: Sequential match query

2009-04-12 Thread Erik Hatcher
On Apr 11, 2009, at 9:11 PM, Tim Williams wrote: On Sat, Apr 11, 2009 at 12:25 PM, Erick Erickson wrote: That'll teach me to scan a post. The link I sent you is still relevant, but wildcards are NOT intended to be used to concatenate terms. You want a phrase query or a span query for that. i.

Re: Sequential match query

2009-04-11 Thread Tim Williams
On Sat, Apr 11, 2009 at 12:25 PM, Erick Erickson wrote: > That'll teach me to scan a post. The link I sent you > is still relevant, but wildcards are NOT intended to be used to > concatenate terms. You want a phrase query or a span query > for that. i.e. "A C F"~# where # is the "slop", that is, t

Re: Sequential match query

2009-04-11 Thread Erick Erickson
That'll teach me to scan a post. The link I sent you is still relevant, but wildcards are NOT intended to be used to concatenate terms. You want a phrase query or a span query for that. i.e. "A C F"~# where # is the "slop", that is, the number of other terms allowed to appear between your desired t

Re: Sequential match query

2009-04-11 Thread Erick Erickson
Wildcard queries are not lowercased, so depending upon how you're indexing, that may be tripping you up. See http://wiki.apache.org/lucene-java/LuceneFAQ#head-133cf44dd3dff3680c96c1316a663e881eeac35a Best Erick On Fri, Apr 10, 2009 at 2:56 PM, John Seer wrote: > > Hello, > I have 3 terms and I