proximity search

Charles Yeomans yeomans at desuetude.com
Sat Jul 23 12:43:00 CDT 2005


On Jul 23, 2005, at 12:34 PM, John W. Miescher wrote:

> Thanks for a very useful tip from Juan Suros.
> I am now trying to reduce it all to a clever REGEX algorithm. 
> However...
>
> Is there an easy way to isolate the searched for word directly from all
> found strings? In other terms I'm searching for the word 'apple' which
> appears inside numerous strings in the searched field (apple juice,
> apple pie, sandwhich with apples, raw apple etc.)?
>

if you index the field by words, then you can search for "apple" and 
get back fields like "apple crisp", "apple jack", "bad apple", "apple 
of my eye", "brie and apple sandwich", etc.

--------------
Charles Yeomans



More information about the Valentina mailing list