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 <e...@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" <gtill...@mezeo.com> > Date: Jan 21, 2011 7:55 PM > Subject: Re: Search Indexing only specific content-types? > To: "Eric Moritz" <e...@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" <gtill...@mezeo.com> wrote: > > > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > > _______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com