has anyone developed a search capibility for luminis?

We are implementing Luminis 4 here at Cuyahoga Communtiy College. Luminis does not provide any sort of search capibility for luminis. Has anyone been able to develop a search tool for luminis? If so how did you do it?

0
No votes yet

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

What do you want to search?

Before you implement a search function, you have to define what it is you are going to search. Do you mean channel titles, channel descriptions, or channel content?

The first two are easy enough, the third is insanely difficult.

There are "channel list" channels that will allow you to search the channel directory, which would cover off the first two cases above. UVic's is the best in my opinion, and can be found at http://www.lumdev.net/node/568.

Todd

php search function

What I did was write a php script that reads in a flat file made up of ChannelID, Channel Name, Channel Title, Channel Description, Channel KeyWord1, Channel KeyWord2, etc.
Then the script search each field to see if the field input matches. If it finds a match, it returns the channel title that they can click on to open it. The search doesn't weed out channels that they can't open due to roles, but I have a discaimer on the search return.

I even wrote a permissions script that allows content owners to add in their own keywords for each channel that they have permissions for. Then I wrote another script to track what search words were input, as well as what channels were clicked on after the search.

A few problems with this.
1. Instead of flat files, I would rather use a true database. At the time we didn't have the sql server going, now we do, so its time to rewrite this.
2. The search is only as good as what the channel owners add in for keywords.
3. I had to build the channel files for it to read, there isn't a way to automatically do it. Initial creation is easy, ongoing upkeep may be intensive.

Overall it works fairly well, since I am the only one who is supposed to create new channels, each time I create one I add it to the file. I also manage permissions, so as I grant channel ownership, I add the users into the permissions file.