Page 1 of 1

building an abstract

Posted: Fri Jul 23, 2004 9:30 pm
by tony.malandain
Hi,

I'm having some difficulties understanding how the abstract function works.
I want to make an abstract of a text field based on 2 keywords.
If I do: abstract(TextField, 0,1, 'keyword1'), it generates an abstract containing the keyword1.
The same goes for keyword2.
But if I do abstract(TextField, 0,1, 'keyword1 keyword2'), then the abstract generated contains neither of them.
Why is that? Shouldn't it at least contain 1 of the keywords?

Thanks,
/Tony.

building an abstract

Posted: Sat Jul 24, 2004 3:50 pm
by John
It depends on how far apart the keywords are in the text. Currently if the best match has the keywords far apart you are likely to get the text in between the keywords, which if the abstract is shorter will not contain either.