Re: [PHP] searching and sorting

2005-01-19 Thread Richard Lynch
> I agree. That is a wise statement, and I have tried to do this with > regular > expressions but this doesn't deal with relevance at all, or is there > something that I am missing? I suppose I could do multiple searches on my > data to look for "sports cars" first, "cars" second, and "sports" last

Re: [PHP] searching and sorting

2005-01-19 Thread John Hicks
Michael Sims wrote: Richard Lynch wrote: Brian A. Anderson wrote: [...] I am thinking of incrementally adding the resultant hits into two associative arrays with the link to the data and a calculated relevance value, and sorting this array by these relevences. [...] One Axiom:

RE: [PHP] searching and sorting

2005-01-18 Thread Michael Sims
Richard Lynch wrote: > Brian A. Anderson wrote: [...] >> I am thinking of incrementally adding the resultant hits into two >> associative arrays with the link to the data and a calculated >> relevance value, and sorting this array by these relevences. [...] > One Axiom: Keep as much of the scoring/

Re: [PHP] searching and sorting

2005-01-18 Thread Brian A. Anderson
Quoting: "Richard Lynch" <[EMAIL PROTECTED]> > Unless you KNOW your site will get loads of traffic from the get-go, I'd > focus more on the SIMPLE solutions that you can maintain as a beginner. Quoting: "Richard Lynch" > Unless you KNOW your site will get loads of traffic from the get-go, I'

Re: [PHP] searching and sorting

2005-01-18 Thread Richard Lynch
Brian A. Anderson wrote: > I am new(relatively) to php programing and searching. I am trying to > understand the best way to access data and deliver results to searches on > a > product catalog website. > > I have two kinds of data that I am sorting and displaying results for. The > first is info a

[PHP] searching and sorting

2005-01-18 Thread Brian A. Anderson
I am new(relatively) to php programing and searching. I am trying to understand the best way to access data and deliver results to searches on a product catalog website. I have two kinds of data that I am sorting and displaying results for. The first is info about specific products, and the other