Hi Malka, A few questions to help me diagnose what is going on:
- What version of Riak Search are you using, and on what platform? - Can you verify that you are storing the object as type "application/xml" - Does the pre-commit hook give any more information about the error? (This can be found in logs/sasl-error.log) Thanks, Rusty On Wed, Jan 12, 2011 at 3:19 PM, Malka Feldman <mal...@3basegroup.com>wrote: > Hi, > I try to play with riaksearch, > I put a simple schema, and add the pre-commit hook to my bucket, > send data and got this error : POST aborted by pre-commit hook. > Can u tell me what is worng? > > my schema: { > schema, > [ > {version, "1.1"}, > {default_field, "person_interest"}, > {default_op, "or"}, > {n_val, 3}, > {analyzer_factory, > "com.basho.search.analysis.DefaultAnalyzerFactory"} > ], > [ > {field, [ > {name, "person_interest"}, > {required, true}, > {type, string} > ]} > ] > }. > > my data: > <?xml version="1.0"?> > <person> > <interest>aaaa</interest> > </person> > > Thanks, > -- > > *Malka Feldman* > Tribase LTD. > > 41 Shimon Hatzadik St. > > Elad, Israel > > Tel. 074-7122736 Fax. 03-9075211 Cell. 972-54-8370828 > > m <miri.melt...@tribasesoft.com>al...@3basegroup.com > > www.3basegroup.com <http://www.tribasesoft.com> > > [image: cid:image001.jpg@01CB2DDB.3AC492C0] > > > > _______________________________________________ > 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