Search engine

4 views
Skip to first unread message

Scott Wilson

unread,
Feb 8, 2012, 6:49:38 AM2/8/12
to widgetstore
Hi everyone,

I've added a Solr instance to Edukapp and started wiring it in to
provide search functionality - it deploys automatically using mvn. It
has two indexing cores (English and French) but more can be added. For
the moment I'm just testing with the English version.

There is already a data import handler for pulling in metadata from
Wookie, and we can write some routines for pushing metadata from
widgets and gadgets from the store into it.

On the retrieval front, there is a search handler and a "more widgets
like this one" handler. I've put instructions into the README, but
basically:

Find widgets: http://localhost:8080/search?q=chat

Find widgets similar to "simplechat":
http://localhost:8080/similar?uri=http%3A%2F%2Fwookie.apache.org%2Fwidgets%2Fsimplechat

So far it just renders out the widget name for debugging; we'll add
proper JSON output of results once we put in a proper structure for
APIs, maybe using JAX-RS/Wink

S
Reply all
Reply to author
Forward
0 new messages