# Setting preference on properties in weaviate query

**URL:** <https://forum.weaviate.io/t/setting-preference-on-properties-in-weaviate-query/863>\
**Category:** General\
**Created:** [October 26, 2023, 6:54am UTC](https://forum.weaviate.io/t/setting-preference-on-properties-in-weaviate-query/863 "2023-10-26T06:54:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abhishek\_Joshi](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/abhishek_joshi/32/559_2.png) [@Abhishek\_Joshi](https://forum.weaviate.io/u/Abhishek_Joshi)\
**Post date:** [October 26, 2023, 6:54am UTC](https://forum.weaviate.io/t/setting-preference-on-properties-in-weaviate-query/863/1 "2023-10-26T06:54:04Z")

</div>

I have stored some data in weaviate in terms of two properties, (project and content). when i query db then is there any provision of setting preference that first all matches related to project will come and then related to content

question = “communication error”  
project = “xyz”  
response = (  
client.query  
.get(“test”, [“project”, “content”])  
.with\_additional([“certainty”, “score”])  
.with\_near\_text({“concepts”: [project, question]})  
.with\_limit(15)  
.do()  
)

so i need all information for xyz project first in output because there are some other projects available in database.so can we set any priority so that first project related search matches and then question related search matches?

---

<div class="post-metadata">

**Author:** ![DudaNogueira](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/dudanogueira/32/7846_2.png) [@DudaNogueira](https://forum.weaviate.io/u/DudaNogueira)\
**Post date:** [October 26, 2023, 12:06pm UTC](https://forum.weaviate.io/t/setting-preference-on-properties-in-weaviate-query/863/2 "2023-10-26T12:06:08Z")

</div>

Hi!

Have you seen the reranking feature?

> **[Reranking | Weaviate - vector database](https://weaviate.io/developers/weaviate/concepts/reranking)**
>
> Overview

Let me know if that helps!
