Home / Knowledge / Leveraging the Solr syntax

Advanced development with eZ Find - part 3

Here is the third 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.

Introduction

The previous and second post of this series described how to index additionnal fields in Solr, in order to leverage them using eZ Find's native syntaxe, of the form : 'mycontentclass/mycontentattribute/mycontentsubattribute'. This eZ Find-specific syntax is very comfortable, but not exclusive. It is indeed possible to mix the eZ Find-specific syntax and the Solr-specific syntax, like for example the field names ( 'attr_myfield_type' ) or logic operators ( AND,NOT, etc. ) .

"

 Yes, this is bad practice. An “interface” syntax is not made to be worked-around, this potentially endangering the lower layers' evolutivity, namely Solr. 

 Yes, this can make development easier in some cases, or even be a life-saver in some complex situations

"

This post dives into concrete examples of how and when one can leverage Solr's syntax. The examples are simplified on purpose, for obvious educational reasons.

This is demo content, to continue real reading, please visit share.ez.no

About the author : Gilles Guirand

Gilles Guirand is a certified eZ Publish Developer. He is widely acknowledged by the community to be one of the national experts on highly technical and complex eZ Publish issues. With over 12 years experience in designing complex web architectures, he has been the driving force behind some of the most ambitious eZ Publish Projects: Web Site Generators, HighAvailability, Widgets, SOA, eZ Find, SSO, Web Accessibility and IT systems Integrations.

  • Currently 0 out of 5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Rating: 0/5 (0 votes cast)

Thank you for rating!

You have already rated this page, you can only rate it once!

Your rating has been changed, thanks for rating!

Log in or create a user account to rate this page.

Comments

Log in or create a user account to comment.

Top stories

The Awards Finale

eZ is proud to announce the winners of the eZ Awards 2010 in Berlin. eZ Awards is an event hosted by eZ Systems as part of the eZ Conference. On the evening of Thursday 24th, special recognition has been given to key people within the eZ Ecosystem and the Open Source community as a whole. eZ Awards recipients have contributed to Open Source and the eZ Ecosystem in an exceptional way.

eZ Conference & Awards 2010 in Berlin

eZ is proud to host the 8th annual eZ Conference in Berlin on the 24th and 25th of June. This Web Content Management & Digital Media conference is attended by hundreds of industry leaders and experts every year, and all web professionals, including the entire eZ Ecosystem, are invited. The regular Partner meeting is held on the 23rd.