3
|
1 local Luan = require "luan:Luan.luan"
|
|
2 local error = Luan.error
|
|
3 local Io = require "luan:Io.luan"
|
|
4 local Http = require "luan:http/Http.luan"
|
|
5 local Shared = require "site:/lib/Shared.luan"
|
|
6 local head = Shared.head or error()
|
|
7 local needed_header = Shared.needed_header or error()
|
|
8
|
|
9
|
|
10 return function()
|
|
11 Io.stdout = Http.response.text_writer()
|
|
12 %>
|
|
13 <!doctype html>
|
|
14 <html>
|
|
15 <head>
|
|
16 <% head() %>
|
|
17 <title>Reactionary Software - Lucene Fork</title>
|
15
|
18 </head>
|
3
|
19 <body>
|
|
20 <% needed_header() %>
|
|
21 <div content>
|
|
22 <h1>Lucene Fork</h1>
|
|
23
|
|
24 <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>
|
|
25
|
|
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>
|
|
27
|
|
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.luan.software/luan/file/default/src/goodjava/lucene/">here</a> but this really should be built directly into Lucene.</p>
|
|
29 </div>
|
|
30 </body>
|
|
31 </html>
|
|
32 <%
|
|
33 end
|