skip to main content
10.1145/2348283.2348333acmconferencesArticle/Chapter ViewAbstractPublication PagesirConference Proceedingsconference-collections
research-article

Supporting efficient top-k queries in type-ahead search

Published:12 August 2012Publication History

ABSTRACT

Type-ahead search can on-the-fly find answers as a user types in a keyword query. A main challenge in this search paradigm is the high-efficiency requirement that queries must be answered within milliseconds. In this paper we study how to answer top-k queries in this paradigm, i.e., as a user types in a query letter by letter, we want to efficiently find the k best answers. Instead of inventing completely new algorithms from scratch, we study challenges when adopting existing top-k algorithms in the literature that heavily rely on two basic list-access methods: random access and sorted access. We present two algorithms to support random access efficiently. We develop novel techniques to support efficient sorted access using list pruning and materialization. We extend our techniques to support fuzzy type-ahead search which allows minor errors between query keywords and answers. We report our experimental results on several real large data sets to show that the proposed techniques can answer top-k queries efficiently in type-ahead search.

References

  1. H. Bast, A. Chitea, F. M. Suchanek, and I. Weber. Ester: efficient search on text, entities, and relations. In SIGIR, pages 671--678, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. H. Bast and I. Weber. Type less, find more: fast autocompletion search with a succinct index. In SIGIR, pages 364--371, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. H. Bast and I. Weber. The completesearch engine: Interactive, efficient, and towards ir & db integration. In CIDR, pages 88--95, 2007.Google ScholarGoogle Scholar
  4. S. Chaudhuri, V. Ganti, and R. Kaushik. A primitive operator for similarity joins in data cleaning. In ICDE, pages 5--16, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. S. Chaudhuri and R. Kaushik. Extending autocompletion to tolerate errors. In SIGMOD Conference, pages 707--718, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. R. Fagin, A. Lotem, and M. Naor. Optimal aggregation algorithms for middleware. In PODS, pages 102--113, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. J. Fan, G. Li, and L. Zhou. Interactive SQL query suggestion: Making databases user-friendly. ICDE, pages 351--362, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. J. Feng, and G. Li. Efficient Fuzzy Type-Ahead Search in XML Data. IEEE TKDE, 24(5):882--895, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. K. Grabski and T. Scheffer. Sentence completion. In SIGIR, pages 433--439, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. L. Gravano, P. G. Ipeirotis, H. V. Jagadish, N. Koudas, S. Muthukrishnan, and D. Srivastava. Approximate string joins in a database (almost) for free. In VLDB, pages 491--500, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. M. Hadjieleftheriou, A. Chandel, N. Koudas, and D. Srivastava. Fast indexes and algorithms for set similarity selection queries. In ICDE, pages 267--276, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. I. F. Ilyas, G. Beskales, and M. A. Soliman. A survey of top-k query processing techniques in relational database systems. ACM Comput. Surv., 40(4), 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. S. Ji, G. Li, C. Li, and J. Feng. Efficient interactive fuzzy keyword search. In WWW, pages 371--380, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. N. Khoussainova, Y. Kwon, M. Balazinska, and D. Suciu. Snipsuggest: Context-aware autocompletion for sql. PVLDB, 4(1):22--33, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. K. Kukich. Techniques for automatically correcting words in text. ACM Comput. Surv., 24(4):377--439, 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. H. Lee, R. T. Ng, and K. Shim. Extending q-grams to estimate selectivity of string matching with low edit distance. In VLDB, pages 195--206, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. C. Li, J. Lu, and Y. Lu. Efficient merging and filtering algorithms for approximate string searches. In ICDE, pages 257--266, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. G. Li, J. Feng, and C. Li. Supporting search-as-you-type using sql in databases. IEEE TKDE, 2012.Google ScholarGoogle Scholar
  19. G. Li, S. Ji, C. Li, and J. Feng. Efficient type-ahead search on relational data: a tastier approach. In SIGMOD Conference, pages 695--706, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. G. Li, S. Ji, C. Li, and J. Feng. Efficient fuzzy full-text type-ahead search. VLDB J., 20(4):617--640, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. N. Mamoulis, K. H. Cheng, M. L. Yiu, and D. W. Cheung. Efficient aggregation of ranked inputs. In ICDE, page 72--83, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. H. Motoda and K. Yoshida. Machine learning techniques to make computers easier to use. Artif. Intell., 103(1--2):295--321, 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. A. Nandi and H. V. Jagadish. Effective phrase prediction. In VLDB, pages 219--230, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. J. Qin, W. Wang, Y. Lu, C. Xiao, and X. Lin. Efficient exact edit similarity query processing with the asymmetric signature scheme. In SIGMOD Conference, pages 1033--1044, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. M. Theobald, R. Schenkel, and G. Weikum. Efficient and self-tuning incremental query expansion for top-k query processing. In SIGIR, pages 242--249, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. H. E. Williams, J. Zobel, and D. Bahle. Fast phrase querying with combined indexes. ACM TOIS, 22(4):573--594, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Supporting efficient top-k queries in type-ahead search

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      SIGIR '12: Proceedings of the 35th international ACM SIGIR conference on Research and development in information retrieval
      August 2012
      1236 pages
      ISBN:9781450314725
      DOI:10.1145/2348283

      Copyright © 2012 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 12 August 2012

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader