Re: [SQL] Weighted Searching

2000-09-12 Thread Oleg Bartunov
We did fulltext search using relevancy function implemented as SPI postgres mechanism. We use coordinate information of words in text to calculate weights. I'm harry right now, because is going to airport, sorry, couldn't give any details. Regards, Oleg On Tue, 12 Sep 20

Re: [SQL] Weighted Searching

2000-09-12 Thread Josh Berkus
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

Re: [SQL] Weighted Searching

2000-09-12 Thread Stephan Szabo
I'm not sure how fast it is, but something like this would work, right? WHERE (CASE WHEN degree='MBA' THEN 10 ELSE 0 END + CASE WHEN years_experience='5' THEN 10 ELSE 0 END _ CASE WHEN location_state='Arizona' THEN 10 ELSE 0 END) >=20 Also, wouldn't you usually want to be searching where the w