[Bug 2767] "phrase" option definition (FTWords)

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

           Summary: "phrase" option definition (FTWords)
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: All
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Full Text
        AssignedTo: sihem@research.att.com
        ReportedBy: joaquin.delgado@oracle.com
         QAContact: public-qt-comments@w3.org


In section 3.1.2 (FTWords) the following defines the "phrase" option:

"If the "phrase" option is specified, the sequence of words and phrases is 
used to create a single phrase by concatenating the words and phrases and 
interleaving whitespace. A match occurs, if and only if the resulting phrase 
is matched in the searched text."

According to the definition of word in the specs where we state that "Note 
that consecutive words *need not be separated by either punctuation or space*, 
and words may overlap" so it seams unreasonable to force interleaving of 
whitespace. Similarly a phrase was defined as: "... a sequence of ordered 
words", the rest being implementation dependent.

Thus it should be sufficient to restate more clearly that:

"If the "phrase" option is specified, all words and phrases are used to create 
a sequence of ordered words representing a new phrase. A match occurs, if and 
only if the resulting phrase is matched in the searched text."

Received on Wednesday, 25 January 2006 01:29:18 UTC