[KinoSearch] tag searching and intersections?

Graham Stead gstead at ieee.org
Wed Dec 20 07:00:07 PST 2006



With the caveat that I use Lucene instead of KinoSearch, I would implement
tags as a list of words in a document field dedicated to tags. Imagine a
fields "tags" with 'mobile', 'lg', and 'chocolate'. This is not a
multivalued field, just a normal field with several tokens.

Searches are then easy: if the user wants 'chocolate', your code runs the
query tags:chocolate. To get docs with lg and chocolate, set the default
operator to AND and query tags:lg tags:chocolate. To get docs with lg or
chocolate, use OR.

Hope this helps,
-Graham

> Is it possible to do tag searching and intersections (a la Flickr or
> del.icio.us) using KinoSearch? Has anyone tried or thought about this?
> Looking at the code for a document field I'm thinking no 
> because a field (like tags) can't have multiple values. I'm 
> somewhat new to KS though I thought I might be missing 
> something. Thoughts? <tim/>



_______________________________________________
KinoSearch mailing list
KinoSearch at rectangular.com
http://www.rectangular.com/mailman/listinfo/kinosearch




More information about the kinosearch mailing list