[sqlalchemy] Re: Basic Search Engine

2009-05-11 Thread fluence
@Paul I have been having a play with [py]parsing. What a nifty little library! I read those 2 free tutes and liked what I saw so bought a subscription to safari just so I could read your short cut. For my purposes (a few k objects at most, generally a few hundred) a non indexed and inefficient

[sqlalchemy] Re: Basic Search Engine

2009-05-11 Thread fluence
I apologise for the formatting. How does one go about posting snippets inline properly? In the future I think I'll just post links to pastes. Paste of the above code: http://pastie.org/474342 --~--~-~--~~~---~--~~ You received this message because you are

[sqlalchemy] Re: Basic Search Engine

2009-05-11 Thread Paul McGuire
On May 11, 6:20 am, fluence ndudfi...@gmail.com wrote: @Paul I have been having a play with [py]parsing. What a nifty little library! I read those 2 free tutes and liked what I saw so bought a subscription to safari just so I could read your short cut. Glad to hear that pyparsing is

[sqlalchemy] Re: Basic Search Engine

2009-05-10 Thread Michael Trier
It may not be what you want but have you explored our full text search support through the use of the match operator? On May 10, 2009, at 6:13 AM, Nicholas Dudfield ndudfi...@gmail.com wrote: Greetings, I have been using SQLA for a few months. For admin CRUD index pages I have been

[sqlalchemy] Re: Basic Search Engine

2009-05-10 Thread Paul McGuire
On May 10, 5:13 am, Nicholas Dudfield ndudfi...@gmail.com wrote: Greetings, I have been using SQLA for a few months. For admin CRUD index pages I have been using a naive search_keywords function as seen at end of message. Instead of using a primitive shlex.split, which incidentally is

[sqlalchemy] Re: Basic Search Engine

2009-05-10 Thread fluence
@Michael No, I'm about as new to sql as I am to sqlalchemy. I'll have to look into it. Thanks @Paul Thanks, I'll look into that. I had found searchparser.py but was just wondering if anyone had already adapted it to work with sqlalchemy querys. On May 11, 8:21 am, Paul McGuire