<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>4702</bug_id>
          
          <creation_ts>2007-06-23 09:59:00 +0000</creation_ts>
          <short_desc>[FT] editorial: 2.3.1 Using Weights Within a Scored FTContainsExpr</short_desc>
          <delta_ts>2007-10-26 22:25:38 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>Full Text 1.0</component>
          <version>Last Call drafts</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Dyck">jmdyck</reporter>
          <assigned_to name="Pat Case">pcase</assigned_to>
          
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>15530</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2007-06-23 09:59:00 +0000</bug_when>
    <thetext>2.3.1 Using Weights Within a Scored FTContainsExpr

[1]
para 1
&quot;Syntactically weight declarations&quot;
    After &quot;Syntactically&quot;, insert a comma.

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

[3]
&quot;However, weight declarations must follow these rules:&quot;
    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]
&quot;1. Weights in an FTContainsExpr are significant only in relation to each
other&quot;
    [4a]
    Is it possible to detect if a scoring algorithm breaks this rule?

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

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

[5]
&quot;1. .... to each other; and&quot;
    s/; and/./ (for consistency with other points)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16546</commentid>
    <comment_count>1</comment_count>
    <who name="Jim Melton">jim.melton</who>
    <bug_when>2007-09-13 23:02:25 +0000</bug_when>
    <thetext>As decided in meeting #152 (the minutes of which are at the member-only URI http://lists.w3.org/Archives/Member/member-query-fttf/2007Sep/0005.html), items [1], [2], and [5] have been resolved. 

That leaves items [3], [4a], [4b], and [4c] remaining to be resolved. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17232</commentid>
    <comment_count>2</comment_count>
    <who name="Pat Case">pcase</who>
    <bug_when>2007-10-16 12:27:25 +0000</bug_when>
    <thetext>[3] The FTTF agreed. The text was reorganized as follows:
The weight MUST have an absolute value between 0.0 and 1000.0 inclusive.
The weights assigned are not related to any absolute standard, but typically have a relationship to other weights within the same FTContains expression.
The effect of weights on the resulting score is implementation-dependent. However, scoring algorithms MUST conform to these constraints:
1. When no explicit weight is specified, the default weight is 1.0; and
2. Weight declarations in an FTContainsExpr for which no scores are evaluated are ignored.
[4a]The FTTF agreed. We changed the sentence to:
The weights assigned are not related to any absolute standard, but typically have a relationship to other weights within the same FTContains expression. 
[4b] No change.
[4c] No change.

These changes will appear in the next build of the internal Full-Text language
after the October 11 build, and in the next public version. They close the last
items in this bug. 

Michael, if you approve of the changes, please mark the bug closed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>