Re: Same abstract for all search results

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>
Subject: Re: Same abstract for all search results
Date: 2017-05-26 14:31:31
Message-ID: CABUevEzJdi4A3fLLQKOps_ojpfNK3oqUcKgGYVik70yUJ3UGtw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On Fri, May 26, 2017 at 2:50 AM, Daniel Gustafsson <daniel(at)yesql(dot)se> wrote:

> The search results abstract seems to recently have become the same for
> every
> search hit, I get this for each hit:
>
> <div>...Search Documentation:
> Home
> Documentation
> Manuals
> PostgreSQL devel
> (2017-05-25 00:42:18)
> This page...</div>
>
> Not sure when that happened but I’m pretty sure we had more relevant
> content
> there previously? Also no obvious commits in pgweb that shed more light
> on it.
>

It seems that got broken when we deployed the new tsearch parser from
pgpro, but the fault wasn't in that one. We ended up with a mismatch of
tsconfigs on the updates vs the searches. Meaning it worked fine as long as
you only searched for "normal words" which would end up being the same
using the old and the new parser, but fail when it didn't. At least that's
my analysis.

I've deployed a fix now, so it should work. Please confirm if it works with
your test case as well.

--
Magnus Hagander
Me: https://www.hagander.net/ <http://www.hagander.net/>
Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>

In response to

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Daniel Gustafsson 2017-05-26 14:53:18 Re: Same abstract for all search results
Previous Message Daniel Gustafsson 2017-05-26 06:50:38 Same abstract for all search results