zoekt: 204 files / 1774 matches / 5.17ms neogrok: 20 files / 143 matches
neogrokdoc/faq.md 5 matches | Markdown | №1
5
Software engineering is more about reading than writing code, and part6 of this process is finding the code that you should read. If you are7 working on a large project, then finding source code through37
approximate query, and then refine it based on results you got. For38 this to work, you need the following features:39 56
* Coverage: `zoekt` comes with tools to mirror parts of common Git57 hosting sites. `cs.bazel.build` uses this to index most of the58 Google authored open source software on github.com andneogrokinternal/e2e/testdata/assets_are_not_configured_for_this_binary.txt 2 matches | Text | №2
neogrokapi.go 51 matches | Go | №3
3
// Licensed under the Apache License, Version 2.0 (the "License");4 // you may not use this file except in compliance with the License.5 // You may obtain a copy of the License at163
164 // Ranges is a set of matching ranges within this chunk. Each range is relative165 // to the beginning of the file (not the beginning of Content).neogrokLICENSE 17 matches | Text | №4
9
"License" shall mean the terms and conditions for use, reproduction,10 and distribution as defined by Sections 1 through 9 of this document.11 16
other entities that control, are controlled by, or are under common17 control with that entity. For the purposes of this definition,18 "control" means (i) the power, direct or indirect, to cause the23
"You" (or "Your") shall mean an individual or Legal Entity24 exercising permissions granted by this License.25 neogrokREADME.md 7 matches | Markdown | №5
9
10 **Note:** This has been the maintained source for Zoekt since 2017, when it was forked from the11 original repository [github.com/google/zoekt](https://github.com/google/zoekt).39
40 Zoekt supports indexing and searching repositories on the command line. This is most helpful41 for simple local usage, or for testing and development.neogrokweb/api.go 3 matches | Go | №6
neogrokmarshal.go 1 match | Go | №7
neogrokweb/doc.go 1 match | Go | №8
neogrokapi_proto.go 2 matches | Go | №9
neogrokindex/toc.go 5 matches | Go | №10
3
// Licensed under the Apache License, Version 2.0 (the "License");4 // you may not use this file except in compliance with the License.5 // You may obtain a copy of the License at49
// compatibility. For example, if a new way to encode filenameNgrams on disk is50 // added using a new section but the old one is retained, this would only bump51 // FeatureVersion, since the previous version can read the file and ignore the57
// longer valid.58 // In this way, compatibility with arbitrary version offsets can be indicated.59 106
func (t *indexTOC) sections() []section {107 // This old sections list is only needed to maintain backwards compatibility,108 // and can be removed when a migration to tagged sections is complete.109 return []section{110 // This must be first, so it can be reliably read across111 // file format versions.neogrokcmd/flags.go 1 match | Go | №11
neogrokquery/doc.go 1 match | Go | №12
neogrokdoc/ctags.md 1 match | Markdown | №13
neogrokweb/server.go 5 matches | Go | №14
3
// Licensed under the Apache License, Version 2.0 (the "License");4 // you may not use this file except in compliance with the License.5 // You may obtain a copy of the License at144
// page. For example, when serving on "search.myproject.org"145 // we could add "r:myproject" automatically. This allows a146 // single instance to serve as search engine for multipleneogrokindex/bits.go 5 matches | Go | №15
3
// Licensed under the Apache License, Version 2.0 (the "License");4 // you may not use this file except in compliance with the License.5 // You may obtain a copy of the License at98
// more runes than bytes. A sufficiently long mixed suffix therefore proves99 // the candidate span fits without walking either slice. In practice this100 // keeps ordinary mismatches constant-time and reserves the exact scan below393
//394 // This is very rarely a slight pessimization on repos where there are frequent395 // non-ASCII characters.neogrokindex/read.go 9 matches | Go | №16
3
// Licensed under the Apache License, Version 2.0 (the "License");4 // you may not use this file except in compliance with the License.5 // You may obtain a copy of the License atneogrokindex/eval.go 9 matches | Go | №17
3
// Licensed under the Apache License, Version 2.0 (the "License");4 // you may not use this file except in compliance with the License.5 // You may obtain a copy of the License at89
// For index files that haven't been re-indexed by go-enry,90 // fall back to file-based matching and continue even if this91 // repo doesn't have the specific language present.neogrokdoc/design.md 13 matches | Markdown | №18
82
83 * All the matches are returned in document order. This makes it84 straightforward to process compound boolean queries with AND and OR.94
95 Code usually is searched without regard for case. In this case, when96 we are looking for "abc", we look for occurrences of all the differentneogrokquery/bits.go 1 match | Go | №19
neogrokquery/query.go 4 matches | Go | №20
3
// Licensed under the Apache License, Version 2.0 (the "License");4 // you may not use this file except in compliance with the License.5 // You may obtain a copy of the License at654
if _, ok := ch.(*Const); ok {655 // If q is the root query, then evaluating this to a const changes656 // the type of result we will return. However, the only case this657 // makes sense is `type:repo TRUE` to return all repos or658 // `type:file TRUE` to return all filenames. For other cases we659 // want to do this constant folding though, so we allow the660 // unexpected behaviour mentioned previously.