Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4C04A49DE for ; Mon, 9 May 2011 19:55:34 +0000 (UTC) Received: (qmail 73734 invoked by uid 500); 9 May 2011 19:55:31 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 73692 invoked by uid 500); 9 May 2011 19:55:31 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 73684 invoked by uid 99); 9 May 2011 19:55:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 May 2011 19:55:31 +0000 X-ASF-Spam-Status: No, hits=3.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL,URI_HEX,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.214.176] (HELO mail-iw0-f176.google.com) (209.85.214.176) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 May 2011 19:55:24 +0000 Received: by iwr19 with SMTP id 19so7251418iwr.35 for ; Mon, 09 May 2011 12:55:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.206.206 with SMTP id fv14mr4737150ibb.70.1304970902850; Mon, 09 May 2011 12:55:02 -0700 (PDT) Received: by 10.231.20.68 with HTTP; Mon, 9 May 2011 12:55:02 -0700 (PDT) X-Originating-IP: [46.18.27.4] In-Reply-To: References: <201104190126.51953.markus.jelsma@openindex.io> Date: Mon, 9 May 2011 21:55:02 +0200 Message-ID: Subject: Re: Solr 4.0 From: Gabriele Kahlout To: user@nutch.apache.org Cc: haspadar@gmail.com, solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=90e6ba4fc2321b4dc304a2dd37bd X-Virus-Checked: Checked by ClamAV on apache.org --90e6ba4fc2321b4dc304a2dd37bd Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable REPOST as a more general question about ivy dependencies: http://stackoverflow.com/questions/5941789/do-ivy-dependency-revisions-have= -anything-to-do-with-svns On Mon, May 9, 2011 at 11:31 AM, Gabriele Kahlout wrote: > I think you are talking about this dependency: > > conf=3D"*->default" /> > > I've checked out solr 4 svn revision 1099940[1]. What value should I use > for rev? > > [1] > http://lucene.472066.n3.nabble.com/Is-it-possible-to-build-Solr-as-a-mave= n-project-tp2898068p2905051.html > > > On Tue, Apr 19, 2011 at 2:48 PM, Julien Nioche < > lists.digitalpebble@gmail.com> wrote: > >> You need to change the version of SOLR in ivy/ivy.xml then rebuild unles= s >> you change the jars straight in to nutch-1.3/runtime/local/lib - assumin= g >> that you're running Nutch locally only >> >> On 19 April 2011 07:09, Haspadar wrote: >> >> > Yes, it occured after removing SolrJ1.4 jar and copy 4.0 version. Befo= re >> it >> > I upgrated Nutch for Solr 3.1 the same way and all worked fine. >> > >> > Thanks >> > >> > 2011/4/19 Markus Jelsma >> > >> > > Hi, >> > > >> > > > Hello. >> > > > I'm using Nutch 1.3. I decided to upgrade Solr to version 4.0 and = I >> > > > replaced Nutch libs (Snapshot and SolrJ) from Solr dist. After tha= t >> I >> > got >> > > > the error at SolrIndexer on Reduce stage: >> > > > >> > > > 11/04/19 01:47:19 INFO mapred.JobClient: map 100% reduce 27% >> > > > 11/04/19 01:47:21 INFO mapred.JobClient: Task Id : >> > > > attempt_201104190142_0009_r_000000_0, Status : FAILED >> > > > org.apache.solr.common.SolrException: ERROR: [doc=3D >> http://www.site.net/ >> > ] >> > > > Error adding field 'tstamp'=3D'2011-04-18T22:45:17.404Z' >> > > > >> > > > ERROR: [doc=3Dhttp://www.site.net/] Error adding field >> > > > 'tstamp'=3D'2011-04-18T22:45:17.404Z' >> > > > >> > > > request: http://127.0.0.1:8983/solr/update?wt=3Djavabin&version=3D= 2 >> > > > at >> > > > >> > > >> > >> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsH= ttp >> > > > SolrServer.java:436) at >> > > > >> > > >> > >> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsH= ttp >> > > > SolrServer.java:245) at >> > > > >> > > >> > >> org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(Abstr= act >> > > > UpdateRequest.java:105) at >> > > > org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:50) at >> > > > org.apache.nutch.indexer.solr.SolrWriter.close(SolrWriter.java:75) >> at >> > > > >> > > >> > >> org.apache.nutch.indexer.IndexerOutputFormat$1.close(IndexerOutputFormat= .ja >> > > > va:48) at >> > > > >> org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:474) >> > > > at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:411= ) >> > > > at org.apache.hadoop.mapred.Child.main(Child.java:170) >> > > >> > > If you are using Solr > 1.4.x then you must upgrade the SolrJ jar's = in >> > > Nutch. >> > > Solr 1.4.x and higher are not compatible. Just remove the 1.4.x jar'= s >> and >> > > copy >> > > over the new. >> > > >> > > > >> > > > I tried to remove tstamp from solrindex-mapping.xml and Solr's >> > > schema.xml. >> > > > But this field is required in schema.xml and I got the error: >> > > > >> > > > 11/04/19 01:58:03 INFO mapred.JobClient: Task Id : >> > > > attempt_201104190142_0010_r_000000_0, Status : FAILED >> > > > org.apache.solr.common.SolrException: ERROR: [doc=3D >> http://www.site.net/ >> > ] >> > > > unknown field 'tstamp' >> > > > >> > > > ERROR: [doc=3Dhttp://www.site.net/] unknown field 'tstamp' >> > > >> > > Removing a mapping doesn't mean the field isn't copied over. All >> unmapped >> > > fields >> > > are copied as is. The example mapping seems rather useless as it >> copies >> > > exact >> > > field names. It's only useful if your source fields and destination >> > fields >> > > are >> > > actually different, which is usually not the case if you dedicate a >> Solr >> > > core >> > > for a Nutch crawl. >> > > >> > > You must either not create the field by some plugin or add the field >> to >> > > your >> > > Solr index. >> > > >> > > I'm surprised this error actually showed up considering the >> incompatible >> > > Javabin versions. Perhaps you already upgraded the SolrJ api? >> > > >> > > > >> > > > How I can upgrade Solr to 4 version? >> > > > >> > > > Thank you. >> > > >> > >> >> >> >> -- >> * >> *Open Source Solutions for Text Engineering >> >> http://digitalpebble.blogspot.com/ >> http://www.digitalpebble.com >> > > > > -- > Regards, > K. Gabriele > > --- unchanged since 20/9/10 --- > P.S. If the subject contains "[LON]" or the addressee acknowledges the > receipt within 48 hours then I don't resend the email. > subject(this) =E2=88=88 L(LON*) =E2=88=A8 =E2=88=83x. (x =E2=88=88 MyInbo= x =E2=88=A7 Acknowledges(x, this) =E2=88=A7 > time(x) < Now + 48h) =E2=87=92 =C2=ACresend(I, this). > > If an email is sent by a sender that is not a trusted contact or the emai= l > does not contain a valid code then the email is not received. A valid cod= e > starts with a hyphen and ends with "X". > =E2=88=80x. x =E2=88=88 MyInbox =E2=87=92 from(x) =E2=88=88 MySafeSenderL= ist =E2=88=A8 (=E2=88=83y. y =E2=88=88 subject(x) =E2=88=A7 y =E2=88=88 > L(-[a-z]+[0-9]X)). > > --=20 Regards, K. Gabriele --- unchanged since 20/9/10 --- P.S. If the subject contains "[LON]" or the addressee acknowledges the receipt within 48 hours then I don't resend the email. subject(this) =E2=88=88 L(LON*) =E2=88=A8 =E2=88=83x. (x =E2=88=88 MyInbox = =E2=88=A7 Acknowledges(x, this) =E2=88=A7 time(x) < Now + 48h) =E2=87=92 =C2=ACresend(I, this). If an email is sent by a sender that is not a trusted contact or the email does not contain a valid code then the email is not received. A valid code starts with a hyphen and ends with "X". =E2=88=80x. x =E2=88=88 MyInbox =E2=87=92 from(x) =E2=88=88 MySafeSenderLis= t =E2=88=A8 (=E2=88=83y. y =E2=88=88 subject(x) =E2=88=A7 y =E2=88=88 L(-[a-z]+[0-9]X)). --90e6ba4fc2321b4dc304a2dd37bd--