Julian,
I cannot confirm this in AS5 (German edition). See the small JULIAN.ASK I
mailed to to you.
Given a notes[ field that contains entries like...
notes[ Antony Bertha Conny
notes[ 1 2
{count} commands like this will output...
{count} notes[ = 2 All documents with two entries in notes[
{count} notes[ > 2 All documents with more than two entries in notes[
You have to insert a blank space between field-name, operator and the
numeric search. Omitting the blank space, will provide erratic results.
Yours, Flo
----------------------------------------------------------
Now also join the German askSam forum at http://ratman.at
(see Interaktiv --> Foren --> Besondere Foren --> AskSam)
Postings in English are highly appreciated as well !
----------------------------------------------------------
On Fri, 7 Feb 2003 03:06:00 +0100, JulianFlor <[log in to unmask]>
wrote:
>Hello to all
>
>I just found out, that the count-command does not work properly.
>
>In order to locate fields with more than one word/number in it, we
>had that old the command called {count}
>
>{count} last_name[ > 1
>
>But: In asksam 5.1 this does'nt work (don't know if AS 4xx behaved
>differently)
>
>When doing a search like this:
>{count} name[ = 2
>
>I only get an error message
>BUT:
>{count} name[ =2
>
>that is, with the "2" immediately following the =-sign (without a
>space),
>askSam outputs the content of that field (from ANY document no matter
>how many words it contains).
>
>But in the same database there is a field called "pos" (position)
>where the command works correctly:
>the only document with that field containing TWO numbers (1 2) is
>output - which is correct:
>
>{count} pos[ = 2
>
>(WITH a space between!)
>
>Any idea?
>
>Julian
|