Re: Searching in a long text
| From: | Andrew Ballard | Date: | Sat, 03 Jan 2009 20:35:44 +0000 |
| Subject: | Re: Searching in a long text | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-285414@lists.php.net to get a copy of this message | ||
On Sat, Jan 3, 2009 at 4:28 AM, Yeti <yeti@myhich.com> wrote:
> What if the whole text has only 1 line?
>
I would worry more (though probably not much) about the fringe cases
where a match spans across lines (or pages) such that it would either
prevent a qualifying match from being returned at all, or a highly
relevant result could be returned at the bottom of the list as two
less-relevant results because of the line split.
Andrew