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

[Bug 6946] [FT] Test Suite - Wildcards

From: <bugzilla@wiggum.w3.org>
Date: Mon, 08 Jun 2009 16:34:59 +0000
To: public-qt-comments@w3.org
Message-Id: <E1MDhoJ-0005GX-W4@wiggum.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6946


Michael Dyck <jmdyck@ibiblio.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdyck@ibiblio.org




--- Comment #1 from Michael Dyck <jmdyck@ibiblio.org>  2009-06-08 16:34:59 ---
> Indeed the "ftusecases.xml" documents contains the substring "task?",
> "specialist.", and "next?". However, if the full-text tokenizer interprets
> periods as sentence delimiters, and not as parts of tokens, the periods will
> not be passed on to the wildcard evaluator. This is why both of the following
> queries
> 
>   "task?" ftcontains "task?",
>   "task?" ftcontains "task?" with wildcards
> 
> will lead to the internal comparison "task" <-> "task?", and will both return
> false.

But note that tokenization is applied, not just to the search item, but also to
the query strings. If the latter's tokenization also interprets punctuation as
token-delimiters, then the internal comparison will be
    "task" <-> "task"
and the queries will return true.

By the way, did you intend "with wildcards" for cases [2] and [3]?


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 8 June 2009 16:35:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 8 June 2009 16:35:07 GMT