comparison 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
comparison
equal deleted inserted replaced
90:0dced626778b 91:76baf48ea36b
1 local Luan = require "luan:Luan.luan" 1 local Luan = require "luan:Luan.luan"
2 local error = Luan.error 2 local error = Luan.error
3 local Io = require "luan:Io.luan" 3 local Io = require "luan:Io.luan"
4 local Http = require "luan:http/Http.luan" 4 local Site_translator = require "luan:gpt/Site_translator.luan"
5 local get_lang = Site_translator.get_lang or error()
6 local text_writer = Site_translator.text_writer or error()
5 local Shared = require "site:/lib/Shared.luan" 7 local Shared = require "site:/lib/Shared.luan"
6 local head = Shared.head or error() 8 local head = Shared.head or error()
7 local needed_header = Shared.needed_header or error() 9 local needed_header = Shared.needed_header or error()
10 local luan_url = Shared.luan_url or error()
8 11
9 12
10 return function() 13 return function()
11 Io.stdout = Http.response.text_writer() 14 Io.stdout = text_writer()
12 %> 15 %>
13 <!doctype html> 16 <!doctype html>
14 <html> 17 <html lang="<%=get_lang()%>">
15 <head> 18 <head>
16 <% head() %> 19 <% head() %>
17 <title>Reactionary Software - Lucene Fork</title> 20 <title>Reactionary Software - Lucene Fork</title>
18 </head> 21 </head>
19 <body> 22 <body>
20 <% needed_header() %> 23 <% needed_header() %>
21 <div content> 24 <div content>
22 <h1>Lucene Fork</h1> 25 <h1>Lucene Fork</h1>
23 26
24 <p>My <a href="https://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> 27 <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>
25 28
26 <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> 29 <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>
27 30
28 <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> 31 <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>
29 </div> 32 </div>