af3a143571e5aa064eab75c34f9444b35413b562
chmalee
  Tue Nov 30 15:28:15 2021 -0800
Add snippet support to trix searching. Required changing the
wordPos from the first highest matching wordIndex to the
wordIndex of the actual span. Have trixContextIndex create a
second level index for fast retrieval of line offsets in
original text file used by ixIxx. Create a simple UI for navigating
hgFind search results.

diff --git src/hg/searchExample/makefile src/hg/searchExample/makefile
new file mode 100644
index 0000000..9f06317
--- /dev/null
+++ src/hg/searchExample/makefile
@@ -0,0 +1,18 @@
+kentSrc = ../..
+include ../../inc/common.mk
+
+L += $(MYSQLLIBS) -lm
+MYLIBDIR = ../../lib/${MACHTYPE}
+MYLIBS =  $(MYLIBDIR)/jkhgapcgi.a $(MYLIBDIR)/jkhgap.a ${MYLIBDIR}/jkweb.a
+
+A = searchExample
+O = searchExample.o
+
+A = searchExample
+
+include ../../inc/cgi_build_rules.mk
+
+compile:: $O
+	${CC} $O ${MYLIBS} ${L}
+	mv ${AOUT} $A${EXE}
+