[SQL] emulating sub-queries and search prformances
Antoine Beyeler
globule at vtx.ch
Mon Mar 31 18:20:28 CST 2003
On Lundi, mars 31, 2003, at 17:31 Europe/Zurich, Ruslan Zasukhin wrote:
> on 3/31/03 5:40 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...
Best regards,
Antoine Beyeler
More information about the Valentina
mailing list