changeset 3:a19e0f3a6203

add lucene
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 08 Apr 2022 15:24:18 -0600
parents a247572ccaac
children 2cdaf431dc86
files src/lucene.html.luan src/needed.html.luan
diffstat 2 files changed, 34 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/lucene.html.luan	Fri Apr 08 15:24:18 2022 -0600
@@ -0,0 +1,33 @@
+local Luan = require "luan:Luan.luan"
+local error = Luan.error
+local Io = require "luan:Io.luan"
+local Http = require "luan:http/Http.luan"
+local Shared = require "site:/lib/Shared.luan"
+local head = Shared.head or error()
+local needed_header = Shared.needed_header or error()
+
+
+return function()
+	Io.stdout = Http.response.text_writer()
+%>
+<!doctype html>
+<html>
+	<head>
+<%		head() %>
+		<title>Reactionary Software - Lucene Fork</title>
+	<head>
+	<body>
+<%		needed_header() %>
+		<div content>
+			<h1>Lucene Fork</h1>
+
+			<p>My <a href="http://www.luan.software/">Luan</a> uses <a href="https://lucene.apache.org/core/">Lucene</a> as its database, but uses an <a href="https://lucene.apache.org/core/4_9_0/">old version</a> because everything that is maintained by modern programmers only gets worse over time.  While the core idea of Lucene is very good, modern programmers have been steadily making Lucene worse and more complicated.</p>
+
+			<p>There is no good reactionary database that I know of.  Lucene seems like the best starting point.  The two options are forking Lucene or rewriting it.  Either way, this is badly needed because any serious application needs a database.  I would be glad to help in any way that I can if someone would take this project.</p>
+
+			<p>One thing that Lucene lacks is a write-ahead log for durability.  I have implemented a write-ahead log myself on top of Lucene <a href="https://hg.luan.software/luan/file/default/src/goodjava/lucene/">here</a> but this really should be built directly into Lucene.</p>
+		</div>
+	</body>
+</html>
+<%
+end
--- a/src/needed.html.luan	Fri Apr 08 14:09:57 2022 -0600
+++ b/src/needed.html.luan	Fri Apr 08 15:24:18 2022 -0600
@@ -22,6 +22,7 @@
 			<h1>Needed Reactionary Software</h1>
 			<ul links>
 				<li><a href="/mercurial_hosting.html">Mercurial Hosting</a></li>
+				<li><a href="/lucene.html">Lucene Fork</a></li>
 			</ul>
 		</div>
 	</body>