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

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4702

           Summary: [FT] editorial: 2.3.1 Using Weights Within a Scored
                    FTContainsExpr
           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

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

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

[3]
"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.

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

    [4b]
    When you say "in an FTContainsExpr", does that include nested
    FTContainsExprs?

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

[5]
"1. .... to each other; and"
    s/; and/./ (for consistency with other points)

Received on Saturday, 23 June 2007 09:59:05 UTC