Ignore:
Timestamp:
2012-10-31T21:53:35+13:00 (11 years ago)
Author:
ak19
Message:

Added notes to the README on how to manually index a doc into GSearch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/fedora/trunk/src/README

    r26434 r26435  
    1515    Installing Fedora GSearch
    1616    Debugging
     17    Manually indexing docs with GSearch
    1718
    1819
     
    648649
    649650
    650 ********************************************************************************************************************
     651**************************************
     652MANUALLY INDEXING DOCS WITH GSEARCH
     653**************************************
     654
     6551. GS3> packages/tomcat/webapps/fedoragsearch/client/runRESTClient.sh <host>:<port> updateIndex fromPID <DOCID of form greenstone:COLNAME-ID>
     656
     657Need to provide the fedora username of "fedoraAdmin" and the fedora password, as defined in build.properties when installing fedora.
     658
     6592. Further commands:
     660
     661GS3/packages/tomcat/webapps/fedoragsearch/client>java -Xms64m -Xmx96m -Dfedoragsearch.fgsUserName=$fgsUserName -Dfedoragsearch.fgsPassword=$fgsPassword -cp ../WEB-INF/classes:$JARS dk.defxws.fedoragsearch.client.RESTClient
     662
     663Args
     664Usage
     665host:port updateIndex # shows number of index documents #
     666host:port updateIndex createEmpty [indexName] # index dir must exist #
     667host:port updateIndex fromFoxmlFiles [repositoryName [filePath [indexName [indexDocXslt]]]]
     668host:port updateIndex fromPid pid [repositoryName [indexName [indexDocXslt]]]
     669host:port updateIndex deletePid pid [indexName]
     670host:port updateIndex optimize [indexName]
     671host:port browseIndex startTerm fieldName [indexName [termPageSize [resultPageXslt]]]
     672host:port gfindObjects query [indexName [hitPageStart [hitPageSize [snippetsMax [fieldMaxLength [sortFields [resultPageXslt]]]]]]]
     673host:port getRepositoryInfo [repositoryName [resultPageXslt]]
     674host:port getIndexInfo [indexName [resultPageXslt]]
     675host:port configure [configName [propertyName propertyValue]]
     676host:port ?operation=...&...=...&...
     677host:port may be [protocol://]host:port[/webappname/restname], default is http://host:port/fedoragsearch/rest
     678
     679********************************************************************************************************************
Note: See TracChangeset for help on using the changeset viewer.