annotate run.gui_sh @ 58:9cef3d27f2e8

Improved search Now collecting title, content and tags into an indexed (but not stored) 'search' field and searching that field by default. Now search query isn't doubled (before it searched title and content separately), but each card to document conversion might take double the memory because of title, content and tag concencation. Which shouldn't be a big deal, since cards usually don't contain a lot of text.
author Fox
date Fri, 23 Dec 2022 15:01:23 +0100
parents 4ee26d904fe3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
4e9f2e87eb7b Repository start, basic interface mockups
Fox
parents:
diff changeset
1 #!/bin/sh
4e9f2e87eb7b Repository start, basic interface mockups
Fox
parents:
diff changeset
2
4e9f2e87eb7b Repository start, basic interface mockups
Fox
parents:
diff changeset
3 #export _JAVA_AWT_WM_NONREPARENTING=1
7
4ee26d904fe3 Added card identifier, move execution current directory to './run'
Fox
parents: 1
diff changeset
4 export CLASSPATH=../src:../build:../lib/lucene-core-3.0.3.jar
0
4e9f2e87eb7b Repository start, basic interface mockups
Fox
parents:
diff changeset
5 #JAVA=/usr/lib/jvm/java-8-openjdk-amd64/bin/java
4e9f2e87eb7b Repository start, basic interface mockups
Fox
parents:
diff changeset
6
7
4ee26d904fe3 Added card identifier, move execution current directory to './run'
Fox
parents: 1
diff changeset
7 if [ ! -d './run' ]; then
4ee26d904fe3 Added card identifier, move execution current directory to './run'
Fox
parents: 1
diff changeset
8 mkdir ./run
0
4e9f2e87eb7b Repository start, basic interface mockups
Fox
parents:
diff changeset
9 fi
4e9f2e87eb7b Repository start, basic interface mockups
Fox
parents:
diff changeset
10
7
4ee26d904fe3 Added card identifier, move execution current directory to './run'
Fox
parents: 1
diff changeset
11 cd ./run
4ee26d904fe3 Added card identifier, move execution current directory to './run'
Fox
parents: 1
diff changeset
12
4ee26d904fe3 Added card identifier, move execution current directory to './run'
Fox
parents: 1
diff changeset
13 if [ ! -d '../build' ]; then
4ee26d904fe3 Added card identifier, move execution current directory to './run'
Fox
parents: 1
diff changeset
14 mkdir ../build/
4ee26d904fe3 Added card identifier, move execution current directory to './run'
Fox
parents: 1
diff changeset
15 fi
4ee26d904fe3 Added card identifier, move execution current directory to './run'
Fox
parents: 1
diff changeset
16
4ee26d904fe3 Added card identifier, move execution current directory to './run'
Fox
parents: 1
diff changeset
17 javac -d ../build $(find ../src -name '*.java' | xargs) && java junotu.Main