diff --git a/src/consulta_solr.php b/src/consulta_solr.php new file mode 100644 index 0000000..1ff64df --- /dev/null +++ b/src/consulta_solr.php @@ -0,0 +1,97 @@ +search($query_content, 0, $limit); + } + catch (Exception $e) + { + // in production you'd probably log or email this error to an admin + // and then show a special message to the user but for this example + // we're going to show the full exception + die("
{$e->__toString()}");
+ }
+}
+
+?>
+
+
+ | + | + |
|---|