3 ms·
We do a lot of custom tokenizing, indexing and scoring logic right now to (for example) make method name searches work like you'd expect: you can (mostly) searc
by timr 12y ago
We do a lot of custom tokenizing, indexing and scoring logic right now to (for example) make method name searches work like you'd expect: you can (mostly) search for a common method name in activerecord, and the right thing will come up, as opposed to one of the many different forks. This is a constant game of whack-a-mole for us.
That said, we have more features planned than time to implement them...we've got a method-body search working internally, but we're not yet happy with the quality of the results. We'd definitely like to do something with signals coming from the AST to improve that. We also have signals in place to help rank based on usage across all the code we know about, but those could be a lot more robust. We're also going to be doing a pass in the near future to deal with some noisy results that have been leaking in since we opened up to all GitHub repositories.
We're open to suggestions, though...do you have an example of something you'd like to see us implement?