23/10/2003 15:14 aspseek non-unicode version didn't return any excerpt if query is found only in document's title. The correct behavior is show the first couple of lines, to gave an idea of what the document is about. --- daemon.cpp Fri Jul 19 12:02:10 2002 +++ /usr/src/aspseek-1.2.10-patched/src/daemon.cpp Thu Oct 23 14:57:30 2003 @@ -763,6 +763,11 @@ #ifdef UNICODE doc.RecodeTo(m_outCharset); doc.GetHilightPos(m_outCharset, *m_lightWords); +#else +// 22/10/2003 21:05 - fnemec + if (!doc.m_excerpts.size()){ + doc.m_excerpts.push_back(doc.m_text); + } #endif doc.Send(m_socket); }