From afb6dbcd97c39b6f7229cd1833731d6e6a8e968e Mon Sep 17 00:00:00 2001 From: Andrea Gazzarini Date: Fri, 17 Apr 2015 19:06:47 +0200 Subject: [PATCH] [ issue #47 ] Example of a response containing three kinds of facets --- solrdf/examples/facets-examples.xml | 155 ++++++++++++++++++ .../labs/solrdf/log/MessageCatalog.java | 2 +- 2 files changed, 156 insertions(+), 1 deletion(-) create mode 100644 solrdf/examples/facets-examples.xml diff --git a/solrdf/examples/facets-examples.xml b/solrdf/examples/facets-examples.xml new file mode 100644 index 0000000..8b2336a --- /dev/null +++ b/solrdf/examples/facets-examples.xml @@ -0,0 +1,155 @@ + + + + 0 + 542 + + SELECT ?o + WHERE + { ?s ?p ?o} + + + + + + + + + + + + b0 + + + + + 2002-11-21T00:00:00 + + + + + http://id.loc.gov/authorities/subjects + + + + + b0 + + + + + + + + + + + 980923 + 601112 + 511933 + 414729 + 414717 + 414705 + 414514 + 414363 + 414355 + 414355 + + + + + + + + 138805 + 7497 + 9189 + 6162 + 5396 + 5584 + 6103 + 8292 + 8156 + 8443 + 9587 + 6952 + 6254 + 6976 + 9647 + 8956 + 10179 + 10503 + 8132 + 8923 + 9148 + 11068 + 32236 + 28360 + 32652 + 4669 + 4203 + 2278 + 5 + + +1YEAR + 1970-01-10T17:00:00Z + 2015-01-10T17:00:00Z + + + + + + + 131727 + 1438 + 2037 + 2834 + 1036 + 2125 + 2980 + 1098 + 2882 + 2958 + + + + 22 + 18 + 13 + 12 + 10 + 9 + 8 + 8 + 7 + 6 + + + + + + + + diff --git a/solrdf/src/main/java/org/gazzax/labs/solrdf/log/MessageCatalog.java b/solrdf/src/main/java/org/gazzax/labs/solrdf/log/MessageCatalog.java index ffb1e37..cba471e 100644 --- a/solrdf/src/main/java/org/gazzax/labs/solrdf/log/MessageCatalog.java +++ b/solrdf/src/main/java/org/gazzax/labs/solrdf/log/MessageCatalog.java @@ -24,7 +24,7 @@ public interface MessageCatalog { String _00095_INVALID_CT = PREFIX + "-00095> : Unsupported / Unknown Content-type: %s"; String _00096_SELECTED_BULK_LOADER = PREFIX + "-00096> : Incoming stream with Content-type %s has been associated with %s"; String _00097_BULK_LOADER_REGISTRY_ENTRY = PREFIX + "-00097> : New Bulk Loader registry entry: %s => %s"; - String _00098_UPDATE_HANDLER_REGISTRY_ENTRY = PREFIX + "-00098> : New Bulk Loader registry entry: %s => %s"; + String _00098_UPDATE_HANDLER_REGISTRY_ENTRY = PREFIX + "-00098> : New Update Loader registry entry: %s => %s"; String _00099_INVALID_UPDATE_QUERY = PREFIX + "-00099> : Invalid (empty or null) query."; String _00100_INVALID_FACET_METHOD = PREFIX + "-00100> : Invalid facet method %s for facet object query %s"; String _00101_PREFIX_AND_NUMERIC_FIELD = PREFIX + "-00101> : " + FacetParams.FACET_PREFIX + " is not supported on numeric types.";