Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #107869

Re: web facing static text db

From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Subject Re: web facing static text db
Date 2016-04-30 09:23 +1000
Message-ID <mailman.233.1461972213.32212.python-list@python.org> (permalink)
References <CADjSo4QJdxFP0nG1dwGZzRN8xKOSoiwdzRW3E0_SxBi65GcJdQ@mail.gmail.com> <CADjSo4TuRB6Fx4ExK9Z+HYMfTfwPAr6wEqAArnwTNza6dje9bQ@mail.gmail.com> <CAPTjJmpzPphezNPUDg=6aocdC5jjKbysBc28Ft46O+pCWByHrA@mail.gmail.com>

Show all headers | View raw


On Sat, Apr 30, 2016 at 8:29 AM, Fetchinson . via Python-list
<python-list@python.org> wrote:
> * store text documents (about 100000 pages)
> * the data set is static (i.e. only lookups are performed, no delete,
> no edit, no addition)
> * only one operation required: lookup of pages by matching words in them
> * very simple web frontend for querying the words to be matched
> * no authentication or authorization, frontend completely public
> * deployment at webfaction
> * deadline: yesterday :)
>
> Which web framework and db engine would you recommend?

PostgreSQL has decent facilities for text search. You can access that
from Python using the psycopg2 module, and use something like Flask to
help you put together your front end.

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: web facing static text db Chris Angelico <rosuav@gmail.com> - 2016-04-30 09:23 +1000

csiph-web