Re: Search schemas in 2.0pre11

2014-02-06 Thread Ryan Zezeski
On Tue, Feb 4, 2014 at 4:38 PM, Jeremy Pierre wrote: > Hi Eric, > > Thanks very much - getting a 405 response for that curl command though. > POST to same endpoint yields the following: > > The schema resources does not accept POST requests. Only PUT and GET. -Z

Re: Search schemas in 2.0pre11

2014-02-04 Thread Jeremy Pierre
Hi Eric, Thanks very much - getting a 405 response for that curl command though. POST to same endpoint yields the following: Status page Bad Request No handler or core found in /solr/schema/select You can get technical details http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4

Re: Search schemas in 2.0pre11

2014-02-04 Thread Jeremy Pierre
Worked as expected, thanks! Jeremy On Tue, Feb 4, 2014 at 1:41 PM, Eric Redmond wrote: > Sorry, the path is: /search/schema/YOUR_SCHEMA_NAME > > On Feb 4, 2014, at 1:12 PM, Jeremy Pierre wrote: > > Hi all, > > I have a single vagrant node (ubuntu 12.04) running 2.0-pre11 for some > prototypin

Re: Search schemas in 2.0pre11

2014-02-04 Thread Eric Redmond
Sorry, the path is: /search/schema/YOUR_SCHEMA_NAME On Feb 4, 2014, at 1:12 PM, Jeremy Pierre wrote: > Hi all, > > I have a single vagrant node (ubuntu 12.04) running 2.0-pre11 for some > prototyping and need the new search awesomeness. Creating and using an index > with the default schema w

Re: Search schemas in 2.0pre11

2014-02-04 Thread Eric Redmond
Jeremy, The new documentation for creating schemas are still in progress, and docs for creating a custom schema are still a few weeks out. curl -XPUT http://localhost:8098/search/schema -H'content-type:application/xml' --data @my_schema_file.xml my_schema_file.xml should contain the custom sol

Search schemas in 2.0pre11

2014-02-04 Thread Jeremy Pierre
Hi all, I have a single vagrant node (ubuntu 12.04) running 2.0-pre11 for some prototyping and need the new search awesomeness. Creating and using an index with the default schema works fine but adding my own is unclear. Old ML posts and Riak docs suggest using "search-cmd set-schema [the index