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
