3 ms·
I want to know how to benchmark a search engine.
by amelius 5y ago
I want to know how to benchmark a search engine.
- chii 5y agoI'm sure there's tonnes of research and prior art on this subject, but it's an interesting inquiry. off the top of my head, there's two meaning - performance benchmarking (how fast the search results comes back), and accuracy/fit-for-purposeness benchmarking (how good it is at finding something the user intends). Performance is easy. It's the accuracy/fit-for-purposeness that would be an interesting benchmark. I wonder if you have to use an empirical measurement for accuracy - that is, give a random sample of people a target piece of code (or file) to find, and see how long or how many queries it takes to find it.
- toast0 5y agoFor quality, you really do need to do human qualititative measures to get a full measure, with all of the fun that involves. However, you can do things like generate search terms from your top N documents through some method, and then do the queries and confirm the document you generated the term from shows up in the top M results. This can be circular though if you're not careful; the top N documents may not include important documents that nobody could find.
- stevenbedrick 5y agoA good place to start might be the “Evaluation” chapter of Manning et al.‘a “Introduction to Information Retrieval”: https://nlp.stanford.edu/IR-book/html/htmledition/evaluation-in-information-retrieval-1.html https://nlp.stanford.edu/IR-book/html/htmledition/evaluation... The whole book is superb, and while some of the content is a bit long in the tooth at this point, the evaluation chapter has aged extremely well. Oh, and if you’re interested in how to evaluate search engine user interfaces, the equivalent chapter in Hearst’s book on Search UI has you covered: https://searchuserinterfaces.com/book/sui_ch2_evaluation.html https://searchuserinterfaces.com/book/sui_ch2_evaluation.htm...