W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2010

Re: [FT] FTThesaurusOption and "default"

From: Mary Holstege <mary.holstege@marklogic.com>
Date: Tue, 16 Nov 2010 09:48:12 -0800
To: public-qt-comments@w3.org
Message-ID: <op.vl9yemm6fi7tae@hp8440-1069.marklogic.com>

> Is:
> 	declare ft-option using no thesaurus;
>	.//book/content contains text "duty"
> 	using thesaurus default
>equivalent to:
>	.//book/content contains text "duty"
> 	using no thesaurus


In section "3.4.3" is says:
> When "default" is used in place of a FTThesaurusID, the thesauri 
> specified in the static context are used, which are either givenby the  
> prolog declaration for the thesaurus option, or, if nosuch declaration  
> exists a system-defined default thesauruswith a system-defined  
> relationship.

Since query #1 had a thesaurus prolog option, the "which are either
given by the prolog declaration for the thesaurus option" applies
and it says that the default to use is "no thesaurus".  Query #2
says directly "no thesaurus".

For the WG,

Received on Tuesday, 16 November 2010 17:48:41 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:44 UTC