Forums / Discussions / Advanced development with eZ Find - part 1 : Datatypes in Solr and eZ Find

Monday 07 June 2010 8:05:09 am - 3 replies

» Read full tutorial


Here is the first part of a series of tutorials about eZ Find. At the end of this series, you will have been exposed all details on how it works, and be able to make an advanced usage, in various context, of this enterprise-grade search plug-in. This series will serve as a base for a talk on the subject at the eZ Conference 2010, in Berlin. As well as the Libre Software meeting.

Author Message

H-Works Agency

Wednesday 14 July 2010 11:46:17 pm

Thank you for this article, very valuable.

Just a precision : how do you call from your ezfind template fetch attr_title_s or attr_title_t to avoid sentence explosions ?

EZP is Great

gilles guirand

Thursday 15 July 2010 11:52:17 pm

@Martin : "article/title", the "_s" or "_t" depends of the context (filtering, sorting, facetting...), and your settings

And for the settings :

But you also could use the Solr syntax, like explain in this article :

Gilles Guirand
eZ Community Board Member

Luca Realdi

Wednesday 09 February 2011 2:34:34 am

Hi Gilles!

Thank you for your great tutorials!!!

I think I discovered a small bug in your ezfSolrDocumentFieldObjectRelation class ( on line 256

What do you think?

$finalValue = $this->preProcessValue( $field->ContentObjectAttribute->metaData(),
                        parent::getClassAttributeType( $tmpClassAttribute ) ); 

//instead of
$finalValue = $this->preProcessValue( $field->ContentObjectAttribute->metaData(),
                        parent::getClassAttributeType( $contentClassAttribute ) );

You must be logged in to post messages in this topic!