Investigate alternative improvements in pgtextindex ranking

Bug #773510 reported by Paul Everitt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL3
Fix Released
Low
Chris Rossi

Bug Description

We have discussed ways to dramatically alter the relevance based on information outside the title/text. Examples:

- If someone tags a resource with "password" and a search is done with a searchterm that stems/synonyms to "password", give it a higher relevance than a word matching in the title

- A profile for someone who is a staff member should show up before a profile for an affiliate

- A resource authored by a staff member should show up before a resource authored by an affiliate

- Some tags (e.g. "london") could be promoted to "managed tags" aka topics which give them an even higher score

All of these are hypothetical. We will likely take whatever is reasonable with the machinery. Some machinery which could be investigated:

- Reflecting tag information into a column for "tags" similar to "title" and "text", and just giving that input source a higher weight during indexing (just like title does currently)

- Using more than one index and finding a way to normalize ranking across results, perhaps using a server-side function

- Changing the ranking functions as hinted at in "Different applications might require additional information for ranking, e.g., document modification time. The built-in ranking functions are only examples. You can write your own ranking functions and/or combine their results with additional factors to fit your specific needs."

Tags: r3.65
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

See the various chapter sections (prev/next) at http://durak.org/sean/pubs/software/postgresql/textsearch-controls.html

Changed in karl3:
milestone: m55 → m56
Changed in karl3:
milestone: m61 → m62
milestone: m62 → m61
tags: added: r3.65
Changed in karl3:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.