05 Dec 2008 01:55
TAGS: dev search wikicomplete wikidot
I just introduced this nice feature to the Wiki Complete wiki farm (based on Wikidot software).
How does it work?
Here are the Google results for female superheroes wikicomplete query:
locate any link from wikicomplete.info and click. The words female, superheroes, wikicomplete should be highlighted using different colors.
The same mechanism is used for local searches.
If you wonder how did I do this, here is the answer. I used Zend_Search_Lucene utility for highlighting. It was all quick and easy after parsing the HTTP_REFERER looking for the actual search query.
This feature was implemented on some random pages I walked through. I hope you like it being implemented on WikiComplete!