On anonymizing query logs via token-based hashing. Kumar, R., Novak, J., Pang, B., & Tomkins, A. In WWW '07: Proceedings of the 16th international conference on World Wide Web, pages 629–638, New York, NY, USA, 2007. ACM Press.
On anonymizing query logs via token-based hashing [link]Paper  doi  bibtex   
@inproceedings{citeulike:1290922,
  added-at = {2009-08-06T15:16:38.000+0200},
  address = {New York, NY, USA},
  author = {Kumar, Ravi and Novak, Jasmine and Pang, Bo and Tomkins, Andrew},
  biburl = {https://www.bibsonomy.org/bibtex/2b81689fa019e491471f1dbfc142225e9/chato},
  booktitle = {WWW '07: Proceedings of the 16th international conference on World Wide Web},
  citeulike-article-id = {1290922},
  citeulike-linkout-0 = {http://portal.acm.org/citation.cfm?id=1242572.1242657},
  citeulike-linkout-1 = {http://dx.doi.org/10.1145/1242572.1242657},
  doi = {10.1145/1242572.1242657},
  interhash = {c4673af61745108df090458d7eee693b},
  intrahash = {b81689fa019e491471f1dbfc142225e9},
  isbn = {9781595936547},
  keywords = {adversarial-ir, queries},
  pages = {629--638},
  posted-at = {2007-05-12 00:29:34},
  priority = {1},
  privnote = {Uses a substitution cipher (at the level of words) to encode the queries, then breaks it.

Not just exploiting frequency of terms, but use co-occurrence.

Start with a guess, then update the guess by looking at the co-occurrence matrices (in the hashed query log and a raw query log used for training). It's better to start with a guess based on queries than with a random one.

Accuracy is better on the top 1,000 terms by frequency (almost perfect), then goes down and drops to 70\% after 16,000 terms.},
  publisher = {ACM Press},
  timestamp = {2009-08-06T15:16:48.000+0200},
  title = {On anonymizing query logs via token-based hashing},
  url = {http://dx.doi.org/10.1145/1242572.1242657},
  year = 2007
}

Downloads: 0