Rest of the queries work and i have added the following in solrconfig.xml: <requestHandler name="/update/extract" class="solr.extraction.ExtractingRequestHandler" > <lst name="defaults"> <str name="map.Last-Modified">last_modified</str> <str name="fmap.content">contents</str> <str name="lowernames">true</str> <str name="uprefix">ignored_</str> </lst> </requestHandler>
On Sun, Sep 22, 2013 at 8:53 PM, Erick Erickson [via Lucene] < ml-node+s472066n4091440...@n3.nabble.com> wrote: > Please review: > > http://wiki.apache.org/solr/UsingMailingLists > > Erick > > On Sun, Sep 22, 2013 at 5:52 AM, Nutan <[hidden > email]<http://user/SendEmail.jtp?type=node&node=4091440&i=0>> > wrote: > > > I did define the request handler. > > > > > > On Sun, Sep 22, 2013 at 12:51 AM, Erick Erickson [via Lucene] < > > [hidden email] <http://user/SendEmail.jtp?type=node&node=4091440&i=1>> > wrote: > > > >> bq: And im not using the example config file > >> > >> It looks like you have not included the request handler in your > >> solrconfig.xml, > >> something like (from the stock distro): > >> > >> <!-- Solr Cell Update Request Handler > >> > >> http://wiki.apache.org/solr/ExtractingRequestHandler > >> > >> --> > >> <requestHandler name="/update/extract" > >> startup="lazy" > >> class="solr.extraction.ExtractingRequestHandler" > > >> <lst name="defaults"> > >> <str name="lowernames">true</str> > >> <str name="uprefix">ignored_</str> > >> > >> <!-- capture link hrefs but ignore div attributes --> > >> <str name="captureAttr">true</str> > >> <str name="fmap.a">links</str> > >> <str name="fmap.div">ignored_</str> > >> </lst> > >> </requestHandler> > >> > >> I'd start with the stock config and try removing things one-by-one... > >> > >> Best, > >> Erick > >> > >> On Sat, Sep 21, 2013 at 7:34 AM, Nutan <[hidden email]< > http://user/SendEmail.jtp?type=node&node=4091391&i=0>> > >> wrote: > >> > >> > Yes I do get the solr admin page.And im not using the example config > >> file,I > >> > have create mine own for my project as required.I have also defined > >> > update/extract in solrconfig.xml. > >> > > >> > > >> > On Tue, Sep 17, 2013 at 4:45 AM, Chris Hostetter-3 [via Lucene] < > >> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4091391&i=1>> > > >> wrote: > >> > > >> >> > >> >> : Is /solr/update working? > >> >> > >> >> more importantly: does "/solr/" work in your browser and return > >> anything > >> >> useful? (nothing you've told us yet gives us anyway of knowning if > >> >> solr is even up and running) > >> >> > >> >> if 'http://localhost:8080/solr/' shows you the solr admin UI, and > you > >> are > >> >> using the stock Solr 4.2 example configs, then > >> >> http://localhost:8080/solr/update/extract should not give you a 404 > >> >> error. > >> >> > >> >> if however you are using some other configs, it might not work > unless > >> >> those configs register a handler with the path /update/extract. > >> >> > >> >> Using the jetty setup provided with 4.2, and the example configs > (from > >> >> 4.2) I was able to index a sample PDF just fine using your curl > >> command... > >> >> > >> >> hossman@frisbee:~/tmp$ curl " > >> >> http://localhost:8983/solr/update/extract?literal.id=1&commit=true" > -F > >> >> "myfile=@stump.winners.san.diego.2013.pdf" > >> >> <?xml version="1.0" encoding="UTF-8"?> > >> >> <response> > >> >> <lst name="responseHeader"><int name="status">0</int><int > >> >> name="QTime">1839</int></lst> > >> >> </response> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> : > >> >> : Check solrconfig to see that /update/extract is configured as in > the > >> >> standard > >> >> : Solr example. > >> >> : > >> >> : Does /solr/update/extract work for you using the standard Solr > >> example? > >> >> : > >> >> : -- Jack Krupansky > >> >> : > >> >> : -----Original Message----- From: Nutan > >> >> : Sent: Sunday, September 15, 2013 2:37 AM > >> >> : To: [hidden email]< > >> http://user/SendEmail.jtp?type=node&node=4090459&i=0> > >> >> : Subject: requested url solr/update/extract not available on this > >> server > >> >> : > >> >> : I am working on Solr 4.2 on Windows 7. I am trying to index pdf > >> files.I > >> >> : referred Solr Cookbook 4. Tomcat is using 8080 port number. I get > >> this > >> >> : error:requested url solr/update/extract not available on this > server > >> >> : When my curl is : > >> >> : curl " > >> http://localhost:8080/solr/update/extract?literal.id=1&commit=true" > >> >> -F > >> >> : "myfile=@cookbook.pdf" > >> >> : There is no entry in log files. Please help. > >> >> : > >> >> : > >> >> : > >> >> : -- > >> >> : View this message in context: > >> >> : > >> >> > >> > http://lucene.472066.n3.nabble.com/requested-url-solr-update-extract-not-available-on-this-server-tp4090153.html > >> >> : Sent from the Solr - User mailing list archive at Nabble.com. > >> >> : > >> >> > >> >> -Hoss > >> >> > >> >> > >> >> ------------------------------ > >> >> If you reply to this email, your message will be added to the > >> discussion > >> >> below: > >> >> > >> >> > >> > http://lucene.472066.n3.nabble.com/requested-url-solr-update-extract-not-available-on-this-server-tp4090153p4090459.html > >> >> To unsubscribe from requested url solr/update/extract not available > on > >> >> this server, click here< > >> > >> >> . > >> >> NAML< > >> > http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > > >> > >> >> > >> > > >> > > >> > > >> > > >> > -- > >> > View this message in context: > >> > http://lucene.472066.n3.nabble.com/requested-url-solr-update-extract-not-available-on-this-server-tp4090153p4091371.html > >> > >> > Sent from the Solr - User mailing list archive at Nabble.com. > >> > >> > >> ------------------------------ > >> If you reply to this email, your message will be added to the > discussion > >> below: > >> > >> > http://lucene.472066.n3.nabble.com/requested-url-solr-update-extract-not-available-on-this-server-tp4090153p4091391.html > >> To unsubscribe from requested url solr/update/extract not available on > >> this server, click here< > >> . > >> NAML< > http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > > >> > > > > > > > > > > -- > > View this message in context: > http://lucene.472066.n3.nabble.com/requested-url-solr-update-extract-not-available-on-this-server-tp4090153p4091427.html > > > Sent from the Solr - User mailing list archive at Nabble.com. > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://lucene.472066.n3.nabble.com/requested-url-solr-update-extract-not-available-on-this-server-tp4090153p4091440.html > To unsubscribe from requested url solr/update/extract not available on > this server, click > here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4090153&code=bnV0YW5zaGluZGUxOTkyQGdtYWlsLmNvbXw0MDkwMTUzfC0xMzEzOTU5Mzcx> > . > NAML<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://lucene.472066.n3.nabble.com/requested-url-solr-update-extract-not-available-on-this-server-tp4090153p4091680.html Sent from the Solr - User mailing list archive at Nabble.com.