Hi all,
To fix that, I changed daemon.cpp, CSearchContext::ProcessCommands:
=~ line 765...
I replace this:
#ifdef UNICODE
doc.RecodeTo(m_outCharset);
doc.GetHilightPos(m_outCharset, *m_lightWords);
#endif
doc.Send(m_socket);
for this:
#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);
Thanks,
Nemec
Tuesday, October 21, 2003, 3:56:22 PM, you wrote:
> Hi everyone,
> I compiled non-unicode version of aspseek 1.2.10 on a RedHat 7.2,
> using mysql 3.23.39.
> When I turn off excerpts feature, s.cgi doesnt return any excerpt.
> Manual says that the document's first couple of lines will be return.
> Is this feature turned off in non-unicode version?
> Thanks,
> Nemec
--
[]s
Fernando Nemec
[EMAIL PROTECTED]
http://www.folha.com.br/