fork of https://github.com/sourcegraph/zoekt
0

Configure Feed

Select the types of activity you want to include in your feed.

boost graphql types in results (#659)

Because "type" in scip-ctags matches so much we can't boost it as high
as we do for classes/structs in our language specific boosting. In the
case of GraphQL this is useful to boost.

Test Plan: A search like "type User" in the sourcegraph codebase now
includes results from the schema.graphql files.

+5
+5
contentprovider.go
··· 863 863 case "local": 864 864 factor = 3 865 865 } 866 + case "GraphQL", "graphql": 867 + switch kind { 868 + case "type": 869 + factor = 10 870 + } 866 871 } 867 872 868 873 return factor * scoreKindMatch