# What are alternatives for query string to implement slope between phrases?

**URL:** <https://discuss.elastic.co/t/what-are-alternatives-for-query-string-to-implement-slope-between-phrases/333158>\
**Category:** Elasticsearch\
**Created:** [May 11, 2023, 6:01am UTC](https://discuss.elastic.co/t/what-are-alternatives-for-query-string-to-implement-slope-between-phrases/333158 "2023-05-11T06:01:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eduard\_mart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eduard_mart/32/119729_2.png) [@Eduard\_mart](https://discuss.elastic.co/u/Eduard_mart)\
**Post date:** [May 11, 2023, 6:01am UTC](https://discuss.elastic.co/t/what-are-alternatives-for-query-string-to-implement-slope-between-phrases/333158/1 "2023-05-11T06:01:25Z")

</div>

What are alternatives for query string to implement slope between phrases?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 11, 2023, 7:12am UTC](https://discuss.elastic.co/t/what-are-alternatives-for-query-string-to-implement-slope-between-phrases/333158/2 "2023-05-11T07:12:59Z")

</div>

Is this related to [What are the best ways to find near phrases? How to combine them to find near to nearest near? ))](https://discuss.elastic.co/t/what-are-the-best-ways-to-find-near-phrases-how-to-combine-them-to-find-near-to-nearest-near/333042)?

---

<div class="post-metadata">

**Author:** ![Eduard\_mart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eduard_mart/32/119729_2.png) [@Eduard\_mart](https://discuss.elastic.co/u/Eduard_mart)\
**Post date:** [May 12, 2023, 9:37am UTC](https://discuss.elastic.co/t/what-are-alternatives-for-query-string-to-implement-slope-between-phrases/333158/3 "2023-05-12T09:37:28Z")

</div>

Yep. These questions are related.  
I want to find more examples no how to use span\_term.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 14, 2023, 11:36pm UTC](https://discuss.elastic.co/t/what-are-alternatives-for-query-string-to-implement-slope-between-phrases/333158/4 "2023-05-14T23:36:29Z")

</div>

It's best if you can keep your question to the one topic, it makes it easier for others to help you.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 14, 2023, 11:36pm UTC](https://discuss.elastic.co/t/what-are-alternatives-for-query-string-to-implement-slope-between-phrases/333158/5 "2023-05-14T23:36:33Z")

</div>


