Hi Robin,
I have been trought pretty much the same evaluation trip (and share  
your findings).
I ended writting a basic database- base search dingie that works fine  
for small documents sets ( < 1k documents ).
For bigger sets, I'll rather install Tomcat + Lucene and expose  
Lucene trough XMLRPC using Jython.

You can get a sample TG app that excersize the indexer here:

http://www.checkandshare.com/TG_INDEX/indexer.zip

The README.txt inside the zip explains how to setup/run the demo.
I plan to write a tutorial explaining the approach, but time ain't my  
friend.

Cheers
Ronald


On May 12, 2006, at 2:00 PM, Robin Haswell wrote:

>
> Hey guys
>
> Let's face it, every application on the web these days need some  
> form of
> search, and as far as I can see, TG + SO/any ORM is going to make that
> tricky.
>
> So I was wondering, should we be thinking about a portable way of
> providing search for TG apps? Or at least, I think we should  
> provide an
> integration method for something which is quite easily obtainable, if
> not shipped with TG itself.
>
> I think we have at least two options:
>
>
> 1. PyLucene (http://pylucene.osafoundation.org/)
>
> Pros
> ----
>
> * Stable, well-maintained project
> * Core engine used in a billion different things
> * Lots of packages
>
> Cons
> ----
>
> * Appears to be a Java hack
> * Stems from a Java project
> * Did I mention Java?
> * Looks a bit heavyweight
>
>
> 2. XapWrap (http://divmod.org/projects/xapwrap)
>
> Pros
> ----
>
> * Looks quite simple to use
> * Very Pythonic
> * Under active development
> * Cool name
>
> Cons
> ----
>
> * Somewhat immature at the moment
> * Not full-featured (eg no stemming - do we care?)
> * Current documentation appears to consist of a few docstrings
>
>
> Personally I would prefer XapWrap, however I need a search engine  
> right
> now and for internal reasons I'm going to give PyLucene a spin. I'll
> report back what I think of it.
>
> Anyway that's my $0.02 - I hope we can have a good discussion about  
> this.
>
> -Rob
>
> >

________________________________
Ronald Jaramillo
mail: ronald AT checkandshare DOT com
blog: http://www.checkandshare.com/blog




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to