IndexbyWords // Vstring.SplitToWords( text as string)

Ed Kleban Ed at Kleban.com
Sun Nov 20 10:43:54 CST 2005


>  
>> Unfortunately it turns out that "words" as defined by SplitToString include
>> "." and exclude "_".
> 
> I believe they follow natural language rules.
> 
>> The later is unfortunate for my application.  The
>> former seems to be unfortunate for most every application I can think of
>> that might want to otherwise use IndexedByWords.
> 
> right
> 
>> It's not good for prose,
>> verse, or code since "foo" and "foo." and ".foo" would all parse out to be
>> different search terms.  That is unless a search for "foo" would return
>> entries that included all three of these (and other) combinations.  I'll
>> have to go back and read the fine print on query for IndexedByWords fields.
> 
> Add feature request :-)

Done.




More information about the Valentina mailing list