chnm / serendipomatic

http://serendipomatic.org/
26 stars 9 forks source link

API query results should be mixed in order so the page is properly varied #40

Open mialondon opened 11 years ago

mialondon commented 11 years ago

See also https://github.com/chnm/petulant-adventure/issues/48

moltude commented 11 years ago

Would it be possible to fetch a random offset from each of the three api calls? This might produce a more varied result set than shuffling the first 30 results (10 from each service).

Even if we randomize the search terms that are being passed because we are weighting the people and place named entities I'm not sure if there will be enough variety of terms to create a real sense of 'serendipity' when the refresh or shuffle their results (it may continue to be the same top 30-50 being shuffled over and over).

Fetching from an offset will bubble some of the results that could get buried in the top N results when are sorted by relevancy. Perhaps fetching some kind combination of top N and offset P from each of the services could produce both relevant and random results..

Thoughts?

mialondon commented 11 years ago

That'd definitely worth exploring. Is there a way we can brainstorm ideas for magic box improvements together in chat or skype?