Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'framework.': 0.07; 'cc:addr:python-list': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'index': 0.13; 'suggest': 0.15; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'index.': 0.16; 'message- id:@fido.openend.se': 0.16; 'received:89.233': 0.16; 'received:89.233.217': 0.16; 'received:89.233.217.133': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'subject:Engine': 0.16; 'laura': 0.18; '2015': 0.20; 'cc:addr:python.org': 0.20; 'cc:2**1': 0.22; '(by': 0.22; 'trying': 0.22; 'slightly': 0.23; 'header:In-Reply-To:1': 0.24; 'rest': 0.26; 'fri,': 0.27; '-0700,': 0.29; 'received:se': 0.29; 'cc:no real name:2**1': 0.29; 'task': 0.30; 'add': 0.34; 'could': 0.35; 'url:org': 0.36; 'subject:: ': 0.37; 'charset:us-ascii': 0.37; 'does': 0.39; 'well.': 0.40; 'subject:with': 0.40; 'group,': 0.60; 'header:Message-Id:1': 0.61; 'documents': 0.61; 'email addr:gmail.com': 0.62; 'jul': 0.72; 'received:89': 0.80; '>if': 0.84; 'subject:Search': 0.84; 'esteemed': 0.91 To: subhabrata.banerji@gmail.com cc: python-list@python.org, lac@openend.se From: Laura Creighton Subject: Re: Combing Search Engine with REST In-Reply-To: Message from subhabrata.banerji@gmail.com of "Fri, 10 Jul 2015 04:46:25 -0700." References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <22329.1436529983.1@fido> Date: Fri, 10 Jul 2015 14:06:23 +0200 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [89.233.217.130]); Fri, 10 Jul 2015 14:06:25 +0200 (CEST) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1436529994 news.xs4all.nl 2962 [2001:888:2000:d::a6]:58394 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:93632 In a message of Fri, 10 Jul 2015 04:46:25 -0700, subhabrata.banerji@gmail.com writes: >Dear Group, > >I am trying to make a search engine. I used Whoosh to do it. >I want to add documents to it. This is going fine. >Now, I want to add documents in the index with REST framework. >I could learn Flask well. >My task is to use Flask to add documents (by using put/post) to index. >I am slightly confused how may I do it. > >If any one of esteemed members of the group may suggest. > >Regards, >Subhabrata Banerjee. I suggest you look at https://pythonhosted.org/Flask-WhooshAlchemy/ and see if it does what you want. Laura