Tags and Folksonomies


(nchandra) #1

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


(vineeth mohan) #2

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 -
http://www.elasticsearch.org/guide/reference/query-dsl/terms-query.html
Also you can use the bool search for mentioning multiple search condition -
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 -
http://www.elasticsearch.org/guide/reference/api/search/facets/index.html

Thanks
Vineeth

On Fri, Mar 23, 2012 at 11:08 PM, nchandra nishant.chandra@gmail.comwrote:

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


(nchandra) #3

Thanks Vineeth. Here is a quick link: *
http://en.wikipedia.org/wiki/Folksonomy*http://en.wikipedia.org/wiki/Folksonomy

Think of it as the tags on 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

http://www.elasticsearch.org/​guide/reference/query-dsl/​terms-query.htmlhttp://www.elasticsearch.org/guide/reference/query-dsl/terms-query.html
Also you can use the bool search for mentioning multiple search condition

Also you should also look into faceted search - looks like you are looking
into this to me -
http://www.elasticsearch.org/​guide/reference/api/search/​facets/index.htmlhttp://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


(vineeth mohan) #4

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 wrote:

Thanks Vineeth. Here is a quick link: *
http://en.wikipedia.org/wiki/Folksonomy*http://en.wikipedia.org/wiki/Folksonomy

Think of it as the tags on 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

http://www.elasticsearch.org/​guide/reference/query-dsl/​terms-query.htmlhttp://www.elasticsearch.org/guide/reference/query-dsl/terms-query.html
Also you can use the bool search for mentioning multiple search condition

http://www.elasticsearch.org/​guide/reference/query-dsl/​bool-query.htmlhttp://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 -
http://www.elasticsearch.org/​guide/reference/api/search/​facets/index.htmlhttp://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


(system) #5