Changeset 5999 for trunk/gsdl3
- Timestamp:
- 2003-11-25T16:25:18+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/web/sites/localsite/collect/gberg/README
r5959 r5999 1 This collection is a demonstration collection for Greenstone3 and lucene. The aim is to demonstrate that you can have pretty much whatever you want as a collection as long as you have suitable services for it. The collection has not been built using Greenstone2 or Greenstone3 style building. Instead, simple java programs using the Lucene API have been created to do t ehindexing, and document retrieval is simply done from the original (actually slightly modified) XML documents.1 This collection is a demonstration collection for Greenstone3 and lucene. The aim is to demonstrate that you can have pretty much whatever you want as a collection as long as you have suitable services for it. The collection has not been built using Greenstone2 or Greenstone3 style building. Instead, simple java programs using the Lucene API have been created to do the indexing, and document retrieval is simply done from the original (actually slightly modified) XML documents. 2 2 3 To build this collection, you need to javac the files in the java directory. 4 Then in the gberg directory run 3 BUILDING 4 5 To build this collection (assuming you are starting from the gberg directory where this file is located): 6 7 cd java 8 javac *.java 9 cd .. 5 10 java -classpath $CLASSPATH:./java BuildXMLColl $GSDL3HOME/web/sites/localsite gberg 6 Then rename the building directory to index, and copy the buildConfig.xml file from the etc directory into the index directory. (I never got around to generating this from the build programs). 11 mv building index 12 cp etc/buildConfig.xml index 13 cp import/*.dtd $GSDL3HOME/resources/dtd/ 14 15 ABOUT THIS COLLECTION 7 16 8 17 This collection uses some custom xslt files which are found in the transform directory. Because document display is handled differently, it uses xd for the document action. In the interface config file, the xd action has been added, mapping to XMLDocumentAction, with separate xsl stylesheets for toc and text subactions. … … 20 29 document id, scope, tag name, gs3:id 21 30 22 document id refers to the work, and is generated from the original docume tn filename. eg origin.xml becameorigin.31 document id refers to the work, and is generated from the original document filename. eg origin.xml becomes origin. 23 32 24 33 XMLTagInfo provides lists of tags that are scopeable and indexable. Scopable tags are not necessarily indexed, but are recorded as part of the id as a scope. This is to speed up searching for the appropriate tag during retrieval. Scopeable tags should only occur once per document.
Note:
See TracChangeset
for help on using the changeset viewer.