diff src/luan/modules/lucene/Web_search.luan @ 1407:1979cff9aad2

add sql/Web_query
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 20 Sep 2019 17:00:30 -0600
parents 9dfff82dfc59
children 4ba0377afa3e
line wrap: on
line diff
--- a/src/luan/modules/lucene/Web_search.luan	Wed Sep 18 09:19:58 2019 -0600
+++ b/src/luan/modules/lucene/Web_search.luan	Fri Sep 20 17:00:30 2019 -0600
@@ -3,7 +3,6 @@
 local pairs = Luan.pairs or error()
 local ipairs = Luan.ipairs or error()
 local range = Luan.range or error()
-local to_string = Luan.to_string or error()
 local stringify = Luan.stringify or error()
 local eval = Luan.eval or error()
 local Io = require "luan:Io.luan"
@@ -140,8 +139,8 @@
 	</head>
 	<body>
 		<h2>Lucene Results</h2>
-		<p><label>Query:</label> <b><%=html_encode(to_string(query))%></b></p>
-		<p><label>Sort:</label> <b><%=html_encode(to_string(sort))%></b></p>
+		<p><label>Query:</label> <b><%=html_encode(query)%></b></p>
+		<p><label>Sort:</label> <b><%=html_encode(sort)%></b></p>
 		<table>
 			<tr>
 				<th></th>