--- texttool-architecture/soft-cgi.tex 2004/01/13 11:26:11 1.9 +++ texttool-architecture/soft-cgi.tex 2004/01/16 11:21:14 1.13 @@ -141,6 +141,34 @@ get a page of text from a work from defa \subsubsection{Indexing} \label{sec:indexing} +\paragraph{Status quo ECHO} +Currently indexing is not implemented on the ECHO server. + +\paragraph{Plan ECHO} + +\begin{enumeration} +\item construct remote (141.14.236.86) index for each file at + per-change or daily intervals +\item store indices locally in +archimedes/data/db/PROJECT_NAME/CORPUS_NAME/WORK +\item 2 progs on server 1. cgi: indexer 2. backend da_remote +\item 2 progs on client 1. cgi: sendindex 2. backend getindex +\item indexing transaction handled by two cgi scripts, one on the + server the other on the client [this is the 1st implementation bcs + its easiest and there are no port issues, but probably it'd be + better to have a separate port]. +\item client cgi: getindex -- sends 1. list of files to index + 2. uri to which xml notification of completion is to be sent. Upon + notification, activates backend prog that fetches and installs the + indices. +\item server cgi: indexer receives filelist and notification + addess. Activates backend that fetches files, indexes, places + completed indexes in a networked location, then sends xml + notification back to client. +\item single script provides backend access to indices +\item leave front-end issues like display, collection and navigation + to web-design programmers. Do only a sample for now. +\end{enumeration} \subsubsection{Morphology} \label{sec:morphology}