r4362 should give you what you need.

I would actually love to see a more abstract Search implementation in Habari. 
I'm not sure exactly what that means yet; we don't have as many disparate 
resources and tables to pick through as Drupal does, but the idea of being able 
to modify search results and power them based on any number of other backends 
(Lucene, Solr, Sphinx, etc.) is appealing.

On Sep 29, 2010, at 4:07 AM, Ian Barber wrote:

> Hi all,
> 
> I've been putting together a plugin to replace the built in search with one 
> based on Xapian (though it could as easily be Lucene or any other engine). 
> The indexing part is straightforward, but there wasn't an easy way to hook 
> into the existing search. 
> 
> What I propose as a change is that we add a filter to the posts get function 
> that allows filtering paramset. Currently I'm looking to use this to filter 
> out 'criteria' and replace with an array of IDs, which comes from the search 
> engine, based on the query, which is just a $paramarray = Plugins::filter( 
> 'posts_get_paramarray', $paramarray ); at the top of the get function. 
> 
> Anyway, I can send patches for this as it seems to work nicely, but before I 
> got too far down the wrong road I thought I'd see if anyone has any immediate 
> reactions to this, positive or negative, or would prefer it to be done 
> another way? 
> 
> Thanks,
> 
> Ian
> 
> -- 
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to 
> [email protected]
> For more options, visit this group at 
> http://groups.google.com/group/habari-dev

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to