Re: Riak 2.0 Solr schema directory

2014-03-22 Thread Buri Arslon
Thanks! On Sat, Mar 22, 2014 at 10:25 AM, Eric Redmond wrote: > Yes > On Mar 21, 2014 10:24 PM, "Buri Arslon" wrote: > >> is riakc_pb_socket:create_search_schema/3/4 erlang way of adding custom >> schemas to Riak? >> >> >> On Fri, Mar 21, 2014 at 11:05 PM, Buri Arslon wrote: >> >>> Thanks, Lu

Re: Riak 2.0 Solr schema directory

2014-03-22 Thread Eric Redmond
Yes On Mar 21, 2014 10:24 PM, "Buri Arslon" wrote: > is riakc_pb_socket:create_search_schema/3/4 erlang way of adding custom > schemas to Riak? > > > On Fri, Mar 21, 2014 at 11:05 PM, Buri Arslon wrote: > >> Thanks, Luke! >> >> >> On Fri, Mar 21, 2014 at 6:04 PM, Luke Bakken wrote: >> >>> Hi Bu

Re: Riak 2.0 Solr schema directory

2014-03-21 Thread Buri Arslon
is riakc_pb_socket:create_search_schema/3/4 erlang way of adding custom schemas to Riak? On Fri, Mar 21, 2014 at 11:05 PM, Buri Arslon wrote: > Thanks, Luke! > > > On Fri, Mar 21, 2014 at 6:04 PM, Luke Bakken wrote: > >> Hi Buri, >> >> You upload your XML schema file via an HTTP PUT request: >

Re: Riak 2.0 Solr schema directory

2014-03-21 Thread Buri Arslon
Thanks, Luke! On Fri, Mar 21, 2014 at 6:04 PM, Luke Bakken wrote: > Hi Buri, > > You upload your XML schema file via an HTTP PUT request: > > curl -XPUT -iH 'Content-Type: application/xml' ' > http://localhost:8098/search/schema/my-test-schema' --data-binary > @my-test-schema.xml > > Then, you

Re: Riak 2.0 Solr schema directory

2014-03-21 Thread Luke Bakken
Hi Buri, You upload your XML schema file via an HTTP PUT request: curl -XPUT -iH 'Content-Type: application/xml' ' http://localhost:8098/search/schema/my-test-schema' --data-binary @my-test-schema.xml Then, you can associate the schema with an index: curl -XPUT -iH 'Content-Type: application/js

Re: Riak 2.0 Solr schema directory

2014-03-21 Thread Buri Arslon
I found this: ./lib/yokozuna-v0.14.0-41-gf1fd688/priv/default_schema.xml is that the right directory to store custom schemas? On Fri, Mar 21, 2014 at 4:26 PM, Buri Arslon wrote: > I mean, where do I store my custom schemas? > > > On Fri, Mar 21, 2014 at 4:20 PM, Buri Arslon wrote: > >> Hi gu

Re: Riak 2.0 Solr schema directory

2014-03-21 Thread Buri Arslon
I mean, where do I store my custom schemas? On Fri, Mar 21, 2014 at 4:20 PM, Buri Arslon wrote: > Hi guys! > > Where does Riak store solr schemas (xml files)? I can't find in the docs: > > http://docs.basho.com/riak/2.0.0pre11/dev/using/search/ > http://docs.basho.com/riak/2.0.0pre11/dev/advanc