Google Code Search

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Template:Short description Script error: No such module "Distinguish". Script error: No such module "Unsubst". Script error: No such module "Infobox".Script error: No such module "Check for unknown parameters".Script error: No such module "check for clobbered parameters".

Google Code Search was a free beta product from Google which debuted in Google Labs on October 5, 2006, allowing web users to search for open-source code on the Internet. Features included the ability to search using operators, namely <templatestyles src="Mono/styles.css" />lang:, <templatestyles src="Mono/styles.css" />package:, <templatestyles src="Mono/styles.css" />license:, and <templatestyles src="Mono/styles.css" />file:.

The code available for searching was in various formats including tar.gz, .tar.bz2, .tar, and .zip, CVS, Subversion, git and Mercurial repositories.

Google Code Search covered many open-source projects, and as such is different from the "Code Search for Google Open source projects" that was released afterwards.[1][2]

Regular expression engine

The site allowed the use of regular expressions in queries, which at that time was not offered by any other search engine for code.Script error: No such module "Unsubst". This makes it resemble grep, but over the world's public code. The methodology employed, sometimes called trigram search, combines a trigram index with a custom-built, denial-of-service resistant regular expression engine.[3]

In March 2010, the code of RE2, the regular expression engine used in Google Code Search, was made open source.[4]

Google Code Search supported POSIX extended regular expression syntax, excluding back-references, collating elements, and collation classes.

Languages not officially supported could be searched for using the file: operator to match the common file extensions for the language.

Discontinuation

In October 2011, Google announced that Code Search was to be shut down along with the Code Search API.[5] The service remained online until March 2013,[6] and it now returns a 404.

In January 2012, Google developer Russ Cox published an overview of history and the technical aspects of the tool, and open-sourced a basic implementation of a similar functionality as a set of standalone programs that can run fast indexed regular expression searches over local code.[7]

See also

Script error: No such module "Portal".

References

<templatestyles src="Reflist/styles.css" />

  1. Script error: No such module "citation/CS1".
  2. Script error: No such module "citation/CS1".
  3. Script error: No such module "citation/CS1".
  4. Script error: No such module "citation/CS1".
  5. Script error: No such module "citation/CS1".
  6. Script error: No such module "citation/CS1".
  7. Template:Github

Script error: No such module "Check for unknown parameters".

External links

  • Script error: No such module "webarchive".


Script error: No such module "Navbox".