hello I would like to make incremental search using ajax like below link. http://sphinx.pocoo.org/search.html?q=python
Currently I made search function using grep tool through Popen python function following code. def result(): from subprocess import * pipe = Popen( "grep -R -n \"web2py\" *, shell=True, stdout=PIPE) return TABLE(*[TR(result) for result in pipe.stdout.read().splitlines()]) But it's not working when loading a lot of files. So I wanna make incremental search function. Thanks in advance.

