mlsanityData to 14 Oct 2026

Query Expansion Based on Crowd Knowledge for Code Search

arXiv 1703.01443 ↗First posted 4 Mar 2017cs.SEcited by 18

Not on the map. Why?

Abstract (arXiv)

As code search is a frequent developer activity in software development practices, improving the performance of code search is a critical task. In the text retrieval based search techniques employed in the code search, the term mismatch problem is a critical language issue for retrieval effectiveness. By reformulating the queries, query expansion provides effective ways to solve the term mismatch problem. In this paper, we propose Query Expansion based on Crowd Knowledge (QECK), a novel technique to improve the performance of code search algorithms. QECK identifies software-specific expansion words from the high quality pseudo relevance feedback question and answer pairs on Stack Overflow to automatically generate the expansion queries. Furthermore, we incorporate QECK in the classic Rocchio's model, and propose QECK based code search method QECKRocchio. We conduct three experiments to evaluate our QECK technique and investigate QECKRocchio in a large-scale corpus containing real-world code snippets and a question and answer pair collection. The results show that QECK improves the performance of three code search algorithms by up to 64 percent in Precision, and 35 percent in NDCG. Meanwhile, compared with the state-of-the-art query expansion method, the improvement of QECK Rocchio is 22 percent in Precision, and 16 percent in NDCG.

Key facts. Cited by 18 papers in the map (data through 14 Oct 2026). First posted on arXiv 4 Mar 2017.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2021: 4; 2022: 6; 2023: 3; 2024: 1; 2025: 1; 2026: 3.

18 papers.

Sort:

By area:

  1. 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 399
  2. 2021CoSQA: 20,000+ Web Queries for Code Search and Question Answeringcited by 75
  3. 2022CoCoSoDa: Effective Contrastive Learning for Code Searchcited by 22
  4. 2022CodeRetriever: Unimodal and Bimodal Contrastive Learning for Code Searchcited by 21
  5. 2023Backdooring Neural Code Searchcited by 19
  6. 2024Rewriting the Code: A Simple Method for Large Language Model Augmented Code Searchcited by 17
  7. 2022Code Search based on Context-aware Code Translationcited by 14
  8. 2023Rethinking Negative Pairs in Code Searchcited by 14
  9. 2022Exploring Representation-Level Augmentation for Code Searchcited by 8
  10. 2022Multi-View Graph Representation for Programming Language Processing: An Investigation into Algorithm Detectioncited by 6
  11. 2021Automated Query Reformulation for Efficient Search based on Query Logs From Stack Overflowcited by 4
  12. 2026CodeScout: Contextual Problem Statement Enhancement for Software Agentscited by 4
6 more
  1. 2021BERT2Code: Can Pretrained Language Models be Leveraged for Code Search?cited by 2
  2. 2021A Systematic Review of Automated Query Reformulations in Source Code Searchcited by 2
  3. 2025OASIS: Order-Augmented Strategy for Improved Code Searchcited by 2
  4. 2022AstBERT: Enabling Language Model for Financial Code Understanding with Abstract Syntax Treescited by 1
  5. 2026Beyond Static: Related Questions Retrieval Through Conversations in Community Question Answeringcited by 0
  6. 2026XSearch: Explainable Code Search via Concept-to-Code Alignmentcited by 0