Hi,

I want to display my results in google-style "...snippet...snippet...", except 
I need to be able to determine if a snippet is at the beginning or the end of 
the content to tell whether or not to add leading/trailing "..."s

At the moment, I'm using string comparison with the content field, but that's 
messy and very inefficient - is there any other way I can get the location of 
the snippet within the content?

Also, if I can get this, I think I'd also need to get the length of the content 
(again without having to actually return the content itself) to determine if 
the snippet was at the end?

Many thanks!

Reply via email to