view src/lucene.html.luan @ 91:76baf48ea36b

add translation
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 02 May 2025 17:17:52 -0600
parents 32be9862e1cc
children
line wrap: on
line source

local Luan = require "luan:Luan.luan"
local error = Luan.error
local Io = require "luan:Io.luan"
local Site_translator = require "luan:gpt/Site_translator.luan"
local get_lang = Site_translator.get_lang or error()
local text_writer = Site_translator.text_writer or error()
local Shared = require "site:/lib/Shared.luan"
local head = Shared.head or error()
local needed_header = Shared.needed_header or error()
local luan_url = Shared.luan_url or error()


return function()
	Io.stdout = text_writer()
%>
<!doctype html>
<html lang="<%=get_lang()%>">
	<head>
<%		head() %>
		<title>Reactionary Software - Lucene Fork</title>
	</head>
	<body>
<%		needed_header() %>
		<div content>
			<h1>Lucene Fork</h1>

			<p>My <a href="<%=luan_url()%>/">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.reactionary.software/repo/luan/file/default/src/goodjava/lucene/">here</a> but this really should be built directly into Lucene.</p>
		</div>
	</body>
</html>
<%
end