Re: [pgsql-www] Same abstract for all search results - Mailing list pgsql-www

From Magnus Hagander
Subject Re: [pgsql-www] Same abstract for all search results
Date
Msg-id CABUevEzJdi4A3fLLQKOps_ojpfNK3oqUcKgGYVik70yUJ3UGtw@mail.gmail.com
Whole thread Raw
In response to [pgsql-www] Same abstract for all search results  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: [pgsql-www] Same abstract for all search results
List pgsql-www
On Fri, May 26, 2017 at 2:50 AM, Daniel Gustafsson <daniel@yesql.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.

pgsql-www by date:

Previous
From: Daniel Gustafsson
Date:
Subject: [pgsql-www] Same abstract for all search results
Next
From: Daniel Gustafsson
Date:
Subject: Re: [pgsql-www] Same abstract for all search results