This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Function fts:ApplyFTWordsPhrase (4.3.2.4) can no longer be based on the rewrite of phrase queries into "ordered distance exactly 0 words". When we use interval semantics the distance function will not work, since there is no tuple of TokenInfos between which the distance is to be computed, but rather the phrase is represented by a single TokenInfo. fts:ApplyFTWordsPhrase is also defined in 4.3.3.2 (including MatchOption semantics).
The rationale of this change is to make sure that the search tokens that need to be searched as a phrase are kept together from the call to ApplyFTWords throughout intermediate function calls down to the implementation's search function getTokenInfos. I.e., all search tokens that should be found in a phrase will be passed to a single call to getTokenInfos, hence the implementation can choose to represent any matched phrase in a single TokenInfo (this fixes bug 2599 and hence bug 2299).
The complete proposal for the fix can be found here: (W3C-internal) http://lists.w3.org/Archives/Member/member-query-fttf/2006Apr/0002.html