[ 
https://issues.apache.org/jira/browse/SOLR-8542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15772544#comment-15772544
 ] 

adeppa commented on SOLR-8542:
------------------------------

Hi Team,

while deploying feature into feature store getting error like below ,current 
environment is solr 6 with branch_6x commit of LTR   

BAN7265:solr-6.3.0-setup athondur$ curl -XPUT 
'http://localhost:8983/solr/drupal/schema/feature-store' --data-binary "@ 
./Users/athondur/Desktop/solr_6.3/solr-6.3.0-setup/contrib/ltr/example/techproducts-features.json"
 -H 'Content-type:application/json' 
Warning: Couldn't read data from file " 
Warning: ./Users/athondur/Desktop/solr_6.3/solr-6.3.0-setup/contrib/ltr/example
Warning: /techproducts-features.json", this makes an empty POST.
{
  "responseHeader":{
    "status":500,
    "QTime":3},
  "error":{
    "msg":"Bad Request",
    "trace":"Bad Request (400) - Empty request body!\n\tat 
org.apache.solr.rest.RestManager$ManagedEndpoint.parseJsonFromRequestBody(RestManager.java:420)\n\tat
 
org.apache.solr.rest.RestManager$ManagedEndpoint.put(RestManager.java:340)\n\tat
 org.restlet.resource.ServerResource.doHandle(ServerResource.java:447)\n\tat 
org.restlet.resource.ServerResource.doConditionalHandle(ServerResource.java:359)\n\tat
 org.restlet.resource.ServerResource.handle(ServerResource.java:1044)\n\tat 
org.restlet.resource.Finder.handle(Finder.java:236)\n\tat 
org.restlet.routing.Filter.doHandle(Filter.java:150)\n\tat 
org.restlet.routing.Filter.handle(Filter.java:197)\n\tat 
org.restlet.routing.Router.doHandle(Router.java:422)\n\tat 
org.restlet.routing.Router.handle(Router.java:639)\n\tat 
org.restlet.routing.Filter.doHandle(Filter.java:150)\n\tat 
org.restlet.routing.Filter.handle(Filter.java:197)\n\tat 
org.restlet.routing.Filter.doHandle(Filter.java:150)\n\tat 
org.restlet.routing.Filter.handle(Filter.java:197)\n\tat 
org.restlet.routing.Filter.doHandle(Filter.java:150)\n\tat 
org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:140)\n\tat
 org.restlet.routing.Filter.handle(Filter.java:197)\n\tat 
org.restlet.routing.Filter.doHandle(Filter.java:150)\n\tat 
org.restlet.routing.Filter.handle(Filter.java:197)\n\tat 
org.restlet.engine.CompositeHelper.handle(CompositeHelper.java:202)\n\tat 
org.restlet.engine.application.ApplicationHelper.handle(ApplicationHelper.java:75)\n\tat
 org.restlet.Application.handle(Application.java:385)\n\tat 
org.restlet.routing.Filter.doHandle(Filter.java:150)\n\tat 
org.restlet.routing.Filter.handle(Filter.java:197)\n\tat 
org.restlet.routing.Router.doHandle(Router.java:422)\n\tat 
org.restlet.routing.Router.handle(Router.java:639)\n\tat 
org.restlet.routing.Filter.doHandle(Filter.java:150)\n\tat 
org.restlet.routing.Filter.handle(Filter.java:197)\n\tat 
org.restlet.routing.Router.doHandle(Router.java:422)\n\tat 
org.restlet.routing.Router.handle(Router.java:639)\n\tat 
org.restlet.routing.Filter.doHandle(Filter.java:150)\n\tat 
org.restlet.routing.Filter.handle(Filter.java:197)\n\tat 
org.restlet.engine.CompositeHelper.handle(CompositeHelper.java:202)\n\tat 
org.restlet.Component.handle(Component.java:408)\n\tat 
org.restlet.Server.handle(Server.java:507)\n\tat 
org.restlet.engine.connector.ServerHelper.handle(ServerHelper.java:63)\n\tat 
org.restlet.engine.adapter.HttpServerHelper.handle(HttpServerHelper.java:143)\n\tat
 org.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:1117)\n\tat 
javax.servlet.http.HttpServlet.service(HttpServlet.java:790)\n\tat 
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845)\n\tat 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)\n\tat
 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)\n\tat
 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:566)\n\tat
 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)\n\tat
 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1160)\n\tat
 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)\n\tat 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)\n\tat
 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1092)\n\tat
 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)\n\tat
 org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:199)\n\tat 
org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:74)\n\tat 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:312)\n\tat
 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:254)\n\tat
 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)\n\tat
 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)\n\tat
 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)\n\tat
 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)\n\tat
 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)\n\tat
 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1160)\n\tat
 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)\n\tat 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)\n\tat
 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1092)\n\tat
 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)\n\tat
 
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)\n\tat
 
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)\n\tat
 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)\n\tat
 org.eclipse.jetty.server.Server.handle(Server.java:518)\n\tat 
org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)\n\tat 
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:244)\n\tat
 
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)\n\tat
 org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)\n\tat 
org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)\n\tat
 
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:246)\n\tat
 
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:156)\n\tat
 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)\n\tat
 
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)\n\tat
 java.lang.Thread.run(Thread.java:745)\n",
    "code":500}}



> Integrate Learning to Rank into Solr
> ------------------------------------
>
>                 Key: SOLR-8542
>                 URL: https://issues.apache.org/jira/browse/SOLR-8542
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Joshua Pantony
>            Assignee: Christine Poerschke
>            Priority: Minor
>         Attachments: SOLR-8542-branch_5x.patch, SOLR-8542-trunk.patch, 
> SOLR-8542.patch
>
>
> This is a ticket to integrate learning to rank machine learning models into 
> Solr. Solr Learning to Rank (LTR) provides a way for you to extract features 
> directly inside Solr for use in training a machine learned model. You can 
> then deploy that model to Solr and use it to rerank your top X search 
> results. This concept was previously [presented by the authors at Lucene/Solr 
> Revolution 
> 2015|http://www.slideshare.net/lucidworks/learning-to-rank-in-solr-presented-by-michael-nilsson-diego-ceccarelli-bloomberg-lp].
> [Read through the 
> README|https://github.com/bloomberg/lucene-solr/tree/master-ltr-plugin-release/solr/contrib/ltr]
>  for a tutorial on using the plugin, in addition to how to train your own 
> external model.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to