aboutsummaryrefslogtreecommitdiffstats
path: root/script/single-solr-query
diff options
context:
space:
mode:
Diffstat (limited to 'script/single-solr-query')
-rwxr-xr-xscript/single-solr-query8
1 files changed, 8 insertions, 0 deletions
diff --git a/script/single-solr-query b/script/single-solr-query
new file mode 100755
index 000000000..42c68f7fe
--- /dev/null
+++ b/script/single-solr-query
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+# Test solr
+
+LOC=`dirname $0`
+
+$LOC/runner 'STDOUT.write(InfoRequest.full_search("'$1'", "created_at desc", 10, 1, false).results.to_yaml)'
+