# \#exp:expert

**URL:** https://discuss.dgraph.io/tag/exp-expert/147.md

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

---

## [Feature: Add foreach() function](https://discuss.dgraph.io/t/feature-add-foreach-function/8516)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 6\
**Last updated:** [January 18, 2021, 1:43am UTC](https://discuss.dgraph.io/t/feature-add-foreach-function/8516 "2021-01-18T01:43:51Z")

</div>

Moved from GitHub dgraph/5335 Posted by MichelDiz: Experience Report What you wanted to do I would like to use loops in queries and upsert blocks. In this case something similar to “foreach”. What you actually did The…

---

## [Feature request: full text search with tf-idf Scoring](https://discuss.dgraph.io/t/feature-request-full-text-search-with-tf-idf-scoring/8766)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 11\
**Last updated:** [January 11, 2021, 1:03am UTC](https://discuss.dgraph.io/t/feature-request-full-text-search-with-tf-idf-scoring/8766 "2021-01-11T01:03:28Z")

</div>

Moved from GitHub dgraph/3211 Posted by pjebs: Bleve supports tf-idf Scoring. It would be great if there was a function that could filter based on scoring by relevance. The function would accept an argument where we s…

---

## [Allow facets at the schema level](https://discuss.dgraph.io/t/allow-facets-at-the-schema-level/8409)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 3\
**Last updated:** [August 26, 2020, 3:14pm UTC](https://discuss.dgraph.io/t/allow-facets-at-the-schema-level/8409 "2020-08-26T15:14:47Z")

</div>

Moved from GitHub /2009 Posted by jeffkhull: As dicussed in a few potential uses Here, adding facets at the schema level would allow a fine-grained schema (many specific predicates) while also allowing logically groupi…

---

## [Support field functions](https://discuss.dgraph.io/t/support-field-functions/8745)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 5\
**Last updated:** [January 21, 2020, 12:00am UTC](https://discuss.dgraph.io/t/support-field-functions/8745 "2020-01-21T00:00:55Z")

</div>

Moved from GitHub dgraph/2037 Posted by JimmyCheng: In SQL language, we can apply simple functions to the fields, including create new fields. e.g. SELECT concat(first\_name, ' ' , last\_name) AS full\_name SELECT A, B,…

---

## [Show query progress, specifically for long running queries](https://discuss.dgraph.io/t/show-query-progress-specifically-for-long-running-queries/8446)

<div class="topic-metadata">

**Author:** [@diggy](https://discuss.dgraph.io/u/diggy)\
**Replies:** 0\
**Last updated:** [August 23, 2019, 5:47pm UTC](https://discuss.dgraph.io/t/show-query-progress-specifically-for-long-running-queries/8446 "2019-08-23T17:47:18Z")

</div>

Moved from GitHub dgraph/3857 Posted by MichelDiz: What you wanted to do A massive upsert (milions of nodes). Why that wasn’t great, with examples All massive upserts take some time to execute. The massive upsert work…
