Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #50909
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <alec.taylor6@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.037 |
| X-Spam-Evidence | '*H*': 0.93; '*S*': 0.00; 'postgresql': 0.07; 'abstraction': 0.09; 'postgres': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'assume': 0.14; 'language.': 0.14; 'question.': 0.14; '10:49': 0.16; 'analysing': 0.16; 'mongodb,': 0.16; 'paradigms': 0.16; 'python",': 0.16; 'roy': 0.16; 'storing': 0.16; 'subject:search': 0.16; 'wrote:': 0.18; 'discussion': 0.18; 'basically': 0.19; 'community,': 0.19; 'possible,': 0.19; 'things.': 0.19; 'select': 0.22; 'cc:addr:python.org': 0.22; 'diverse': 0.24; 'cc:2**0': 0.24; 'right.': 0.26; 'header:In- Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'url:mailman': 0.30; 'layer': 0.31; 'there.': 0.32; 'figure': 0.32; 'url:python': 0.33; 'fri,': 0.33; 'maybe': 0.34; 'could': 0.34; 'case,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'implement': 0.38; 'pm,': 0.38; 'does': 0.39; 'url:mail': 0.40; 'how': 0.40; 'even': 0.60; 'range': 0.61; "you're": 0.61; "you've": 0.63; 'such': 0.63; 'central': 0.64; 'dear': 0.65; 'advantages': 0.68; 'smith': 0.68; 'jul': 0.74; 'article': 0.77; 'alec': 0.84; 'ideas.': 0.84; 'relations.': 0.84; 'subject:SQL': 0.84; '"how': 0.91; 'differences': 0.93; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/zVt48phsYyAA+i3FzTygbd8y57NX28drJoSkswwLnE=; b=yzAfrnYretJ7CIYdlVSvujOVkoxZnWIXuOkWGMtE68+gnHhD9wSAfA7mq192pgjNfR bVIAtSpg4afnCq9Gz7//2BDWivUyhHR5ErQe0C6g1EZD2glfPjtDj6xqOWcDltaWuc8f qLAl/0KqN7qOwCcTEahjyqnu0ZDhP++TI689Vrpq5/iA9f6CqaODpf5uOyu+ywqrvf4u dx3x9Khiq51QvVgwrM6AdRWHpW6SEEFqPSwtBbcFx9sTvsa4GPh0+nEcIJaaCW7OUnjr FkzgMtp3h+gMnsp7qH6ZAh3iV8PO5MxuJm5vyi7nA8mpoIwC7voyowsE7vkhgEmNZ7wz DOYw== |
| MIME-Version | 1.0 |
| X-Received | by 10.42.41.210 with SMTP id q18mr10840269ice.13.1374245751395; Fri, 19 Jul 2013 07:55:51 -0700 (PDT) |
| In-Reply-To | <roy-52F6B8.08493719072013@70-1-84-166.pools.spcsdns.net> |
| References | <mailman.4864.1374236715.3114.python-list@python.org> <roy-52F6B8.08493719072013@70-1-84-166.pools.spcsdns.net> |
| Date | Sat, 20 Jul 2013 00:55:51 +1000 |
| Subject | Re: Designing a Pythonic search DSL for SQL and NoSQL databases |
| From | Alec Taylor <alec.taylor6@gmail.com> |
| To | Roy Smith <roy@panix.com> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Cc | "comp.lang.python" <python-list@python.org> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4874.1374245753.3114.python-list@python.org> (permalink) |
| Lines | 38 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1374245753 news.xs4all.nl 15874 [2001:888:2000:d::a6]:59653 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:50909 |
Show key headers only | View raw
Hmm, looking at the capabilities of Redis; you're likely right. Would welcome discussion on the implementability and usefulness of a central search abstraction to the other stores mentioned. One thing could be that using the paradigm the database was made for is better than any advantages abstracting their differences creates. On Fri, Jul 19, 2013 at 10:49 PM, Roy Smith <roy@panix.com> wrote: > In article <mailman.4864.1374236715.3114.python-list@python.org>, > Alec Taylor <alec.taylor6@gmail.com> wrote: > >> Dear Python community, >> >> I am analysing designing an abstraction layer over a select few NoSQL >> and SQL databases. >> >> Specifically: >> >> - Redis, Neo4j, MongoDB, CouchDB >> - PostgreSQL > > This isn't really a Python question. > > Before you even begin to think about "how to do this in Python", you > need to think about "how to do this at all". You've got a huge range of > storage paradigms there. Redis is basically a key-value store. Mongo > does documents. Postgres does relations. I'm not familiar with Neo and > Couch, but I assume they also have their own interesting ways of storing > things. > > You need to figure out what it means to abstract search over such a > diverse range of technologies. I honestly don't think it's possible, > but maybe you've got some good ideas. In any case, you need to figure > that part out before you even begin to think about how to implement it > in any particular language. > -- > http://mail.python.org/mailman/listinfo/python-list
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Designing a Pythonic search DSL for SQL and NoSQL databases Alec Taylor <alec.taylor6@gmail.com> - 2013-07-19 22:25 +1000
Re: Designing a Pythonic search DSL for SQL and NoSQL databases Roy Smith <roy@panix.com> - 2013-07-19 08:49 -0400
Re: Designing a Pythonic search DSL for SQL and NoSQL databases Alec Taylor <alec.taylor6@gmail.com> - 2013-07-20 00:55 +1000
csiph-web