2017 © Pedro Peláez
 

library solr-search-engine

Provides a Solr search engine to the Search Framework library by leveraging the Solarium project.

image

cpliakas/solr-search-engine

Provides a Solr search engine to the Search Framework library by leveraging the Solarium project.

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

The README.md

Overview

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


use Search\Framework\Indexer; use Search\Framework\SearchServiceEndpoint; use Search\Collection\Feed\FeedCollection; // @see https://github.com/cpliakas/feed-collection use Search\Engine\Solr\Solr; 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 a Solr server. $solr = new Solr(new SearchEngineEndpoint('local', 'http://localhost', '/solr', 8983)); // Instantiate an indexer, attach the collection, and index it. $indexer = new Indexer($solr); $indexer->attachCollection($drupal_planet); $indexer->createIndex(); $indexer->index();

The Versions

15/02 2013

dev-master

9999999-dev https://github.com/cpliakas/solr-search-engine

Provides a Solr search engine to the Search Framework library by leveraging the Solarium project.

  Sources   Download

LGPL-3.0

The Requires

 

by Chris Pliakas

search solr solarium search-framework

15/02 2013

1.0.0-alpha4

1.0.0.0-alpha4 https://github.com/cpliakas/solr-search-engine

Provides a Solr search engine to the Search Framework library by leveraging the Solarium project.

  Sources   Download

LGPL-3.0

The Requires

 

by Chris Pliakas

search solr solarium search-framework

11/02 2013

1.0.0-alpha3

1.0.0.0-alpha3 https://github.com/cpliakas/solr-search-service

Provides a Solr search service to the Search Framework library by leveraging the Solarium project.

  Sources   Download

LGPL-3.0

The Requires

 

by Chris Pliakas

search solr solarium search-framework

01/02 2013

1.0.0-alpha2

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

Provides a Solr search server to the Search Framework library by leveraging the Solarium project.

  Sources   Download

LGPL-3.0

The Requires

 

by Chris Pliakas

search solr solarium search-framework

31/01 2013

1.0.0-alpha1

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

Provides a Solr search server to the Search Framework library by leveraging the Solarium project.

  Sources   Download

LGPL-3.0

The Requires

 

by Chris Pliakas

search solr solarium search-framework