Chris Hostetter wrote:
: One thing that I know has bogged me is when matching a phrase where I
: would expect mathematical formula (which is "just a subphrase"). I
: would have liked the phrase-query to extend as far as it wishes but not
: passed a given token... would this be possible ?
: Presumably a period token and this feature would have provided the same?
I haven't tried it myself, but my reading of SpanQueries leads me to
believe you could accomplish what you want (and what Grant describes) by
inserting special Terms to denote
formula/sentance/paragraph/section/chapter boundaries, and then use
SpanNearQueries with a high slop in conjunction with a
SpanNotQuery using a SpanTermQuery for the boundary you don't want to
cross.
I have not tried this either, but it was one of the use cases when
designing span queries. So it should work.
Doug
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]