Thanks Chris, that's great! I'll stick the plugin code up on github or
wherever would be useful once it's at a point, and if there's any interest
in the way I've integrated it (it's all pretty straightforward), I'm happy
to refactor it into a more generic thing then some engine specific variants.


Ian

On Thu, Sep 30, 2010 at 4:03 AM, Chris Meller <[email protected]>wrote:

> 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
>
>
>

-- 
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

Reply via email to