Re: Understanding Lucene Slop

2006-07-20 Thread Erick Erickson
Have you looked at SpanNearQuery? From what you describe, it looks to be what you want. The constructor takes slop as well as a boolean whether order is relevant. The array of SpanQuerys would probably consist of a bunch of SpanTermQuerys. Best Erick

Understanding Lucene Slop

2006-07-20 Thread Walt Stoneburner
Hello, I'm trying to understand Lucene's slop value a little better, as what I'm able to Google about it seems a little ambiguous. My main goal is to search for a linear sequence of keywords in a specific order over a given range. For instant I'd like a query of "fate ships" to find