# \#popular

**URL:** https://discuss.dgraph.io/tag/popular/127.md

[Latest](https://discuss.dgraph.io/latest.md) · [Categories](https://discuss.dgraph.io/categories.md) · [Tags](https://discuss.dgraph.io/tags.md)

---

## [Add @distance for geo](https://discuss.dgraph.io/t/add-distance-for-geo/8406)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 9\
**Last updated:** [September 21, 2022, 2:15am UTC](https://discuss.dgraph.io/t/add-distance-for-geo/8406 "2022-09-21T02:15:04Z")

</div>

Moved from GitHub dgraph/1559 Posted by davedbase: It would be really great if there was a function to call and return distance between points or polygons. ie. @distance(PointA, PointB). If it were to return the result…

---

## [Support value variables for paging params (offset, after, first)](https://discuss.dgraph.io/t/support-value-variables-for-paging-params-offset-after-first/8753)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 10\
**Last updated:** [March 16, 2022, 8:48am UTC](https://discuss.dgraph.io/t/support-value-variables-for-paging-params-offset-after-first/8753 "2022-03-16T08:48:23Z")

</div>

Moved from GitHub dgraph/2564 Posted by disconsented: { var(func: eq(account, "100")){ client{ cid as uid } msg as message\_limit } messageCount(func: uid(cid)){ count(messages) messages…

---

## [Support composite indexes](https://discuss.dgraph.io/t/support-composite-indexes/8755)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 5\
**Last updated:** [September 18, 2021, 9:37pm UTC](https://discuss.dgraph.io/t/support-composite-indexes/8755 "2021-09-18T21:37:56Z")

</div>

Moved from GitHub dgraph/2660 Posted by pierreis: Unless I missed some key information, it is not possible to create composite indexes in Dgraph. Supporting this feature would help some use-cases requiring filtering on…

---

## [Allow value variables in facet filters](https://discuss.dgraph.io/t/allow-value-variables-in-facet-filters/8751)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 4\
**Last updated:** [July 22, 2021, 4:55pm UTC](https://discuss.dgraph.io/t/allow-value-variables-in-facet-filters/8751 "2021-07-22T16:55:01Z")

</div>

Moved from GitHub dgraph/2406 Posted by djdoeslinux: I would love to be able to interpolate value variables into @facet statements similarly to @filter statements. This would enable a new class of query dependent trave…

---

## [K-Nearest-Neighbors in DGraph](https://discuss.dgraph.io/t/k-nearest-neighbors-in-dgraph/8748)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 3\
**Last updated:** [September 13, 2020, 7:13pm UTC](https://discuss.dgraph.io/t/k-nearest-neighbors-in-dgraph/8748 "2020-09-13T19:13:40Z")

</div>

Moved from GitHub dgraph/2142 Posted by swagluke: Neo4j has query that does K-Nearest-Neighbors BlogPost link: https://neo4j.com/graphgist/movie-recommendations-with-k-nearest-neighbors-and-cosine-similarity#\_view\_yo…

---

## [Offset-based pagination is slow](https://discuss.dgraph.io/t/offset-based-pagination-is-slow/8774)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 7\
**Last updated:** [September 4, 2020, 1:24pm UTC](https://discuss.dgraph.io/t/offset-based-pagination-is-slow/8774 "2020-09-04T13:24:19Z")

</div>

Moved from GitHub dgraph/3473 Posted by romshark: Since after-based pagination doesn’t work (see #3472 and #2744 and the forum) I had to fall back to offset-based pagination instead, which I expected to be slow (since …

---

## [\[GitHub\] Spark connector for Dgraph](https://discuss.dgraph.io/t/github-spark-connector-for-dgraph/8867)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 9\
**Last updated:** [July 25, 2020, 10:56am UTC](https://discuss.dgraph.io/t/github-spark-connector-for-dgraph/8867 "2020-07-25T10:56:14Z")

</div>

Moved from GitHub dgraph/2123 Posted by jimanvlad: Hi, It would be great if, at some point, a Spark connector was to be created. Neo4J uses its connector both for preprocessing and loading data in, but also to get su…

---

## [Filtering is slow on large amount of data](https://discuss.dgraph.io/t/filtering-is-slow-on-large-amount-of-data/8757)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 5\
**Last updated:** [June 15, 2020, 5:51am UTC](https://discuss.dgraph.io/t/filtering-is-slow-on-large-amount-of-data/8757 "2020-06-15T05:51:23Z")

</div>

Moved from GitHub dgraph/2713 Posted by makitka2007: dgraph 1.0.9 due to required index lookup for every @filter condition, filtering is slow on large amounts of data. test data: 10m entities created with “sex” predi…

---

## [Missing edge direction in graph visualization](https://discuss.dgraph.io/t/missing-edge-direction-in-graph-visualization/8025)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 1\
**Last updated:** [March 18, 2020, 2:26pm UTC](https://discuss.dgraph.io/t/missing-edge-direction-in-graph-visualization/8025 "2020-03-18T14:26:38Z")

</div>

Moved from GitHub ratel/154 Posted by faheel: Since edges in Dgraph are directed, it would be nice to show the direction of the edges in the graph visualization.

---

## [Improve throughput of bulk loader with distributed loading](https://discuss.dgraph.io/t/improve-throughput-of-bulk-loader-with-distributed-loading/8431)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 21\
**Last updated:** [February 6, 2020, 2:44pm UTC](https://discuss.dgraph.io/t/improve-throughput-of-bulk-loader-with-distributed-loading/8431 "2020-02-06T14:44:14Z")

</div>

Moved from GitHub dgraph/2628 Posted by danielmai: Experience Report The dgraph bulk loader the fastest way to load data into Dgraph at close to 1M edges/sec. This currently satisfies most users, but for extremely lar…

---

## [Build Kafka Connector for Dgraph in Live and Bulk Loader](https://discuss.dgraph.io/t/build-kafka-connector-for-dgraph-in-live-and-bulk-loader/8788)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 10\
**Last updated:** [January 16, 2020, 12:41pm UTC](https://discuss.dgraph.io/t/build-kafka-connector-for-dgraph-in-live-and-bulk-loader/8788 "2020-01-16T12:41:54Z")

</div>

Moved from GitHub dgraph/3967 Posted by mangalaman93: This will allow loading data directly from Kafka.

---

## [Exploration mechanism to replace expand(\_\_all\_\_)](https://discuss.dgraph.io/t/exploration-mechanism-to-replace-expand-all/8789)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 9\
**Last updated:** [September 17, 2019, 4:24pm UTC](https://discuss.dgraph.io/t/exploration-mechanism-to-replace-expand-all/8789 "2019-09-17T16:24:45Z")

</div>

Moved from GitHub dgraph/3982 Posted by Kingloko: Experience Report Note: Feature requests are judged based on user experience and modeled on Go Experience Reports. These reports should focus on the problems: they shou…

---

## [Graph Algorithms Support/Documentation](https://discuss.dgraph.io/t/graph-algorithms-support-documentation/8752)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 2\
**Last updated:** [February 1, 2019, 4:45am UTC](https://discuss.dgraph.io/t/graph-algorithms-support-documentation/8752 "2019-02-01T04:45:54Z")

</div>

Moved from GitHub dgraph/2517 Posted by mbande: As Neo4j has implemented graph algorithms such as PageRank, is there any plan to support these algorithms? Or provide some documentation(Best Practices) on how to do tha…
