: parallel arrays, one array per address-part field.  The parallel array 
: alignment is effected via alignment of position increments.  What's 
: missing from Solr/Lucene is the ability to constrain matches such that 
: the position increment of all matching address-part fields is the same.
It exists using Span Queries...

http://lucene.apache.org/java/3_0_1/api/all/org/apache/lucene/search/spans/FieldMaskingSpanQuery.html


...this let's you construct a SpanNearQuery requiring that a span on 
fieldA occurs "near" a span on fieldB (in terms of position value, even 
though the fields are different).  

The only thing that's really missing as far as i can see is a 
"SpanNumericRangeQuery"


-Hoss

Reply via email to