2017 © Pedro Peláez
 

library elasticsearch-engine

Provides an Elasticsearch engine to the Search Framework library by leveraging the Elastica project.

image

cpliakas/elasticsearch-engine

Provides an Elasticsearch engine to the Search Framework library by leveraging the Elastica project.

  • Friday, February 15, 2013
  • by cpliakas
  • Repository
  • 1 Watchers
  • 4 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Overview

This library integrates the Elastica project with the Search Framework library. The following code is an example of how to index RSS feeds into Elasticsearch., (*1)


use Search\Framework\Indexer; use Search\Framework\SearchServiceEndpoint; use Search\Collection\Feed\FeedCollection; // @see https://github.com/cpliakas/feed-collection use Search\Engine\Elasticsearch\Elasticsearch; // @see https://github.com/cpliakas/elasticsearch-engine require 'vendor/autoload.php'; // Instantiate a collection that references the Drupal Planet feed. Collections // are simply connectors to and models of the source data being indexed. $drupal_planet = new FeedCollection('feed.drupal'); $drupal_planet->setFeedUrl('http://drupal.org/planet/rss.xml'); // Connect to an Elasticsearch server. $elasticsearch = new Elasticsearch(new SearchEngineEndpoint('local', 'localhost', 'feeds', 9200)); // Instantiate an indexer, attach the collection, and index it. $indexer = new Indexer($elasticsearch); $indexer->attachCollection($drupal_planet); $indexer->createIndex(); $indexer->index();

The Versions

15/02 2013

dev-master

9999999-dev https://github.com/cpliakas/elasticsearch-engine

Provides an Elasticsearch engine to the Search Framework library by leveraging the Elastica project.

  Sources   Download

LGPL-3.0

The Requires

 

by Chris Pliakas

search elasticsearch elastica search-framework

15/02 2013

1.0.0-alpha4

1.0.0.0-alpha4 https://github.com/cpliakas/elasticsearch-engine

Provides an Elasticsearch engine to the Search Framework library by leveraging the Elastica project.

  Sources   Download

LGPL-3.0

The Requires

 

by Chris Pliakas

search elasticsearch elastica search-framework

11/02 2013

1.0.0-alpha3

1.0.0.0-alpha3 https://github.com/cpliakas/elasticsearch-service

Provides an Elasticsearch service to the Search Framework library by leveraging the Elastica project.

  Sources   Download

LGPL-3.0

The Requires

 

by Chris Pliakas

search elasticsearch elastica search-framework

01/02 2013

1.0.0-alpha2

1.0.0.0-alpha2 https://github.com/cpliakas/elastica-search-server

Provides an Elasticsearch server to the Search Framework library by leveraging the Elastica project.

  Sources   Download

LGPL-3.0

The Requires

 

by Chris Pliakas

search elasticsearch elastica search-framework

31/01 2013

1.0.0-alpha1

1.0.0.0-alpha1 https://github.com/cpliakas/elastica-search-server

Provides an Elasticsearch server to the Search Framework library by leveraging the Elastica project.

  Sources   Download

LGPL-3.0

The Requires

 

by Chris Pliakas

search elasticsearch elastica search-framework