提交 9352fe27 authored 作者: Thomas Mueller's avatar Thomas Mueller

dynamic parameters example

上级 e05bede2
...@@ -153,7 +153,6 @@ public class Database implements DataHandler { ...@@ -153,7 +153,6 @@ public class Database implements DataHandler {
private boolean multiVersion; private boolean multiVersion;
private DatabaseCloser closeOnExit; private DatabaseCloser closeOnExit;
private Mode mode = Mode.getInstance(Mode.REGULAR); private Mode mode = Mode.getInstance(Mode.REGULAR);
// TODO change in version 1.2
private boolean multiThreaded; private boolean multiThreaded;
private int maxOperationMemory = SysProperties.DEFAULT_MAX_OPERATION_MEMORY; private int maxOperationMemory = SysProperties.DEFAULT_MAX_OPERATION_MEMORY;
private boolean lobFilesInDirectories = SysProperties.LOB_FILES_IN_DIRECTORIES; private boolean lobFilesInDirectories = SysProperties.LOB_FILES_IN_DIRECTORIES;
......
...@@ -243,13 +243,8 @@ public class Indexer { ...@@ -243,13 +243,8 @@ public class Indexer {
buff.append(ws); buff.append(ws);
} }
buff.append(page.id); buff.append(page.id);
// TODO compress weight
// buff.append(",");
// buff.append(weight.value);
} }
} }
// TODO optimization: could support "a name=" and go to _first_
// occurrence, or scan page and mark
output.println("ref['" + convertUTF(first) + "']='" + buff.toString() + "';"); output.println("ref['" + convertUTF(first) + "']='" + buff.toString() + "';");
output.println("// totalRelations: " + totalRelations); output.println("// totalRelations: " + totalRelations);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论