US 11,809,436 B2
Source code search engine
Shruti Poddar, Hyperabad (IN); and Neeraj Makam, Hyperabad (IN)
Assigned to MICROSOFT TECHNOLOGY LICENSING, LLC., Redmond, WA (US)
Filed by Microsoft Technology Licensing LLC., Redmond, WA (US)
Filed on Oct. 29, 2021, as Appl. No. 17/515,381.
Application 17/515,381 is a continuation of application No. 15/268,080, filed on Sep. 16, 2016, granted, now 11,176,144.
Prior Publication US 2022/0050850 A1, Feb. 17, 2022
Int. Cl. G06F 16/24 (2019.01); G06F 16/2457 (2019.01); G06F 8/36 (2018.01)
CPC G06F 16/24578 (2019.01) [G06F 8/36 (2013.01)] 14 Claims
OG exemplary drawing
 
1. A system, comprising:
at least one processor; and
at least one memory device communicatively coupled to the at least one processor;
wherein the memory includes instructions that when executed on the at least one processor perform actions that:
search a source code repository for one or more source code files having at least one term from a query, wherein each of the one or more source code files having a file type;
compute a rank score for each of the one or more source code files having the at least one term from the query, wherein the rank score is based on an accumulation of term scores for each term in the query, wherein the term score is based on a frequency of each term used in a particular code type;
compare the rank scores for each of the one or more source code files;
upon two or more source code files having a same rank score, apply a second score to the rank score of each of the two or more source code files, wherein the second score is based on a frequency of the at least one term relative to a number of words in a select one of the two or more source code files having the same rank score and based on a number of documents searched relative to a number of documents with an occurrence of the at least one term; and
rank search results for the query based on the rank scores.