virtuals fields / ViSQL

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Jan 14 15:08:23 CST 2005


On 1/14/05 2:15 PM, "Olivier" <vidal_olivier at yahoo.fr> wrote:

>>> string1=new vstring("string1",38,EVflag.fIndexByWords)
>>> string2=new vstring("string2",38,EVflag.fIndexed,"string1")
>> 
>> 
>> This will be correct
>> 
>> string1=new vstring("string1",38, EVflag.fIndexed +
>> EVflag.fIndexByWords)
>> string2=new vstring("string2",38,EVflag.fIndexed,"string1")
>> 
>> 
>> String1 - is indexed AND index is by words
>> String2 - is indexed and it is method
>> 
> 
> ok, that's works.
> But I does not understand why it needs there to put "string1" indexed.

Because Valentina 2.0 little differ.

If you set only flag fIndexByWords this not means yet create index.

Valentina 2.0 now can do searches on NON-indexed fields.
So to really build index, you need explicitly say: fIndexed.



-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------




More information about the Valentina-beta mailing list