Hello all,
Background: We're trying to build a searchable user directory of XWiki users
where people can be searched by specialty. The deal here is that each user
who contributes to the wiki is good at something and we wanted other users
to be able to find contributors by their specialty in case they need some
help.
XWiki Feature: We are using the livetable user directory example provided on
the
xwiki.org website & it works great. However, users are adding their
specialty through the tags on their own profile pages. This too is
searchable using the livetable macro option to enable a tagcloud.
Concern/Issue: Our user base is currently a few hundred and is expected to
grow rapidly soon. Each user has some tags to add to his profile which leads
to a lot of tags in the tagcloud right above the livetable. Also, the page
loading has become very slow since the entire tag cloud is loading along
with the livetable.
Possible Solution: Could it be possible to use the ajax suggest to type in
these "specialty" tags rather than display an entire tag cloud on the
livetable page. The single tag textbox would provide the search criteria to
the livetable document filtering process. Alternatively, could someone
please help me with the search query for pulling up pages with
XWiki.XWikiUsers objects by using values of XWiki.Tags objects on the same
document. I've looked up queries for hql searches & unable to find one which
crosses multiple classes . Most queries are searches based on objects of one
class only. (Can we have 2 BaseObjects, let's say obj1 & obj2 to represent
the two different object types embedded in the same document).
Any help would be greatly appreciated.
Regards,
Dilipkumar Jadhav