Skip to content

Instantly share code, notes, and snippets.

@jtuple
Created August 9, 2011 21:09
Show Gist options
  • Save jtuple/1135206 to your computer and use it in GitHub Desktop.
Save jtuple/1135206 to your computer and use it in GitHub Desktop.
:: Running Test Package 'delete_test'...
:: Updating schema for 'test'...
:: Done.
:: Indexing documents...
:: Running Solr document(s) '../_files/sample100/solr_add.xml'...
Starting...
Indexer <7887.2734.0> - 100.0 % - 32.0 KB/sec - 1/1 files - 0 seconds
Finished.
:: Verify that the data was written.
[√] PASS QUERY » key:keyAAA
[√] PASS QUERY » key:keyAJJ
[√] PASS QUERY » acc:AAA
:: Delete data by Id.
:: Running Solr document(s) '../_files/sample100/solr_delete_by_id.xml'...
Starting...
Indexer <7887.2734.0> - 99.4 % - 0.2 KB/sec - 1/1 files - 0 seconds
Finished.
[√] PASS QUERY » key:keyAAA
[√] PASS QUERY » acc:AAA
:: Delete by Index:Id.
:: Running Solr document(s) '../_files/sample100/solr_delete_by_index_id.xml'...
Starting...
Indexer <7887.2734.0> - 99.5 % - 0.2 KB/sec - 1/1 files - 0 seconds
Finished.
[√] PASS QUERY » key:keyABA
[√] PASS QUERY » acc:AAA
:: Delete by Query.
[√] PASS QUERY » acc:AJA
[√] PASS EXISTS » _rsid_test/idAJA
:: Running Solr document(s) '../_files/sample100/solr_delete_by_query.xml'...
Starting...
Indexer <7887.2734.0> - 97.7 % - 0.0 KB/sec - 1/1 files - 0 seconds
Finished.
:: Verify proxy object has been deleted.
[√] PASS NON-EXISTS » _rsid_test/idAJA
[√] PASS QUERY » key:keyAJA
[√] PASS QUERY » acc:AAA
[√] PASS QUERY » acc:AJA
:: Verify proxy object is deleted for local docs
:: Indexing path '../_files/docs'...
Starting...
Indexer <7887.2734.0> - 0.0 % - 0.0 KB/sec - 0/0 files - 0 seconds
Finished.
[ ] FAIL EXISTS » _rsid_test/doc1
:: De-Indexing path '../_files/docs'...
Starting...
Indexer <7887.2734.0> - 0.0 % - 0.0 KB/sec - 0/0 files - 0 seconds
Finished.
[√] PASS NON-EXISTS » _rsid_test/doc1
:: Veify proxy object is delete for indexed KV objects
[√] PASS EXISTS » _rsid_test/obj1
[√] PASS NON-EXISTS » _rsid_test/obj1
:: De-indexing documents...
:: Running Solr document(s) '../_files/sample100/solr_delete_all.xml'...
Starting...
Indexer <7887.2734.0> - 99.9 % - 1.3 KB/sec - 1/1 files - 0 seconds
Finished.
:: Done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment