Forums / Extensions / eZ Find / External data & ezfind fetch

External data & ezfind fetch

Author Message

Fabien Mas

Friday 09 October 2009 2:20:33 am

Hi
I am indexing some external data (with a crawl)
For that, I use the component Search
It works well (now) but I have to develop my own operator to fetch my results

Is there a way to have only one fetch for the ezpublish data and the external data ?

It's a pity to separate the results ..

Here is a part of the PHP code from my operator

$handler = new ezfmaSearchSolrHandler;
$manager = new ezcSearchEmbeddedManager;
$session = new ezcSearchSession( $handler, $manager );

$q = $session->createFindQuery( 'ezfmaServicePublic' );
$q->where($q->lOr($q->eq( 'title', $searchWord )));
$q->limit( 10 );
$r = $session->find( $q );

...

thx
Fabien

Geoff Bentley

Monday 18 January 2010 1:52:02 pm

Hi Fabien,

I'm working on searching Solr indexes created by Nutch at the moment, and mapping this where possible to the eZ Find schema.xml. As eZ Find is very much focused on querying/indexing eZ Publish sites and the more I get into it, the more I think creating a seperate search extension is the right direction to go in.

Geoff

Paul Borgermans

Tuesday 02 February 2010 2:23:33 pm

eZ Find 2.2 will have native support for querying other indexes along the ones for eZ Publish

In order to be able to do so, there will be common schema elements to query over and for the eZ Publish index there will be a few common/aggregated fields in addition to the default text we have now (and used in the simplified standardhandler now).

For a "foreign" Solr index, you may need to define some extra copy fields for it

hth

Paul

PS: eZ Find 2.2 is scheduled for the end of March

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans