Search Indexing only specific content-types?

Mark Phillips mark at basho.com
Mon Jan 24 16:23:28 EST 2011


Indeed. contrib.basho.com doesn't have any Search-specific functions
at the moment, but we definitely want to add some if people have
anything to share. I'm sure a pre-commit hook that checks the
content-type of to-be-indexed data would be hugely useful to a lot of
users.

Mark

On Fri, Jan 21, 2011 at 5:06 PM, Eric Moritz <eric at themoritzfamily.com> wrote:
> I'm sure the basho folks would love to have that in the function contrib :)
>
> http://contrib.basho.com/
>
> ---------- Forwarded message ----------
> From: "Gordon Tillman" <gtillman at mezeo.com>
> Date: Jan 21, 2011 7:55 PM
> Subject: Re: Search Indexing only specific content-types?
> To: "Eric Moritz" <eric at themoritzfamily.com>
>
> Thanks for the tip Eric,
> I implemented my own precommit hook that checks the content-type of the
> object being stored.  If it is application/json then it calls the precommit
> function defined by the search module.  If not, it just returns the object.
> Seems to work fine!
> --gordon
> On Jan 21, 2011, at 18:17, Eric Moritz wrote:
>
> This might not be the correct answer but you could write your own version if
> the search post_commit hook.
>
> On Jan 21, 2011 6:46 PM, "Gordon Tillman" <gtillman at mezeo.com> wrote:
>
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>



More information about the riak-users mailing list