Indexing & Searching for multi data type

45 views
Skip to first unread message

Tony

unread,
Mar 9, 2013, 10:41:57 PM3/9/13
to cleo-ty...@googlegroups.com
Hi all,

I have some set of data such as: photos, videos, textfiles,... I want to customize cleo to index and search based on data type like this:
index(type, E element)
search(uid, type, terms, collector); (where type is photos,videos or textfiles..)

So what's your suggestion in this case? Or I need to create a new indexer for each data type i have?

Thanks,

Jingwei

unread,
Mar 13, 2013, 1:31:53 PM3/13/13
to cleo-ty...@googlegroups.com
Hi

If you want a single index, you can create a type-aware Selector to determine what type you want to search for. In this case, type becomes part of your element.

Best,

Jingwei
Reply all
Reply to author
Forward
0 new messages