Changeset 36461
- Timestamp:
- 2022-08-23T14:13:47+12:00 (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documented-examples/trunk/manifest-demo-e/resources/collectionConfig.properties
r36460 r36461 16 16 description=<h3>Features of this collection</h3> \n\ 17 17 <ul> \n\ 18 <li>Uses luceneto do incremental build.</li> \n\19 <li>Uses OIDtype dirnameto make it easy to specify document ids for deletion.</li> \n\20 <li> importfolder and import.extra folder with additional material.</li> \n\21 <li> manifestsfolder contains the manifest files.</li> \n\18 <li>Uses <tt>lucene</tt> to do incremental build.</li> \n\ 19 <li>Uses OIDtype <tt>dirname</tt> to make it easy to specify document ids for deletion.</li> \n\ 20 <li><tt>import</tt> folder and import.extra folder with additional material.</li> \n\ 21 <li><tt>manifests</tt> folder contains the manifest files.</li> \n\ 22 22 <li>Index, Reindex, Delete.</li> \n\ 23 <li>Filename/OID Uses command line building.</li> \n\23 <li>Filename/OID uses command line building.</li> \n\ 24 24 </ul> \n\ 25 25 … … 28 28 29 29 description1=<p>1. Build the collection initially:<br /> \n\ 30 <pre>perl -S import.pl documented-examples/manifest-demo-e \n\ 31 perl -S buildcol.pl documented-examples/manifest-demo-e</pre> \n\ 32 And rename folder <tt>building</tt> to <tt>index</tt>.<br /> \n\ 30 <pre>perl -S import.pl -site localsite documented-examples/manifest-demo-e \n\ 31 perl -S buildcol.pl -site localsite -activate documented-examples/manifest-demo-e</pre> \n\ 32 <i>Note:</i> If you forget to pass in the <tt>-activate</tt> flag to the <tt>buildcol</tt> command, use a file explorer to go into your Greenstone 3 installations's <tt>web/sites/localsite/collect/documented-examples/manifest-demo-e</tt> folder, and rename the <tt>building</tt> subfolder there to <tt>index</tt>.)<br /> \n\ 33 <br /> \n\ 33 34 Preview the collection. Contains 8 documents, 5 from BOSTID and 3 from EC Courier.</p><br /> 34 35 … … 37 38 Copy the three folders fb33fe fb34fe wb34te from import.extra into import. \n\ 38 39 <br /> \n\ 39 <pre>perl -S incremental-import.pl - manifest manifests/add-new-files.xml documented-examples/manifest-demo-e \n\40 perl -S incremental-buildcol.pl documented-examples/manifest-demo-e</pre> \n\40 <pre>perl -S incremental-import.pl -site localsite -manifest manifests/add-new-files.xml documented-examples/manifest-demo-e \n\ 41 perl -S incremental-buildcol.pl -site localsite -activate documented-examples/manifest-demo-e</pre> \n\ 41 42 \n\ 42 43 Now there should be FAO Better Farming Documents, and one World Bank document.</p><br /> 43 44 44 45 description3=<p>3. Delete some documents from the collection.<br /> \n\ 45 <pre>perl -S incremental-import.pl - manifest manifests/delete-some-files.xml documented-examples/manifest-demo-e \n\46 perl -S incremental-buildcol.pl documented-examples/manifest-demo-e</pre> \n\46 <pre>perl -S incremental-import.pl -site localsite -manifest manifests/delete-some-files.xml documented-examples/manifest-demo-e \n\ 47 perl -S incremental-buildcol.pl -site localsite -activate documented-examples/manifest-demo-e</pre> \n\ 47 48 \n\ 48 Note that we haven't actually deleted the docs from the import folder. Just from the archives and index.<br /> \n\49 Note that we haven't actually deleted the docs from the import folder. Just from the collection's <tt>archives</tt> and <tt>index</tt> subfolders.<br /> \n\ 49 50 Now the EC Courier documents should be gone.</p><br /> 50 51 … … 53 54 Copy import.extra/fb34fe-metadata.xml to import/fb34fe/metadata.xml \n\ 54 55 \n\ 55 perl -S incremental-import.pl - manifest manifests/new-metadata.xml documented-examples/manifest-demo-e \n\56 perl -S incremental-buildcol.pl documented-examples/manifest-demo-e</pre> \n\56 perl -S incremental-import.pl -site localsite -manifest manifests/new-metadata.xml documented-examples/manifest-demo-e \n\ 57 perl -S incremental-buildcol.pl -site localsite -activate documented-examples/manifest-demo-e</pre> \n\ 57 58 \n\ 58 59 Preview and the new metadata should be there.</p>
Note:
See TracChangeset
for help on using the changeset viewer.