aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2012-05-07 20:47:01 +0200
committerChristian Weiske <cweiske@cweiske.de>2012-05-07 20:47:01 +0200
commit7c5ea8dded583601f29c7ea9bcb507ecbdd854d6 (patch)
tree53426dba320005d5f058250e20e239d454080d76 /src
parent3c83676016bce1727f0046f4aad7865be8a71fd4 (diff)
downloadphorkie-7c5ea8dded583601f29c7ea9bcb507ecbdd854d6.tar.gz
phorkie-7c5ea8dded583601f29c7ea9bcb507ecbdd854d6.zip
move elasticsearch code in one folder
Diffstat (limited to 'src')
-rw-r--r--src/phorkie/Database.php6
-rw-r--r--src/phorkie/Database/Adapter/Elasticsearch/Indexer.php (renamed from src/phorkie/Indexer/Elasticsearch.php)2
-rw-r--r--src/phorkie/Database/Adapter/Elasticsearch/Search.php (renamed from src/phorkie/Search/Elasticsearch.php)2
-rw-r--r--src/phorkie/Database/Adapter/Elasticsearch/Setup.php (renamed from src/phorkie/Database/Setup/Elasticsearch.php)2
4 files changed, 6 insertions, 6 deletions
diff --git a/src/phorkie/Database.php b/src/phorkie/Database.php
index e9a75a1..9854e7c 100644
--- a/src/phorkie/Database.php
+++ b/src/phorkie/Database.php
@@ -5,17 +5,17 @@ class Database
{
public function getSearch()
{
- return new Search_Elasticsearch();
+ return new Database_Adapter_Elasticsearch_Search();
}
public function getIndexer()
{
- return new Indexer_Elasticsearch();
+ return new Database_Adapter_Elasticsearch_Indexer();
}
public function getSetup()
{
- return new Database_Setup_Elasticsearch();
+ return new Database_Adapter_Elasticsearch_Setup();
}
}
diff --git a/src/phorkie/Indexer/Elasticsearch.php b/src/phorkie/Database/Adapter/Elasticsearch/Indexer.php
index 077865e..d9d1032 100644
--- a/src/phorkie/Indexer/Elasticsearch.php
+++ b/src/phorkie/Database/Adapter/Elasticsearch/Indexer.php
@@ -1,7 +1,7 @@
<?php
namespace phorkie;
-class Indexer_Elasticsearch
+class Database_Adapter_Elasticsearch_Indexer
{
public function __construct()
{
diff --git a/src/phorkie/Search/Elasticsearch.php b/src/phorkie/Database/Adapter/Elasticsearch/Search.php
index 06a0cfe..88ad4ac 100644
--- a/src/phorkie/Search/Elasticsearch.php
+++ b/src/phorkie/Database/Adapter/Elasticsearch/Search.php
@@ -1,7 +1,7 @@
<?php
namespace phorkie;
-class Search_Elasticsearch
+class Database_Adapter_Elasticsearch_Search
{
public function __construct()
{
diff --git a/src/phorkie/Database/Setup/Elasticsearch.php b/src/phorkie/Database/Adapter/Elasticsearch/Setup.php
index b5e2005..acbe77c 100644
--- a/src/phorkie/Database/Setup/Elasticsearch.php
+++ b/src/phorkie/Database/Adapter/Elasticsearch/Setup.php
@@ -1,7 +1,7 @@
<?php
namespace phorkie;
-class Database_Setup_Elasticsearch
+class Database_Adapter_Elasticsearch_Setup
{
public function __construct()
{