# Query by group of sentences

**URL:** <https://community.pinecone.io/t/query-by-group-of-sentences/528>\
**Category:** General\
**Tags:** semantic-search, vector-database\
**Created:** [December 18, 2022, 12:36pm UTC](https://community.pinecone.io/t/query-by-group-of-sentences/528 "2022-12-18T12:36:49Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![axgalache](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/axgalache/32/132_2.png) [@axgalache](https://community.pinecone.io/u/axgalache)\
**Post date:** [December 28, 2022, 1:45am UTC](https://community.pinecone.io/t/query-by-group-of-sentences/528/5 "2022-12-28T01:45:57Z")

</div>

Thank you for the feedback 🙂  
I’m planning to have each vector stored with metadata having user info (e.g. its id)

I would need to compare a group of user tags or interests with all other vectors and get the user with most similar tags (example: querying [“cars”,“races”, “f1”] the first result should be a hypothetical user with tags [“nascar”,“drag race”,“motors”,“drifting”].

Taking into account your response, I think a good approach could be taking the average of all vectors and perform the query.  
I’ve tried performing a query for each vector, but the approach is quite bad attending to loading times.

I’ll go with the vectors average for now 🙂  
Thank you!

---

_[View the full topic](https://community.pinecone.io/t/query-by-group-of-sentences/528)._
