zoekt: 43 files / 133 matches / 23.91ms neogrok: 20 files / 54 matches

github.com/sourcegraph/zoektapi.go 5 matches | Go | №1

375 376 // Candidate files whose contents weren't examined because we377 // gathered enough matches.
919 920 // Return the whole file.921 Whole bool922
1030 addBool("EstimateDocCount", s.EstimateDocCount)1031 addBool("Whole", s.Whole)1032 addBool("ChunkMatches", s.ChunkMatches)

github.com/sourcegraph/zoektgrpc/protos/zoekt/webserver/v1/webserver.pb.go 7 matches | Go | №2

345 EstimateDocCount bool `protobuf:"varint,1,opt,name=estimate_doc_count,json=estimateDocCount,proto3" json:"estimate_doc_count,omitempty"`346 // Return the whole file.347 Whole bool `protobuf:"varint,2,opt,name=whole,proto3" json:"whole,omitempty"`348 // Maximum number of matches: skip all processing an index
428 429 func (x *SearchOptions) GetWhole() bool {430 if x != nil {431 return x.Whole432 }

github.com/sourcegraph/zoektgrpc/protos/zoekt/webserver/v1/webserver.proto 3 matches | Protocol Buffer | №3

52 53 // Return the whole file.54 bool whole = 2;55
308 309 // Candidate files whose contents weren't examined because we310 // gathered enough matches.

github.com/sourcegraph/zoektLICENSE 3 matches | Text | №4

42 editorial revisions, annotations, elaborations, or other modifications43 represent, as a whole, an original work of authorship. For the purposes44 of this License, Derivative Works shall not include works that remain
62 "Contributor" shall mean Licensor and any individual or Legal Entity63 on behalf of whom a Contribution has been received by Licensor and64 subsequently incorporated within the Work.
125 for use, reproduction, or distribution of Your modifications, or126 for any such Derivative Works as a whole, provided Your use,127 reproduction, and distribution of the Work otherwise complies with

github.com/isker/neogrokLICENSE 1 match | Text | №5

8 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell9 copies of the Software, and to permit persons to whom the Software is10 furnished to do so, subject to the following conditions:

github.com/isker/neogroksrc/routes/(search-page)/lander.svelte 1 match | Svelte | №6

29 <li>30 <ExampleQuery query="whom?" />31 </li>

github.com/sourcegraph/zoekteval.go 2 matches | Go | №7

332 // document frequencies. Since we don't store document frequencies in the index,333 // we have to defer the calculation of the final BM25 score to after the whole334 // shard has been processed.
343 sortChunkMatchesByScore(fileMatch.ChunkMatches)344 if opts.Whole {345 fileMatch.Content = cp.data(false)

github.com/isker/neogrokREADME.md 1 match | Markdown | №8

62 configuration may be defined in the environment. If it is present, the file's63 contents must be a JSON object with zero or more entries, whose keys correspond64 to the option names tabulated below.

github.com/sourcegraph/zoektdoc/faq.md 1 match | Markdown | №9

47 48 * Ranking: interesting results (eg. function definitions, whole word49 matches) should be at the top.

github.com/sourcegraph/zoektapi_proto.go 4 matches | Go | №10

689 EstimateDocCount: p.GetEstimateDocCount(),690 Whole: p.GetWhole(),691 ShardMaxMatchCount: int(p.GetShardMaxMatchCount()),
712 EstimateDocCount: s.EstimateDocCount,713 Whole: s.Whole,714 ShardMaxMatchCount: int64(s.ShardMaxMatchCount),

github.com/sourcegraph/zoektweb/server.go 1 match | Go | №11

592 sOpts := zoekt.SearchOptions{593 Whole: true,594 }

github.com/sourcegraph/zoektshards/sched.go 1 match | Go | №12

78 // We want to avoid the need to tune the scheduler depending on the workload /79 // instance. As such we use a simple design whose inputs are time and number80 // of CPUs.

github.com/sourcegraph/zoektshards/shards.go 1 match | Go | №13

104 Name: "zoekt_search_files_skipped_total",105 Help: "Total candidate files whose contents weren't examined because we gathered enough matches",106 })

github.com/sourcegraph/zoektweb/templates.go 7 matches | Go | №14

