Hello,
How would you suggest approaching a sort algorithm for search results / outputs beyond simply sorting by a given field? My form will be querying & filtering a directory based on a dozen inputs and I would like the end output to be sorted by relevance to a weighting of the various inputs rather than a single variable.
Is there a way to calculate a relevance score in the background, for each of the directory listings, as a function of the inputs?
Thanks for any help or guidance you can offer. Feel free just to point me in the right direction and I'll explore the options. I don't have a coding background but am pretty handy at figuring these things out.
Cheers,
Colin
How would you suggest approaching a sort algorithm for search results / outputs beyond simply sorting by a given field? My form will be querying & filtering a directory based on a dozen inputs and I would like the end output to be sorted by relevance to a weighting of the various inputs rather than a single variable.
Is there a way to calculate a relevance score in the background, for each of the directory listings, as a function of the inputs?
Thanks for any help or guidance you can offer. Feel free just to point me in the right direction and I'll explore the options. I don't have a coding background but am pretty handy at figuring these things out.
Cheers,
Colin