A long time ago, back on DRK 3(*), there was a project released called Lindex. This was a ColdFusion wrapper to the open source Lucene search engine.
If you are the author of this code, or know the name of the person who developed this code, please contact me. I do not need a copy of the code - I've got that. I need to find the author.
- Don't know what the DRK is? Macromedia used to sell what was called a Developer Resource Kit. This was a CD with code for various technologies. Stuff like Galleon, Lighthouse Pro, Soundings, and other projects were born there. Sadly the DRK series was discontinued.
Archived Comments
Don't know if you've already found this or not, but it looks like someone at Macromedia:
http://www.adobe.com/cfusio...
Possibly Christian Cantrell, or if not he may have some idea who it was.
( http://weblogs.macromedia.c... )
Did it turn in to CFLucene? http://www.cflucene.org/
This project seems to be dead. I have contancted the owner a few times and go no reply.
I'm using the latest Lucene in ColdFusion. If you need implementation advice, feel free to contact me.
I always thought they should have just released all the DRKs after they discontinued them.
I'd love to see someone advance the Lucence/CF integration stuff. I'm pretty fed up with using Verity.
I'm fed up with Verity as well. Would be nice to see a clean and easy implementation of Lucene in CF.
MrBuzzy, what you got? :D
Sami
Sami, define 'clean and easy' :)
Simon,
Care to share?
Sami
Anyone got that clean and easy Lucene integration? Please share :)
Seriously, who has that clean and easy integration or any integration advice at all? I can't find anything current.
--Dave
How about we 'collaborate'... If y'all can agree on a few basic features, I'll prototype something (for RIAforge?) and we can take it from there :)
Unless Ray is already all over this one?
Nope, by my guest.
I am looking for the lucene to replace the Verity as well.
Please share your expereience, Simon.
Lindex is dated 2003, not sure it is still up to date.
Thanks
Hi Ray, any news on the subject?
Seriously, we need to get on this. Ray, did u hear anything else from anyone?
I don't believe so. Someone could start a new project for integrating with Lucene.
Hmmm. I played with this a bit today.
I've got to say - I'm turned on by it.
I may see if I can whip something up at MAX. I've got a few ideas already.
If you need someone to bounce ideas off of, or test some code, let me know. I'm willing to help.
Ok - first question Java peeps:
Check out this API:
http://lucene.zones.apache....
This is a field class I have no problem making an instance of in CF. Now look at Field.Store:
http://lucene.zones.apache....
It is a 'nested class'. For the life of me I can't make an instance of this. I thought maybe I could just use f.Store (where f is an instance of Field), but that didn't work either.
I don't get this - I offered to put something together and all I heard was crickets.
I've done Lucene 2.0 before. I will dig up what I did around the Field's inner classed.
Don't let me saying I wanted to play with it stop you from playing with it for sure!
Thanks for trying to help with the inner class thing. It's got to be easy and I'm just missing the obvious.
Interesting. Lucene can only index plain text. Which means if you want to index PDF, Word doc, whatever, you have to use other code. I'm a bit surprised by that.
So question - if my support for Lucene assumes you supply plain text, is it still useful? (Don't forget in CF8 you can get the text from a PDF.)
It is still very useful for large db installation.
And combined with CF & POI, where you can extract summaries from all sort of doc types, its also very powerful.
Lucene can also do its own caching.
I would start with text and db capabilities, and we can all work to adding additional functionality.
Try:
http://www.coldfusionjedi.c...
We are planning on deploying cf8 onto mac minis however the Verity issue is proving to be a real show stopper. Does Verity work on CF8 on OS X?
I have been playing with the CFLucene code from www.cflucene.org but I keep running into various problems - mainly because it was written for version 1.x and I am using version 2.x. I am currently running into an object instantiation error with the QueryParser.parse(). The error is occurring here:
<cfset qryParser = createObject("java", "org.apache.lucene.queryParser.QueryParser")/>
<cfset luceneQuery = qryParser.parse(javaCast("string", arguments.searchField)) />
Has anyone had any luck with getting Lucene to run? I got it to index but it falls over on the search and I am way out of my depth on the Java side of things.
I got it working - but am holding off releasing for a while.
@Ray, Any idea on a possible timescale/reasons for holding off?
I don't want to seem impatient but the fact that verity doesn't run on OS X even with CF8 is basically stopping the company from upgrading (keen to deploy on Mac Minis or X-serves) and I am stuck on CFMX6.1!! Desperate to get going with new projects using cf8 and now the lack of a viable search engine is a real problem. I really need Lucene to be a viable option. Is there anywhere I can post the code for someone to have a look and see a possible fix. As I said, I have the indexing working, it's just the search that is barfing.
What's frustrating (or what I have missed) is that Adobe do not mention anywhere in the CF8 docs that Verity doesn't run (in fact, doesn't install) on OS X. The CF8 installer doesn't even install any of the verity stuff as far as I can tell. Have I missed something?
What would it take to get Verity running on OS X? Or is that something that will never happen?
I feel dumb - I had released my demo already.
http://www.coldfusionjedi.c...
Guys, please see:
http://www.coldfusionjedi.c...
Hey Ray--found this post...long story...but I wrote Lindex. I know it's waaaaaay to late, but there you go.
-Drew
heh, thanks for responding... finally. ;)