164 <dt><a href="search?q=needle+-hay">needle -hay</a></dt><dd>search for files with the word "needle" but not the word "hay"</dd>165 <dt><a href="search?q=path+file:java">path file:java</a></dt><dd>search for the word "path" in files whose name contains "java"</dd>166 <dt><a href="search?q=needle+lang%3Apython&num=50">needle lang:python</a></dt><dd>search for "needle" in Python source code</dd>167 <dt><a href="search?q=f:%5C.c%24">f:\.c$</a></dt><dd>search for files whose name ends with ".c"</dd>168 <dt><a href="search?q=path+-file:java">path -file:java</a></dt><dd>search for the word "path" excluding files whose name contains "java"</dd>169 <dt><a href="search?q=foo.*bar">foo.*bar</a></dt><dd>search for the regular expression "foo.*bar"</dd>
172 <dt><a href="search?q=sym:data">sym:data</a></span></dt><dd>search for symbol definitions containing "data"</dd>173 <dt><a href="search?q=phone+r:droid">phone r:droid</a></dt><dd>search for "phone" in repositories whose name contains "droid"</dd>174 <dt><a href="search?q=phone+archived:no">phone archived:no</a></dt><dd>search for "phone" in repositories that are not archived</dd>
176 <dt><a href="search?q=phone+public:no">phone public:no</a></dt><dd>search for "phone" in repositories that are not public</dd>177 <dt><a href="search?q=phone+b:master">phone b:master</a></dt><dd>for Git repos, find "phone" in files in branches whose name contains "master".</dd>178 <dt><a href="search?q=phone+b:HEAD">phone b:HEAD</a></dt><dd>for Git repos, find "phone" in the default ('HEAD') branch.</dd>

github.com/sourcegraph/zoektcmd/zoekt-webserver/main.go 2 matches | Go | №15

571 sglog.Bool("opts.EstimateDocCount", opts.EstimateDocCount),572 sglog.Bool("opts.Whole", opts.Whole),573 sglog.Int("opts.ShardMaxMatchCount", opts.ShardMaxMatchCount),

github.com/sourcegraph/zoektcmd/zoekt-mirror-gitea/main.go 4 matches | Go | №16

60 deleteRepos := flag.Bool("delete", false, "delete missing repos")61 namePattern := flag.String("name", "", "only clone repos whose name matches the given regexp.")62 excludePattern := flag.String("exclude", "", "don't mirror repos whose names match this regexp.")63 topics := topicsFlag{}64 flag.Var(&topics, "topic", "only clone repos whose have one of given topics. You can add multiple topics by setting this more than once.")65 excludeTopics := topicsFlag{}66 flag.Var(&excludeTopics, "exclude_topic", "don't clone repos whose have one of given topics. You can add multiple topics by setting this more than once.")67 noArchived := flag.Bool("no_archived", false, "mirror only projects that are not archived")

github.com/sourcegraph/zoektcmd/zoekt-mirror-gerrit/main.go 2 matches | Go | №17

93 dest := flag.String("dest", "", "destination directory")94 namePattern := flag.String("name", "", "only clone repos whose name matches the regexp.")95 repoNameFormat := flag.String("repo-name-format", qualifiedRepoNameFormat, fmt.Sprintf("the format of the local repo name in zoekt (valid values: %s)", strings.Join(validRepoNameFormat, ", ")))96 excludePattern := flag.String("exclude", "", "don't mirror repos whose names match this regexp.")97 deleteRepos := flag.Bool("delete", false, "delete missing repos")

github.com/sourcegraph/zoektcmd/zoekt-mirror-github/main.go 4 matches | Go | №18

64 deleteRepos := flag.Bool("delete", false, "delete missing repos")65 namePattern := flag.String("name", "", "only clone repos whose name matches the given regexp.")66 excludePattern := flag.String("exclude", "", "don't mirror repos whose names match this regexp.")67 topics := topicsFlag{}68 flag.Var(&topics, "topic", "only clone repos whose have one of given topics. You can add multiple topics by setting this more than once.")69 excludeTopics := topicsFlag{}70 flag.Var(&excludeTopics, "exclude_topic", "don't clone repos whose have one of given topics. You can add multiple topics by setting this more than once.")71 noArchived := flag.Bool("no_archived", false, "mirror only projects that are not archived")

github.com/sourcegraph/zoektcmd/zoekt-mirror-gitlab/main.go 2 matches | Go | №19

50 excludeUserRepos := flag.Bool("exclude_user", false, "exclude user repos")51 namePattern := flag.String("name", "", "only clone repos whose name matches the given regexp.")52 excludePattern := flag.String("exclude", "", "don't mirror repos whose names match this regexp.")53 lastActivityAfter := flag.String("last_activity_after", "", "only mirror repos that have been active since this date (format: 2006-01-02).")

github.com/sourcegraph/zoektcmd/zoekt-mirror-gitiles/main.go 2 matches | Go | №20

39 dest := flag.String("dest", "", "destination directory")40 namePattern := flag.String("name", "", "only clone repos whose name matches the regexp.")41 excludePattern := flag.String("exclude", "", "don't mirror repos whose names match this regexp.")42 hostType := flag.String("type", "gitiles", "which webserver to crawl. Choices: gitiles, cgit")