# Tags and Folksonomies

**URL:** <https://discuss.elastic.co/t/tags-and-folksonomies/7108>\
**Category:** Elasticsearch\
**Created:** [March 23, 2012, 5:38pm UTC](https://discuss.elastic.co/t/tags-and-folksonomies/7108 "2012-03-23T17:38:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nchandra](https://avatars.discourse-cdn.com/v4/letter/n/bb73d2/32.png) [@nchandra](https://discuss.elastic.co/u/nchandra)\
**Post date:** [March 23, 2012, 5:38pm UTC](https://discuss.elastic.co/t/tags-and-folksonomies/7108/1 "2012-03-23T17:38:50Z")

</div>

Suppose I have content which has title and description. Users can tag  
content and search content based on tag, title and description. Tag  
has more weightage.

Any inputs on how indexing and retrieval will work given there is  
content and tags using ES? Has anyone implemented search based on  
collaborative tagging?

Thanks,  
Nishant

---

<div class="post-metadata">

**Author:** ![vineeth\_mohan](https://avatars.discourse-cdn.com/v4/letter/v/bc79bd/32.png) [@vineeth\_mohan](https://discuss.elastic.co/u/vineeth_mohan)\
**Post date:** [March 23, 2012, 6:31pm UTC](https://discuss.elastic.co/t/tags-and-folksonomies/7108/2 "2012-03-23T18:31:28Z")

</div>

I am not sure what collabrative tagging is but then try the following

You can maintain 3 fields , title , description and tags.  
Here tags would be an array.  
And while searching you can use the terms query for looking into the tags -

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

Also you can use the bool search for mentioning multiple search condition -

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

Also you should also look into faceted search - looks like you are looking  
into this to me -

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

Thanks  
Vineeth

On Fri, Mar 23, 2012 at 11:08 PM, nchandra [nishant.chandra@gmail.com](mailto:nishant.chandra@gmail.com)wrote:

> Suppose I have content which has title and description. Users can tag  
> content and search content based on tag, title and description. Tag  
> has more weightage.
> 
> Any inputs on how indexing and retrieval will work given there is  
> content and tags using ES? Has anyone implemented search based on  
> collaborative tagging?
> 
> Thanks,  
> Nishant

---

<div class="post-metadata">

**Author:** ![nchandra](https://avatars.discourse-cdn.com/v4/letter/n/bb73d2/32.png) [@nchandra](https://discuss.elastic.co/u/nchandra)\
**Post date:** [March 23, 2012, 8:08pm UTC](https://discuss.elastic.co/t/tags-and-folksonomies/7108/3 "2012-03-23T20:08:14Z")

</div>

Thanks Vineeth. Here is a quick link: \*  
[Folksonomy - Wikipedia](http://en.wikipedia.org/wiki/Folksonomy)\*[http://en.wikipedia.org/wiki/Folksonomy](http://en.wikipedia.org/wiki/Folksonomy)

Think of it as the tags on [delicious.com](http://delicious.com). My use case is tag based search  
and content discovery.

Nishant

On Saturday, 24 March 2012 00:01:28 UTC+5:30, Vineeth Mohan wrote:

> I am not sure what collabrative tagging is but then try the following
> 
> ## You can maintain 3 fields , title , description and tags. Here tags would be an array. And while searching you can use the terms query for looking into the tags
> 
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/%E2%80%8Bguide/reference/query-dsl/%E2%80%8Bterms-query.html)[http://www.elasticsearch.org/guide/reference/query-dsl/terms-query.html](http://www.elasticsearch.org/guide/reference/query-dsl/terms-query.html)  
> Also you can use the bool search for mentioning multiple search condition
> 
> - [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/%E2%80%8Bguide/reference/query-dsl/%E2%80%8Bbool-query.html)[http://www.elasticsearch.org/guide/reference/query-dsl/bool-query.html](http://www.elasticsearch.org/guide/reference/query-dsl/bool-query.html)
> 
> Also you should also look into faceted search - looks like you are looking  
> into this to me -  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/%E2%80%8Bguide/reference/api/search/%E2%80%8Bfacets/index.html)[http://www.elasticsearch.org/guide/reference/api/search/facets/index.html](http://www.elasticsearch.org/guide/reference/api/search/facets/index.html)
> 
> Thanks  
> Vineeth
> 
> On Fri, Mar 23, 2012 at 11:08 PM, nchandra \<\> wrote:
> 
> > Suppose I have content which has title and description. Users can tag  
> > content and search content based on tag, title and description. Tag  
> > has more weightage.
> > 
> > Any inputs on how indexing and retrieval will work given there is  
> > content and tags using ES? Has anyone implemented search based on  
> > collaborative tagging?
> > 
> > Thanks,  
> > Nishant

---

<div class="post-metadata">

**Author:** ![vineeth\_mohan](https://avatars.discourse-cdn.com/v4/letter/v/bc79bd/32.png) [@vineeth\_mohan](https://discuss.elastic.co/u/vineeth_mohan)\
**Post date:** [March 24, 2012, 4:40am UTC](https://discuss.elastic.co/t/tags-and-folksonomies/7108/4 "2012-03-24T04:40:47Z")

</div>

This is exactly what facets do.  
I hope you could achieve this using facets.

Thanks  
Vineeth

On Sat, Mar 24, 2012 at 1:38 AM, nchandra [nishant.chandra@gmail.com](mailto:nishant.chandra@gmail.com) wrote:

> Thanks Vineeth. Here is a quick link: \*  
> [Folksonomy - Wikipedia](http://en.wikipedia.org/wiki/Folksonomy)\*[http://en.wikipedia.org/wiki/Folksonomy](http://en.wikipedia.org/wiki/Folksonomy)
> 
> Think of it as the tags on [delicious.com](http://delicious.com). My use case is tag based search  
> and content discovery.
> 
> Nishant
> 
> On Saturday, 24 March 2012 00:01:28 UTC+5:30, Vineeth Mohan wrote:
> 
> > I am not sure what collabrative tagging is but then try the following
> > 
> > ## You can maintain 3 fields , title , description and tags. Here tags would be an array. And while searching you can use the terms query for looking into the tags
> > 
> > ## [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/%E2%80%8Bguide/reference/query-dsl/%E2%80%8Bterms-query.html)[http://www.elasticsearch.org/guide/reference/query-dsl/terms-query.html](http://www.elasticsearch.org/guide/reference/query-dsl/terms-query.html) Also you can use the bool search for mentioning multiple search condition
> > 
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/%E2%80%8Bguide/reference/query-dsl/%E2%80%8Bbool-query.html)[http://www.elasticsearch.org/guide/reference/query-dsl/bool-query.html](http://www.elasticsearch.org/guide/reference/query-dsl/bool-query.html)
> > 
> > Also you should also look into faceted search - looks like you are  
> > looking into this to me -  
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/%E2%80%8Bguide/reference/api/search/%E2%80%8Bfacets/index.html)[http://www.elasticsearch.org/guide/reference/api/search/facets/index.html](http://www.elasticsearch.org/guide/reference/api/search/facets/index.html)
> > 
> > Thanks  
> > Vineeth
> > 
> > On Fri, Mar 23, 2012 at 11:08 PM, nchandra \<\> wrote:
> > 
> > > Suppose I have content which has title and description. Users can tag  
> > > content and search content based on tag, title and description. Tag  
> > > has more weightage.
> > > 
> > > Any inputs on how indexing and retrieval will work given there is  
> > > content and tags using ES? Has anyone implemented search based on  
> > > collaborative tagging?
> > > 
> > > Thanks,  
> > > Nishant

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 3:35am UTC](https://discuss.elastic.co/t/tags-and-folksonomies/7108/5 "2017-07-06T03:35:03Z")

</div>


