1. A method comprising: consulting a query log; and automatically learning query rewrite rules based on data in the query log; said learning comprising obtaining click-through data present in the query log.