CPC G06F 16/24578 (2019.01) [G06F 8/36 (2013.01)] | 14 Claims |
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.
|