On Jan 23, 2008, at 12:47 AM, Brian Whitman wrote:
$document->title = 'Some Title';
$document->content = 'Some content for this wonderful document.
Blah blah blah.';
did you change the schema? There's no title or content field in the
default example schema. But I believe solr does output different
errors for that.
This bit I didn't know about (again, a newbie-guide would be nice :),
but changed it. Still same error, even when I just try to delete
everything:
Jan 23, 2008 1:07:37 AM org.apache.solr.core.SolrException log
SEVERE: org.apache.solr.core.SolrException: missing content stream
at
org.apache.solr.handler.XmlUpdateRequestHandler.handleRequestBody
(XmlUpdateRequestHandler.java:75)
at org.apache.solr.handler.RequestHandlerBase.handleRequest
(RequestHandlerBase.java:77)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:658)
at org.apache.solr.servlet.SolrDispatchFilter.execute
(SolrDispatchFilter.java:191)
at org.apache.solr.servlet.SolrDispatchFilter.doFilter
(SolrDispatchFilter.java:159)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1089)
at org.mortbay.jetty.servlet.ServletHandler.handle
(ServletHandler.java:365)
at org.mortbay.jetty.security.SecurityHandler.handle
(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle
(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle
(ContextHandler.java:712)
at org.mortbay.jetty.webapp.WebAppContext.handle
(WebAppContext.java:405)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle
(ContextHandlerCollection.java:211)
at org.mortbay.jetty.handler.HandlerCollection.handle
(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle
(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:285)
at org.mortbay.jetty.HttpConnection.handleRequest
(HttpConnection.java:502)
at org.mortbay.jetty.HttpConnection$RequestHandler.content
(HttpConnection.java:835)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:641)
at org.mortbay.jetty.HttpParser.parseAvailable
(HttpParser.java:208)
at org.mortbay.jetty.HttpConnection.handle
(HttpConnection.java:378)
at org.mortbay.jetty.bio.SocketConnector$Connection.run
(SocketConnector.java:226)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run
(BoundedThreadPool.java:442)
Jan 23, 2008 1:07:37 AM org.apache.solr.core.SolrCore execute
INFO: /update <delete fromPending="true"+fromCommitted%
3D"true"><query>*:*</query></delete>&wt=json 0 7
/ d