Re: [aseek-users] excerpts found in non-unicode version

From: Kir Kolyshkin (no email)
Date: Thu Oct 23 2003 - 12:47:06 EDT


Fernando,

Could you use the 'patch' tool to generate unified diffs from your changes
and send them to aseek-devel@ list for approval?

Fernando Nemec wrote:
> 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
>
>
>
>

-- 
== kir_at_asplinux.ru == 7551596_at_ICQ == 6722750_at_sms.beemail.ru ==
There are two ways of constructing a software design.  One way is to make
it so simple that there are obviously no deficiencies and the other is to
make it so complicated that there are no obvious deficiencies.
					- Charles Anthony Richard Hoare







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD