THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Querying the CAS catalog direcly through Solr with a browser:
http://localhost:8080/solr/select/?q=:
Code Block |
---|
http://localhost:8080/solr/select/?q=*:* http://localhost:8080/solr/select/?q=science http://localhost:8080/solr/select/?q=CAS.ProductTypeName:GenericFile http://localhost:8080/solr/select/?q=CAS.ProductName:test.txt |
...
- Using the OODT query tool:
...
Code Block |
---|
cd /usr/local/oodt/cas-filemgr/bin ./filemgr-client --url http://localhost:9000 --operation --ingestProduct --productName test.txt --productStructure Flat --productTypeName GenericFile --metadataFile file:///tmp/test.txt.met --refs file:///tmp/test.txt ./filemgr-client -op --deleteProductByName --productName test.txt --url http://localhost:9000 ./filemgr-client -op --deleteProductById --productId 14324704-2afe-4267-acad-503baf3af1d4 --url http://localhost:9000 ./filemgr-client -op --hasProduct --productName test.txt --url http://localhost:9000 ./filemgr-client -op --getProductTypeByName --productTypeName GenericFile --url http://localhost:9000 ./filemgr-client -op --getNumProducts --productTypeName GenericFile --url http://localhost:9000 ./filemgr-client -op --getProductByName --productName test.txt --url http://localhost:9000 ./filemgr-client -op --getProductById --productId d749a67d-d012-4f55-b5ec-b53b6a91c676 --url http://localhost:9000 ./filemgr-client -op --dumpMetadata --productId d749a67d-d012-4f55-b5ec-b53b6a91c676 --url http://localhost:9000 ./filemgr-client -op --getFirstPage --productTypeName GenericFile --url http://localhost:9000 ./filemgr-client -op --getNextPage --curPage 1 --productTypeName GenericFile --url http://localhost:9000 ./filemgr-client -op --getPrevPage --curPage 2 --productTypeName GenericFile --url http://localhost:9000 ./filemgr-client -op --getLastPage --productTypeName GenericFile --url http://localhost:9000 |
...