This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
/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.
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"...'
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
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.