My favorites | Sign in
Project Logo
                
Code license: Apache License 2.0
Labels: solr, lucene, flex, flash, actionscript
Links:
Blogs:
Feeds:
People details
Project owners:
  bart.veenstra
Project committers:
ernest.micklei, jcraane

This library will enable flash and flex developers to use the Solr indexing server. It is based on the SolrJ API.

Setup

Include the solras library to your flex 3.0 or higher project

Download

Please check out the library from SVN because it is still pretty much Alpha...

Usage

Query

var client:SolrClient = new SolrClient("http://localhost:9080/solr/");
var q:SolrQuery = new SolrQuery("[* TO *]");
var solrResponse:SolrResponse = client.query(q, searchResultHandler);


protected function searchResultHandler(solrResponse:SolrResponse):void 
{
   // do something with the result like below
   // only one doc in the index....
}

Result









Hosted by Google Code