News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Lukas Smith's Blog:
Transforming end user queries to Solr
July 01, 2010 @ 13:36:07

In some of his recent work Lukas Smith has been testing the waters of what Solr (the fast, open source search platform) has to offer. In his work with it he needed a way to convert the queries that come in from users into something Solr can understand. In this new post he explains how and shares the code for his solution (symfony-based).

In this blog post I want to talk about a prototype class I threw together (Look ma', I'm using git!) by working ezcSearch to help me in parsing and transforming end user queries into complex Solr queries.

He includes a few examples of Solr queries and what sort of data they'd return as well as the source for the library he's created to extend the sfSolrPlugin translate something coming in from a form into a simple Solr-formatted query.

0 comments voice your opinion now!
transform solr query tutorial symfony framework


blog comments powered by Disqus

Similar Posts

Solar Blog: Solar 1.0.0 Stable Released

Francois Zaninotto's Blog: Validating a YAML file against a schema in PHP

Soledad Pendaes' Blog: PHP will never have a (real) Rails-like framework

Paul Jones' Blog: PHP Works 2007 Teaser: Framework Benchmarks!

HowTo Forge: Installing Lighttpd With PHP5 And MySQL Support On Mandriva 2008.0


Community Events

Don't see your event here?
Let us know!


opinion laravel5 voicesoftheelephpant php7 introduction api series example library list community wordpress interview extension version podcast release framework laravel language

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework