[SQL] emulating sub-queries and search prformances
Ruslan Zasukhin
sunshine at public.kherson.ua
Tue Apr 1 00:12:55 CST 2003
on 3/31/03 7:20 PM, Antoine Beyeler at globule at vtx.ch wrote:
>>> I'm working with VDK_Text method, and I couldn't find how to obtain a
>>> BitSet with a one word index based query.
>>>
>>> bitSet = text.Find("MAN");
>>> bitSet->GetCount();
>>>
>>> gives 0 results, while
>>>
>>> bitSet = text.SearchLike("MAN");
>>>
>>> gives the correct amount of result, but is very slow since it is not
>>> index based.
>>>
>>> With VDK_String, "Find" is working well. In short, the "Find" function
>>> seems not to be implemented in VDK_Text, which is a major problem for
>>> me. Can you think of a workaround??
>>
>> It must work, because Valentina SQL can do this, correct?
>>
>> I will look into sources now
>>
>
> Note that VDK_String overload the Find function with const char*
> parameters (the VDK_Field version is const void*), while VDK_Text _do
> not_ declare such function...
Yes, I have note this...
Can you make simple test for me on this?
You can modify Example1 I think.
--
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://listserv.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------
More information about the Valentina
mailing list