From: | Josh Berkus <josh(at)agliodbs(dot)com> |
---|---|
To: | Mitch Vincent <mitch(at)venux(dot)net>, sqllist <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: Weighted Searching |
Date: | 2000-09-12 19:51:15 |
Message-ID: | 39BE8933.85875E2@agliodbs.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-sql |
Mr. Vincent,
> I emailed the list a while back about doing some weighted searching, asking
> if anyone had implemented any kind of weighted search in PostgreSQL.. I'm
> still wondering the same thing and if anyone has, I would greatly appreciate
> a private email, I'd like to discuss it in detail.. I have several ideas but
> most of them are pretty dirty and slow..
You really need to do this in PLSQL, Perl or C because there isn't any
good way to implement weighting in pure SQL -- weighting is a
procedureal thing.
I'm currently in the process of designling an HR app that will use quite
elaborate weighting scheme. Candidates are compared against job
openings and the matches are weighted according to the degree of
similarity (e.g. Job A requires 5 years of experience and the candidate
has 4 or -20% for a weight of -1 but he is in the right location for a
weight of +2 etc.) with the summary of weights to be fudged by the user
according to what s/he considers most important for the job (location,
skills, etc.
I'm not done but I expect this function to be 4-5 pages of PL-SQL.
Fuzzy logic eats processing power. I'll be open-sourcing the program in
December, but you probably can't wait that long.
I'd be interested to hear from anyone who's written a web search
engine. It seems to me that the algorithm for, say, google should be
fairly similar to what I'm doing for HR.
-Josh Berkus
--
______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology josh(at)agliodbs(dot)com
and data management solutions (415) 436-9166
for law firms, small businesses fax 436-0137
and non-profit organizations. pager 338-4078
San Francisco
From | Date | Subject | |
---|---|---|---|
Next Message | Zlatko Calusic | 2000-09-12 20:34:41 | Re: Another problem with indices? |
Previous Message | Barry Lind | 2000-09-12 17:16:18 | [Fwd: problem with LIKE and '/%'] |
From | Date | Subject | |
---|---|---|---|
Next Message | Frank Bax | 2000-09-13 00:40:56 | Re: making two columns out of one |
Previous Message | Jie Liang | 2000-09-12 18:52:34 | Odd stuff |