Print

Print


> Date: Fri, 7 Jan 2005 14:19:16 -0000
> From: "Matthew J. Dovey" <[log in to unmask]>
>
> If
>
> /explain/configInfo/default[@type='index']
>
> Were say "title" then the two CQL queries
>
> "lord rings"
> and
> "2004"
>
> Would be equivalent to
>
> title "lord rings"
> and
> title "2004"
>
> But that the queries
>
> cql.serverchoice "lord rings"
> cql.serverchoice "2004-12-24"
>
> Might involve some "clever" analysis of the term by the server, and in a
> particular implementation might be equivalent to
>
> title "lord rings"
> date "2004-12-24
>
> i.e. the index chosen by omission is consistently interpreted
> independently of the term, but by serverChoice may vary depending on the
> term.

Nope.  _By definiton_, cql.serverChoice does the same thing as you get
by not specifying an index at all.  If cql.serverChoice is allowed to
choose which index to use based on the term it's associated with, as
you exemplify above (and I think it should be allowed to) then
query-terms with no index explicitly specified may do likewise.  Which
implies that /explain/configInfo/default[@type='index'] is at best
misleading.

 _/|_    _______________________________________________________________
/o ) \/  Mike Taylor  <[log in to unmask]>  http://www.miketaylor.org.uk
)_v__/\  "Now I lay me down to bed / Darkness won't engulf my head /
         I can see by intra-red / How I hate the night" -- Marvin
         the Android, "Hitch-hiker's Guide to the Galaxy"

--
Listen to free demos of soundtrack music for film, TV and radio
        http://www.pipedreaming.org.uk/soundtrack/