Ok, this might sound simple but am not sure what to do.
I am running PHP 5.3.x and this is what I want to do. I know the find() command. but I am not sure how to rank the returned JSON.
here is how we store our blog
{
"title":"this is a title";
"body":"this is the body";
"author":"ROB"
"keywords":[{'auto';'music';'fun'}]
"country":"USA"
"dateadded":"07-11-2011";
}
what I want to do is the following order Keyword match 100% - 0% Author if author has talked about this keyword a lot there posts go higher up title search score 1 (Meaning matches what user is searching order that by date newest to oldest
please let me know if this is possible.