building an abstract

Post Reply
tony.malandain
Posts: 57
Joined: Sat Mar 27, 2004 6:39 pm

building an abstract

Post 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.
User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

building an abstract

Post 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.
John Turnbull
Thunderstone Software
Post Reply