3 ms·
If you compare these two search results: https://searchcode.com/?q=MongoDBObject+find+lang%3AScala https://searchcode.com/?q=MongoDBObject+find+lang%3AScala h
by rane 12y ago
If you compare these two search results:
https://searchcode.com/?q=MongoDBObject+find+lang%3AScala https://searchcode.com/?q=MongoDBObject+find+lang%3AScala
https://github.com/search?q=MongoDBObject+find+language%3Ascala&type=Code&ref=searchresults https://github.com/search?q=MongoDBObject+find+language%3Asc...
I find Github much, much more digestible, and to the point than search code.
- boyter 12y agoYes, thats my fault. Whats happening under the hood is searchcode is trying to match "MongoDBObject find" exactly, where as Github is going for a looser but phrase heavy search. Its something I am going to change based on feedback as clearly what I am doing is not what people are expecting. I will however make it an option, so you can chose exact match (current) or loose.
- rane 12y agoThanks, would be great to have searchcode up to par with Github's search. I would pay special attention to the yellow highlights. It's only confusing if the technique is overused.
- boyter 12y agoI am modifying it now to be a little more like github's. I had planned on removing the highlights too, its going to be modified to just affect the portion where the match occurred. Its mostly there as a hangover from when I was not actually highlighting the actual match and just the line.