/[hyperestraier]/upstream/0.5.3/doc/pguide-en.html
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /upstream/0.5.3/doc/pguide-en.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

upstream/0.5.1/doc/pguide-en.html revision 2 by dpavlin, Fri Jul 29 21:56:53 2005 UTC upstream/0.5.2/doc/pguide-en.html revision 9 by dpavlin, Wed Aug 3 15:21:15 2005 UTC
# Line 38  Line 38 
38  <li><a href="#estdoc">API for Documents</a></li>  <li><a href="#estdoc">API for Documents</a></li>
39  <li><a href="#estcond">API for Search Conditions</a></li>  <li><a href="#estcond">API for Search Conditions</a></li>
40  <li><a href="#estdb">API for Database</a></li>  <li><a href="#estdb">API for Database</a></li>
41  <li><a href="#gatherer">Sample of Gatherer</a></li>  <li><a href="#gatherer">Example of Gatherer</a></li>
42  <li><a href="#searcher">Sample of Searcher</a></li>  <li><a href="#searcher">Example of Searcher</a></li>
43  <li><a href="#paralleling">Paralleling</a></li>  <li><a href="#paralleling">Paralleling</a></li>
44  </ol>  </ol>
45    
# Line 47  Line 47 
47    
48  <h2 id="introduction">Introduction</h2>  <h2 id="introduction">Introduction</h2>
49    
50  <p>This document describes how to use the API of Hyper Estraier.  If you have never read <a href="uguide-ja.html">the user's guide</a> yet, please do it beforehand.</p>  <p>This document describes how to use the API of Hyper Estraier.  If you have never read <a href="uguide-en.html">the user's guide</a> yet, please do it beforehand.</p>
51    
52  <p>The API enables to realize many requirements which is impossible with `estcmd' and `estsearch.cgi' only.  Whlie `estcmd' can handle documents as files, it is possible to make an application to handle records in a relational database as a document by using the library.  While `estseek.cgi' is accessed with a web browser, it is possible to make an application with a GUI based on the native OS.</p>  <p>The API enables to realize many requirements which is impossible with `estcmd' and `estsearch.cgi' only.  Whlie `estcmd' can handle documents as files, it is possible to make an application to handle records in a relational database as a document by using the library.  While `estseek.cgi' is accessed with a web browser, it is possible to make an application with a GUI based on the native OS.</p>
53    
# Line 352  est_cond_delete(cond); Line 352  est_cond_delete(cond);
352  <dd>`cond' specifies a condition object.</dd>  <dd>`cond' specifies a condition object.</dd>
353  </dl>  </dl>
354    
355  <p>The function `est_cond_set_phrase' is used in order to set a search phrase to a condition object.</p>  <p>The function `est_cond_set_phrase' is used in order to set the search phrase to a condition object.</p>
356    
357  <dl>  <dl>
358  <dt><kbd>void est_cond_set_phrase(ESTCOND *<var>cond</var>, const char *<var>phrase</var>);</kbd></dt>  <dt><kbd>void est_cond_set_phrase(ESTCOND *<var>cond</var>, const char *<var>phrase</var>);</kbd></dt>
# Line 593  if(!est_db_close(db, &amp;ecode)){ Line 593  if(!est_db_close(db, &amp;ecode)){
593    
594  <hr />  <hr />
595    
596  <h2 id="gatherer">Sample of Gatherer</h2>  <h2 id="gatherer">Example of Gatherer</h2>
597    
598  <p>The following is the simplest implementation of a gatherer.</p>  <p>The following is the simplest implementation of a gatherer.</p>
599    
# Line 617  int main(int argc, char **argv){ Line 617  int main(int argc, char **argv){
617    doc = est_doc_new();    doc = est_doc_new();
618    
619    /* add attributes to the document object */    /* add attributes to the document object */
620    est_doc_add_attr(doc, "@uri", "http://estraie.gov/example001.c");    est_doc_add_attr(doc, "@uri", "http://estraier.gov/example.txt");
621    est_doc_add_attr(doc, "@title", "Over the Rainbow");    est_doc_add_attr(doc, "@title", "Over the Rainbow");
622    
623    /* add the body text to the document object */    /* add the body text to the document object */
# Line 643  int main(int argc, char **argv){ Line 643  int main(int argc, char **argv){
643    
644  <hr />  <hr />
645    
646  <h2 id="searcher">Sample of Searcher</h2>  <h2 id="searcher">Example of Searcher</h2>
647    
648  <p>The following is the simplest implementation of a searcher.</p>  <p>The following is the simplest implementation of a searcher.</p>
649    

Legend:
Removed from v.2  
changed lines
  Added in v.9

  ViewVC Help
Powered by ViewVC 1.1.26