W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2007

[Bug 4702] [FT] editorial: 2.3.1 Using Weights Within a Scored FTContainsExpr

From: <bugzilla@wiggum.w3.org>
Date: Sat, 23 Jun 2007 09:59:00 +0000
To: public-qt-comments@w3.org
Message-Id: <E1I22OS-0005Os-Rg@wiggum.w3.org>


           Summary: [FT] editorial: 2.3.1 Using Weights Within a Scored
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Full Text
        AssignedTo: jim.melton@acm.org
        ReportedBy: jmdyck@ibiblio.org
         QAContact: public-qt-comments@w3.org

2.3.1 Using Weights Within a Scored FTContainsExpr

para 1
"Syntactically weight declarations"
    After "Syntactically", insert a comma.

para 2
"The effect of weights on the result score"
    s/result/resulting/ maybe

"However, weight declarations must follow these rules:"
    Actually, only point #3 (the restriction to 0 - 1000) is a rule for
    weight declarations to follow. The other two points are rules for
    the scoring algorithm to follow.

"1. Weights in an FTContainsExpr are significant only in relation to each
    Is it possible to detect if a scoring algorithm breaks this rule?

    When you say "in an FTContainsExpr", does that include nested

    What should the scoring algorithm do with cases like this?:
        let score $s :=
            $b/content ftcontains ("web site" weight 0.5)
            $b/content ftcontains ("usability" weight 2)
    (Note two separate FTContainsExprs.)

"1. .... to each other; and"
    s/; and/./ (for consistency with other points)
Received on Saturday, 23 June 2007 09:59:05 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:33 UTC