This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 2600 - [FT] adapt fts:ApplyFTWordsPhrase (4.3.2.4) to new TokenInfo interval semantics
Summary: [FT] adapt fts:ApplyFTWordsPhrase (4.3.2.4) to new TokenInfo interval semantics
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Full Text 1.0 (show other bugs)
Version: Working drafts
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Jochen Doerre
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 2299
  Show dependency treegraph
 
Reported: 2005-12-14 12:31 UTC by Jochen Doerre
Modified: 2006-04-07 21:03 UTC (History)
0 users

See Also:


Attachments

Description Jochen Doerre 2005-12-14 12:31:21 UTC
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).
Comment 1 Jochen Doerre 2006-04-07 21:01:50 UTC
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).
Comment 2 Jochen Doerre 2006-04-07 21:03:27 UTC
The complete proposal for the fix can be found here:
(W3C-internal)
http://lists.w3.org/Archives/Member/member-query-fttf/2006Apr/0002.html