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 3920 - [FT] Section 3.1.8 Examples
Summary: [FT] Section 3.1.8 Examples
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Full Text 1.0 (show other bugs)
Version: Working drafts
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Jim Melton
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-31 23:42 UTC by Michael Rys
Modified: 2007-04-20 15:42 UTC (History)
0 users

See Also:


Attachments

Description Michael Rys 2006-10-31 23:42:21 UTC
/book ftcontains ("information" &&
"retrieval") not in ("information" && "retrieval" 
distance at least 11 words)

why use the mild not in the example.

/book[. ftcontains "web site"
&& "usability" distance at most 1 words]/title 
Does distance start/end at beginning or end of a phrase?

A similar query for the p element what p element? Show query.
Comment 1 Jim Melton 2007-02-02 18:00:11 UTC
Bug #3898 is related to parts of this bug (the question regarding the distance from a phrase to another token); the solution to #3898 will resolve that part of this bug. 

The Task Force agreed to fix the first example in section 3.3.7, FTDistance, to remove the first parenthesized expression and the keywords "not in" and to fix the text in the paragraph preceding the example, and to use search terms that actually appear in the sample data. 

The TF also agreed to fix the third example in that section by replacing "." with ".//p" and modifying the preceding paragraph to use concepts such as 'the token in the phrase "web site" that is nearest to the token "usability"...'
Comment 2 Pat Case 2007-03-02 17:47:26 UTC
Fixed the first example in section 3.3.7, FTDistance, to remove the first parenthesized expression and the keywords "not in" and to fix the text in the paragraph preceding the example, and to use search terms that actually appear in the sample data. Bugzilla Bug #3920, [FT] Section 3.1.8 Examples
Pat substituted this preceding text:
The following expression returns false, because "completion" and "errors" are less than 11 tokens apart:
and this example
book ftcontains ("completion" && "errors" distance at least 11 words)

I believe that Jochen fixed the third example.

Michael, please review and close if appropriate.

Pat
Comment 3 Jim Melton 2007-04-20 15:42:25 UTC
Because you participated in the TF when this bug was resolved, we presume that
your concerns are addressed appropriately.  We are therefore marking this bug
as CLOSED.