Mercurial Hosting > luan
comparison lucene/src/luan/modules/lucene/Web_search.luan @ 549:c69b4833a3a3
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 15 Jun 2015 18:33:48 -0600 |
parents | f4dfe9c64c25 |
children | b2139b21b49c |
comparison
equal
deleted
inserted
replaced
548:f4dfe9c64c25 | 549:c69b4833a3a3 |
---|---|
121 return n | 121 return n |
122 end | 122 end |
123 | 123 |
124 | 124 |
125 function M.of(index) | 125 function M.of(index) |
126 index or error "index is nil" | |
126 | 127 |
127 return function() | 128 return function() |
128 Io.stdout = Http.response.text_writer() | 129 Io.stdout = Http.response.text_writer() |
129 local query = Http.request.parameter.query | 130 local query = Http.request.parameter.query |
130 if query == nil then | 131 if query == nil then |