How to evaluate a search engine?

ahmed picture ahmed · Oct 1, 2009 · Viewed 7.9k times · Source

I am a student carrying out a study to enhance a search engine's existing algorithm.

I want to know how I can evaluate the search engine - which I have improved - to quantify how much the algorithm was improved.

How should I go about comparing the old and new algorithm?

Thanks

Answer

ire_and_curses picture ire_and_curses · Oct 1, 2009

This is normally done by creating a test suite of questions and then evaluating how well the search response answers those questions. In some cases the responses should be unambiguous (if you type slashdot into a search engine you expect to get slashdot.org as your top hit), so you can think of these as a class of hard queries with 'correct' answers.

Most other queries are inherently subjective. To minimise bias you should ask multiple users to try your search engine and rate the results for comparison with the original. Here is an example of a computer science paper that does something similar:

http://www.cs.uic.edu/~liub/searchEval/SearchEngineEvaluation.htm

Regarding specific comparison of the algorithms, although obvious, what you measure depends on what you're interested in knowing. For example, you can compare efficiency in computation, memory usage, crawling overhead or time to return results. If you are trying to produce very specific behaviour, such as running specialist searches (e.g. a literature search) for certain parameters, then you need to explicitly test this.

Heuristics for relevance are also a useful check. For example, when someone uses search terms that are probably 'programming-related', do you tend to get more results from stackoverflow.com? Would your search results be better if you did? If you are providing a set of trust weightings for specific sites or domains (e.g. rating .edu or .ac.uk domains as more trustworthy for technical results), then you need to test the effectiveness of these weightings.