Skip to content

Commit 7338cf4

Browse files
Update regarding exhaustive search via graphql.mdx
1 parent fb70e21 commit 7338cf4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/api/graphql/search.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,7 @@ src search -json 'repo:pallets/flask error'
2020
```
2121

2222
You can then consume the JSON output directly, add `--get-curl` to get a `curl` execution line, and more. See [the `src` CLI tool](https://sourcegraph.com/github.com/sourcegraph/src-cli) for more details.
23+
24+
## Incomplete search results when using Graphql
25+
26+
Sometimes, users find discrepancies in the number of results returned on UI compared to Graphql for the same query. This can be avoided by adding ```"count:all" ``` to the query used in Graphql. This ensures all the matching records are being fetched via Graphql.

0 commit comments

Comments
 (0)