This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Dear authors, I have a question about the result of the following query: (<p>foo bar foo bar bar foo</p>)[. ftcontains "foo" occurs at least 2 times window 3 words] This query should return true or false ? Thanks, Petr
I am sorry, the query is : (<p>foo bar foo bar bar foo</p>) ftcontains "foo" occurs at least 2 times window 3 words
[personal response:] I believe it returns true (assuming a reasonable tokenizer). The combination of the first and third words constitutes a match for "foo" occurs at least 2 times and that match also satisfies window 3 words
At its meeting today, the Task Force agreed with my response in comment #2. Consequently, I'm marking this issue resolved-WORKSFORME (the closest resolution we have to "You asked a question and we answered it"). If you accept this resolution, please mark the issue CLOSED.