[Bug 6946] [FT] Test Suite - Wildcards

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 UTC