From 5f0eb5b56383a9c84a2ad9db5854e4bb0f64e82c Mon Sep 17 00:00:00 2001 From: Jared Whiklo Date: Fri, 5 Jun 2015 19:22:36 -0500 Subject: [PATCH] Adding apachesolr indexing --- islandora_apachesolr/islandora_apachesolr.info | 6 ++++++ islandora_apachesolr/islandora_apachesolr.module | 15 +++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 islandora_apachesolr/islandora_apachesolr.info create mode 100644 islandora_apachesolr/islandora_apachesolr.module diff --git a/islandora_apachesolr/islandora_apachesolr.info b/islandora_apachesolr/islandora_apachesolr.info new file mode 100644 index 00000000..8a365b6c --- /dev/null +++ b/islandora_apachesolr/islandora_apachesolr.info @@ -0,0 +1,6 @@ +name = Islandora Apache Solr Integration +description = A module which allows the Solr indexing and searching of Islandora resources. +core = 7.x +package = Islandora +dependencies[] = apachesolr +dependencies[] = uuid \ No newline at end of file diff --git a/islandora_apachesolr/islandora_apachesolr.module b/islandora_apachesolr/islandora_apachesolr.module new file mode 100644 index 00000000..61fab698 --- /dev/null +++ b/islandora_apachesolr/islandora_apachesolr.module @@ -0,0 +1,15 @@ + 0 && isset($entity->uuid)) { + $documents[0]->ss_uuid = $entity->uuid; + } +} +