From lucene-net-user-return-1863ohart@example.net Fri Dec 04 06:33:47 2009 Return-Path: <lucene-net-user-return-1863ohart@example.net> Delivered-To: ohart@example.net Received: (qmail 34906 invoked from network); 4 Dec 2009 06:33:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Dec 2009 06:33:47 -0000 Received: (qmail 26706 invoked by uid 500); 4 Dec 2009 06:33:46 -0000 Delivered-To: ohart@example.net Received: (qmail 26623 invoked by uid 500); 4 Dec 2009 06:33:45 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 26613 invoked by uid 99); 4 Dec 2009 06:33:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Dec 2009 06:33:44 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ey-out-1920.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Dec 2009 06:33:41 +0000 Received: by ey-out-1920.google.com with SMTP id 3so1559838eyh.4 for <ohart@example.net>; Thu, 03 Dec 2009 22:33:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=aeSEA9gH1x35t+stx9l8tExF6wDBqmKq7x1uDpkw/SY=; b=jZlceurq8OK5IFEgZgXtPiGPefPCIi9ifqHCxW3P2AauNcdRRmPQijITPBVWOF3NzI +AHInAnUp9P59gOyrHo9mz00Gd/RFBbCw9dMHJvTASQ3rwNIx3TO0DsGFO7eAlw4Z0Tu bxCc7cP3vZmOZDa8RE3290zwCKs0bVieg1wxo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=WEQgSlAtHzpUz1jeHsBdzJnoZNB3jh8ypjz/+WD9dobAJdM3I3l7atFgeXPONQfaUG HwpifwqJ6jR6Y46iu1NqpoW4gJHB5ODYjSG+3qPuPU3w1aIXatevPNEeMBsj0s2Lo9G+ ieCIG4Ho6v4Ac3eumG/jlhvi2zk2OMYh/1P3s= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id u2mr820493wee.135.1259908399807; Thu, 03 Dec 2009 22:33:19 -0800 (PST) Date: Fri, 4 Dec 2009 14:33:19 +0800 Message-ID: <ohart@example.net> Subject: How to search number in text field? From: Floyd Wu <ohart@example.net> To: ohart@example.net Content-Type: multipart/alternative; boundary=0016e6d640829ebdb10479e1488b --0016e6d640829ebdb10479e1488b Content-Type: text/plain; charset=ISO-8859-1 Hi all, When using StandardAnalyzer indexing documents, Lucene.Net did not search for numbers in text fields with numbers. For example, I have built a index which title is 2009123. Fire the querystring as "title:2009" returns no records and even if using title:2009* There does exist record with title value=2009123; How can I search this record when my client really want to use 2009 as keyword for searching? Thanks Floyd --0016e6d640829ebdb10479e1488b-- From lucene-net-user-return-1864ohart@example.net Fri Dec 04 18:05:26 2009 Return-Path: <lucene-net-user-return-1864ohart@example.net> Delivered-To: ohart@example.net Received: (qmail 78478 invoked from network); 4 Dec 2009 18:05:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Dec 2009 18:05:26 -0000 Received: (qmail 42331 invoked by uid 500); 4 Dec 2009 18:05:26 -0000 Delivered-To: ohart@example.net Received: (qmail 41938 invoked by uid 500); 4 Dec 2009 18:05:25 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 41928 invoked by uid 99); 4 Dec 2009 18:05:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Dec 2009 18:05:24 +0000 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO VA3EHSOBE002.bigfish.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Dec 2009 18:05:13 +0000 Received: from mail180-va3-R.bigfish.com (83.161.120.155) by VA3EHSOBE002.bigfish.com (83.161.120.155) with Microsoft SMTP Server id 83.161.120.155; Fri, 4 Dec 2009 18:04:52 +0000 Received: from mail180-va3 (localhost.localdomain [83.161.120.155]) by mail180-va3-R.bigfish.com (Postfix) with ESMTP id A140A1658227 for <ohart@example.net>; Fri, 4 Dec 2009 18:04:51 +0000 (UTC) X-SpamScore: -13 X-BigFish: VPS-13(z3b68jz542N14ffO1370I9371Pzz1202hzz5a6ciz31n6bh61h) X-Spam-TCS-SCL: 0:0 Received: from mail180-va3 (localhost.localdomain [83.161.120.155]) by mail180-va3 (MessageSwitch) id 1259949890433427_22763; Fri, 4 Dec 2009 18:04:50 +0000 (UTC) Received: from VA3EHSMHS024.bigfish.com (unknown [83.161.120.155]) by mail180-va3.bigfish.com (Postfix) with ESMTP id 02019750053 for <ohart@example.net>; Fri, 4 Dec 2009 18:04:50 +0000 (UTC) Received: from fegplmsmmdz04.foxinc.com (83.161.120.155) by VA3EHSMHS024.bigfish.com (83.161.120.155) with Microsoft SMTP Server (TLS) id 14.0.482.32; Fri, 4 Dec 2009 18:04:47 +0000 Received: from ffeplmsexbh03.ffe.foxeg.com (Not Verified[83.161.120.155]) by FOX.COM (post.office MTA v5.0 0924 ) with ESMTP id <B4b194f3d0002>; Fri, 04 Dec 2009 10:04:45 -0800 Received: from fegplmsexmb14.ffe.foxeg.com ([83.161.120.155]) by ffeplmsexbh03.ffe.foxeg.com with Microsoft SMTPSVC833-276-4528); Fri, 4 Dec 2009 10:04:45 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: How to search number in text field? Date: Fri, 4 Dec 2009 10:04:44 -0800 Message-ID: <ohart@example.net> In-Reply-To: <ohart@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to search number in text field? thread-index: Acp0q71iipBuGovaS0eA+hEm4hV+TQAYBnbA References: <ohart@example.net> From: Michael Garski <ohart@example.net> To: <ohart@example.net> X-OriginalArrivalTime: 04 Dec 2009 18:04:45.0765 (UTC) FILETIME=[43009750:01CA750C] X-Reverse-DNS: ffeusplw2dz14a.foxinc.com X-Virus-Checked: Checked by ClamAV on apache.org Floyd, How are you constructing the query? Michael -----Original Message----- From: Floyd Wu [mailto:ohart@example.net]=20 Sent: Thursday, December 03, 2009 10:33 PM To: ohart@example.net Subject: How to search number in text field? Hi all, When using StandardAnalyzer indexing documents, Lucene.Net did not search for numbers in text fields with numbers. For example, I have built a index which title is 2009123. Fire the querystring as "title:2009" returns no records and even if using title:2009* There does exist record with title value=3D2009123; How can I search this record when my client really want to use 2009 as keyword for searching? Thanks Floyd From lucene-net-user-return-1865ohart@example.net Mon Dec 07 03:44:40 2009 Return-Path: <lucene-net-user-return-1865ohart@example.net> Delivered-To: ohart@example.net Received: (qmail 8233 invoked from network); 7 Dec 2009 03:44:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 7 Dec 2009 03:44:40 -0000 Received: (qmail 29101 invoked by uid 500); 7 Dec 2009 03:44:40 -0000 Delivered-To: ohart@example.net Received: (qmail 28956 invoked by uid 500); 7 Dec 2009 03:44:38 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 28939 invoked by uid 99); 7 Dec 2009 03:44:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Dec 2009 03:44:37 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-ew0-f220.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Dec 2009 03:44:33 +0000 Received: by ewy20 with SMTP id 20so2817740ewy.0 for <ohart@example.net>; Sun, 06 Dec 2009 19:44:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=N+MlXtvaFY2rKpZTAWrMFGm9n+X6HhzBG13V48NNZJk=; b=Z87ihjB9NGEFlfU6ONyyonv4BuBLKZbOd6i2zS9RV2AU+umuu25zIneAeoxZL4fPm0 3bm5J4WXcUAEQIPTDnIyq8zS/FMHBImqI43TXXYxJSONXBpNQzaagmey1Denxt05qNB7 LqozqRU2PMkQ7ebBcObL2GKI5fTDqBEtl+G3o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ZzNfjIVDOtyYnEi0PiGuyLtNz1QEHAUZzyoFTxiGHgTRmBxwofWBCsU/LR4AjB+GSr IHkCuXQYDjiRm5lGzVaZ4kQ6PvP8sj84Y8YJHLSHUanEXKv75ai47YaDlp9VF4LWPvXn xGkx5huCvahdqlkqMtLY/zeBdGbh1fotGVEbs= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id a45mr2096022wef.63.1260157452063; Sun, 06 Dec 2009 19:44:12 -0800 (PST) In-Reply-To: <ohart@example.net> References: <ohart@example.net> <ohart@example.net> Date: Mon, 7 Dec 2009 11:44:12 +0800 Message-ID: <ohart@example.net> Subject: Re: How to search number in text field? From: Floyd Wu <ohart@example.net> To: ohart@example.net Content-Type: multipart/alternative; boundary=0016e6d99a214a9588047a1b45c4 --0016e6d99a214a9588047a1b45c4 Content-Type: text/plain; charset=ISO-8859-1 Hi Michael The query is constructed using QueryText. Partial of my code as floowing string queryText = "title:2009123"; QueryParser parser = new QueryParser(SpecialFields.Title, Analyzer); parser.SetLowercaseExpandedTerms(false); Lucene.Net.Search.Query query =parser.Parse(queryText); searcher.Search(query); //searcher is an IndexSearcher instance Floyd 2009/12/5 Michael Garski <ohart@example.net> > Floyd, > > How are you constructing the query? > > Michael > > -----Original Message----- > From: Floyd Wu [mailto:ohart@example.net] > Sent: Thursday, December 03, 2009 10:33 PM > To: ohart@example.net > Subject: How to search number in text field? > > Hi all, > When using StandardAnalyzer indexing documents, Lucene.Net did not > search > for numbers in text fields with numbers. > For example, I have built a index which title is 2009123. > Fire the querystring as "title:2009" returns no records and even if > using > title:2009* > There does exist record with title value=2009123; > How can I search this record when my client really want to use 2009 as > keyword for searching? > > Thanks > > Floyd > > --0016e6d99a214a9588047a1b45c4-- From lucene-net-user-return-1866ohart@example.net Tue Dec 08 17:11:37 2009 Return-Path: <lucene-net-user-return-1866ohart@example.net> Delivered-To: ohart@example.net Received: (qmail 96736 invoked from network); 8 Dec 2009 17:11:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Dec 2009 17:11:37 -0000 Received: (qmail 94435 invoked by uid 500); 8 Dec 2009 17:11:37 -0000 Delivered-To: ohart@example.net Received: (qmail 94324 invoked by uid 500); 8 Dec 2009 17:11:35 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 94313 invoked by uid 99); 8 Dec 2009 17:11:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Dec 2009 17:11:35 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO luna.naxma.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Dec 2009 17:11:23 +0000 Received: from dumbledore.hogwarts.naxma.net ([83.161.120.155]) by luna.naxma.com with MailEnable ESMTP; Tue, 8 Dec 2009 18:11:12 +0100 Subject: Safe to use Release 2.9.1 Beta for production? Date: Tue, 8 Dec 2009 18:10:58 +0100 Message-ID: <ohart@example.net> X-MS-Has-Attach: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CA7829.6950663E" X-MS-TNEF-Correlator: Thread-Topic: Safe to use Release 2.9.1 Beta for production? thread-index: Acp39HNqnluw6AOqRWyfz20ArbTIrAANOuhQ Content-class: urn:content-classes:message From: "Markus Wolters" <ohart@example.net> X-MimeOLE: Produced By Microsoft Exchange V6.5 To: <ohart@example.net> X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01CA7829.6950663E Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi @all, =20 I'm new to Lucene(.NET) and want to include it into my current ASP.NET project I'm working on to support fuzzy full-text searches. =20 I am unsure which version to use. Is it safe already to use the /trunk version, which is 2.9.1 Beta right now? Or should I better use the tag 2.4.0? I need special querys including spatial data, so I thought the latest versions would be a good starting point... =20 Anyways, keep up the good work! =20 I did some comparison to Sphinx and Xapian, but I think at least for me, Lucene is the right way to go. =20 Cheers, Markus =20 ------_=_NextPart_001_01CA7829.6950663E-- From lucene-net-user-return-1867ohart@example.net Tue Dec 08 17:23:46 2009 Return-Path: <lucene-net-user-return-1867ohart@example.net> Delivered-To: ohart@example.net Received: (qmail 2637 invoked from network); 8 Dec 2009 17:23:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Dec 2009 17:23:46 -0000 Received: (qmail 19237 invoked by uid 500); 8 Dec 2009 17:23:46 -0000 Delivered-To: ohart@example.net Received: (qmail 18987 invoked by uid 500); 8 Dec 2009 17:23:45 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 18977 invoked by uid 99); 8 Dec 2009 17:23:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Dec 2009 17:23:44 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mx33.mail.ru) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Dec 2009 17:23:33 +0000 Received: from [83.161.120.155] (port=9859 helo=[83.161.120.155]) by mx33.mail.ru with asmtp id 1NI3mK-0009fr-00 for ohart@example.net; Tue, 08 Dec 2009 20:23:12 +0300 Message-ID: <ohart@example.net> Date: Tue, 08 Dec 2009 20:23:12 +0300 From: "ohart@example.net" <ohart@example.net> User-Agent: Thunderbird 83.161.120.155 (Windows/20090812) MIME-Version: 1.0 To: ohart@example.net Subject: Re: Safe to use Release 2.9.1 Beta for production? References: <ohart@example.net> In-Reply-To: <ohart@example.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam: Not detected X-Mras: Ok X-Virus-Checked: Checked by ClamAV on apache.org I would not recommend use 2.9.1 in the production right now (it may be ok, but may not). It is safer to use 2.4.0. --- Andrei Markus Wolters wrote: > Hi @all, > > > > I'm new to Lucene(.NET) and want to include it into my current ASP.NET > project I'm working on to support fuzzy full-text searches. > > > > I am unsure which version to use. Is it safe already to use the /trunk > version, which is 2.9.1 Beta right now? Or should I better use the tag > 2.4.0? I need special querys including spatial data, so I thought the > latest versions would be a good starting point... > > > > Anyways, keep up the good work! > > > > I did some comparison to Sphinx and Xapian, but I think at least for me, > Lucene is the right way to go. > > > > Cheers, > > Markus > > > > > From lucene-net-user-return-1868ohart@example.net Tue Dec 08 21:24:44 2009 Return-Path: <lucene-net-user-return-1868ohart@example.net> Delivered-To: ohart@example.net Received: (qmail 11615 invoked from network); 8 Dec 2009 21:24:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Dec 2009 21:24:44 -0000 Received: (qmail 11331 invoked by uid 500); 8 Dec 2009 21:24:44 -0000 Delivered-To: ohart@example.net Received: (qmail 11252 invoked by uid 500); 8 Dec 2009 21:24:43 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 11048 invoked by uid 99); 8 Dec 2009 21:24:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Dec 2009 21:24:42 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO luna.naxma.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Dec 2009 21:24:40 +0000 Received: from HARRY ([83.161.120.155]) by luna.naxma.com with MailEnable ESMTP; Tue, 8 Dec 2009 22:24:28 +0100 From: "Markus Wolters" <ohart@example.net> To: <ohart@example.net> References: <ohart@example.net> <ohart@example.net> In-Reply-To: <ohart@example.net> Subject: AW: Safe to use Release 2.9.1 Beta for production? Date: Tue, 8 Dec 2009 22:24:15 +0100 Message-ID: <019701ca784c$cba29d40$62e7d7c0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acp4KzrdpVKiH9PCT3++F1pBlB+N3AAIWwkA Content-Language: de Thanks for your advice. Are there any mature features I might miss when using version 2.4.0? Markus -----Urspr=FCngliche Nachricht----- Von: ohart@example.net [mailto:ohart@example.net]=20 Gesendet: Dienstag, 8. Dezember 2009 18:23 An: ohart@example.net Betreff: Re: Safe to use Release 2.9.1 Beta for production? I would not recommend use 2.9.1 in the production right now (it may be=20 ok, but may not). It is safer to use 2.4.0. --- Andrei Markus Wolters wrote: > Hi @all, > > =20 > > I'm new to Lucene(.NET) and want to include it into my current ASP.NET > project I'm working on to support fuzzy full-text searches. > > =20 > > I am unsure which version to use. Is it safe already to use the /trunk > version, which is 2.9.1 Beta right now? Or should I better use the tag > 2.4.0? I need special querys including spatial data, so I thought the > latest versions would be a good starting point... > > =20 > > Anyways, keep up the good work! > > =20 > > I did some comparison to Sphinx and Xapian, but I think at least for = me, > Lucene is the right way to go. > > =20 > > Cheers, > > Markus > > =20 > > > =20 From lucene-net-user-return-1869ohart@example.net Wed Dec 09 01:26:26 2009 Return-Path: <lucene-net-user-return-1869ohart@example.net> Delivered-To: ohart@example.net Received: (qmail 24487 invoked from network); 9 Dec 2009 01:26:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 9 Dec 2009 01:26:26 -0000 Received: (qmail 95404 invoked by uid 500); 9 Dec 2009 01:26:26 -0000 Delivered-To: ohart@example.net Received: (qmail 95349 invoked by uid 500); 9 Dec 2009 01:26:25 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 95334 invoked by uid 99); 9 Dec 2009 01:26:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2009 01:26:25 +0000 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO VA3EHSOBE003.bigfish.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2009 01:26:13 +0000 Received: from mail99-va3-R.bigfish.com (83.161.120.155) by VA3EHSOBE003.bigfish.com (83.161.120.155) with Microsoft SMTP Server id 8.1.340.0; Wed, 9 Dec 2009 01:25:52 +0000 Received: from mail99-va3 (localhost.localdomain [83.161.120.155]) by mail99-va3-R.bigfish.com (Postfix) with ESMTP id 386BC7681F2 for <ohart@example.net>; Wed, 9 Dec 2009 01:25:52 +0000 (UTC) X-SpamScore: -38 X-BigFish: VPS-38(zb00Rz542N1432R98dN936eM9371Pzz1202hzz5e7biz31n6bh61h) X-Spam-TCS-SCL: 0:0 Received: from mail99-va3 (localhost.localdomain [83.161.120.155]) by mail99-va3 (MessageSwitch) id 1260321939281430_17169; Wed, 9 Dec 2009 01:25:39 +0000 (UTC) Received: from VA3EHSMHS005.bigfish.com (unknown [83.161.120.155]) by mail99-va3.bigfish.com (Postfix) with ESMTP id EAFEB1310022 for <ohart@example.net>; Wed, 9 Dec 2009 01:25:37 +0000 (UTC) Received: from fegplmsmmdz02.foxinc.com (83.161.120.155) by VA3EHSMHS005.bigfish.com (83.161.120.155) with Microsoft SMTP Server (TLS) id 14.0.482.32; Wed, 9 Dec 2009 01:25:37 +0000 Received: from ffeplmsexbh04.ffe.foxeg.com (Not Verified[83.161.120.155]) by FOX.COM (post.office MTA v5.0 0924 ) with ESMTP id <B4b1efc900000>; Tue, 08 Dec 2009 17:25:36 -0800 Received: from fegplmsexmb14.ffe.foxeg.com ([83.161.120.155]) by ffeplmsexbh04.ffe.foxeg.com with Microsoft SMTPSVC833-276-4528); Tue, 8 Dec 2009 17:25:36 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Safe to use Release 2.9.1 Beta for production? Date: Tue, 8 Dec 2009 17:25:35 -0800 Message-ID: <ohart@example.net> In-Reply-To: <019701ca784c$cba29d40$62e7d7c0$@com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Safe to use Release 2.9.1 Beta for production? thread-index: Acp4KzrdpVKiH9PCT3++F1pBlB+N3AAIWwkAAAhOf0A= References: <ohart@example.net> <ohart@example.net> <019701ca784c$cba29d40$62e7d7c0$@com> From: Michael Garski <ohart@example.net> To: <ohart@example.net> X-OriginalArrivalTime: 09 Dec 2009 01:25:36.0132 (UTC) FILETIME=[824D4C40:01CA786E] X-Reverse-DNS: fegplmsmmdz02.foxinc.com X-Virus-Checked: Checked by ClamAV on apache.org Two of the features I've been looking forward to and am now testing are = numeric fields, which provide significant performance improvements on = numeric range queries, and the underlying change to per-segment = searching and caching. The latter sounds rather innocuous at first = glance, but when coupled with a custom merge policy can improve heap = utilization for large indexes. You can certainly build your application against 2.4 and then migrate to = 2.9 at a later time if you are under time constraints to deliver = something quickly. Michael -----Original Message----- From: Markus Wolters [mailto:ohart@example.net]=20 Sent: Tuesday, December 08, 2009 1:24 PM To: ohart@example.net Subject: AW: Safe to use Release 2.9.1 Beta for production? Thanks for your advice. Are there any mature features I might miss when using version 2.4.0? Markus -----Urspr=FCngliche Nachricht----- Von: ohart@example.net [mailto:ohart@example.net]=20 Gesendet: Dienstag, 8. Dezember 2009 18:23 An: ohart@example.net Betreff: Re: Safe to use Release 2.9.1 Beta for production? I would not recommend use 2.9.1 in the production right now (it may be=20 ok, but may not). It is safer to use 2.4.0. --- Andrei Markus Wolters wrote: > Hi @all, > > =20 > > I'm new to Lucene(.NET) and want to include it into my current ASP.NET > project I'm working on to support fuzzy full-text searches. > > =20 > > I am unsure which version to use. Is it safe already to use the /trunk > version, which is 2.9.1 Beta right now? Or should I better use the tag > 2.4.0? I need special querys including spatial data, so I thought the > latest versions would be a good starting point... > > =20 > > Anyways, keep up the good work! > > =20 > > I did some comparison to Sphinx and Xapian, but I think at least for = me, > Lucene is the right way to go. > > =20 > > Cheers, > > Markus > > =20 > > > =20 From lucene-net-user-return-1870ohart@example.net Wed Dec 09 08:42:46 2009 Return-Path: <lucene-net-user-return-1870ohart@example.net> Delivered-To: ohart@example.net Received: (qmail 82872 invoked from network); 9 Dec 2009 08:42:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 9 Dec 2009 08:42:46 -0000 Received: (qmail 13978 invoked by uid 500); 9 Dec 2009 08:42:46 -0000 Delivered-To: ohart@example.net Received: (qmail 13915 invoked by uid 500); 9 Dec 2009 08:42:44 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 13905 invoked by uid 99); 9 Dec 2009 08:42:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2009 08:42:44 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO luna.naxma.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2009 08:42:42 +0000 Received: from HARRY ([83.161.120.155]) by luna.naxma.com with MailEnable ESMTP; Wed, 9 Dec 2009 09:42:29 +0100 From: "Markus Wolters" <ohart@example.net> To: <ohart@example.net> References: <ohart@example.net> <ohart@example.net> <019701ca784c$cba29d40$62e7d7c0$@com> <ohart@example.net> In-Reply-To: <ohart@example.net> Subject: AW: Safe to use Release 2.9.1 Beta for production? Date: Wed, 9 Dec 2009 09:42:13 +0100 Message-ID: <00bf01ca78ab$83d84550$8b88cff0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acp4KzrdpVKiH9PCT3++F1pBlB+N3AAIWwkAAAhOf0AADw90EA== Content-Language: de I actually need especially the numeric range feature, because I've got a fulltext search within a specified distance, so I need to filter the = results by spatial data. Is the Lucene Spatial contrib the right way to go? It's been ported by = Roger Chapman. Markus -----Urspr=FCngliche Nachricht----- Von: Michael Garski [mailto:ohart@example.net]=20 Gesendet: Mittwoch, 9. Dezember 2009 02:26 An: ohart@example.net Betreff: RE: Safe to use Release 2.9.1 Beta for production? Two of the features I've been looking forward to and am now testing are numeric fields, which provide significant performance improvements on numeric range queries, and the underlying change to per-segment = searching and caching. The latter sounds rather innocuous at first glance, but = when coupled with a custom merge policy can improve heap utilization for = large indexes. You can certainly build your application against 2.4 and then migrate to = 2.9 at a later time if you are under time constraints to deliver something quickly. Michael -----Original Message----- From: Markus Wolters [mailto:ohart@example.net]=20 Sent: Tuesday, December 08, 2009 1:24 PM To: ohart@example.net Subject: AW: Safe to use Release 2.9.1 Beta for production? Thanks for your advice. Are there any mature features I might miss when using version 2.4.0? Markus -----Urspr=FCngliche Nachricht----- Von: ohart@example.net [mailto:ohart@example.net]=20 Gesendet: Dienstag, 8. Dezember 2009 18:23 An: ohart@example.net Betreff: Re: Safe to use Release 2.9.1 Beta for production? I would not recommend use 2.9.1 in the production right now (it may be=20 ok, but may not). It is safer to use 2.4.0. --- Andrei Markus Wolters wrote: > Hi @all, > > =20 > > I'm new to Lucene(.NET) and want to include it into my current ASP.NET > project I'm working on to support fuzzy full-text searches. > > =20 > > I am unsure which version to use. Is it safe already to use the /trunk > version, which is 2.9.1 Beta right now? Or should I better use the tag > 2.4.0? I need special querys including spatial data, so I thought the > latest versions would be a good starting point... > > =20 > > Anyways, keep up the good work! > > =20 > > I did some comparison to Sphinx and Xapian, but I think at least for = me, > Lucene is the right way to go. > > =20 > > Cheers, > > Markus > > =20 > > > =20 From lucene-net-user-return-1871ohart@example.net Wed Dec 09 08:46:05 2009 Return-Path: <lucene-net-user-return-1871ohart@example.net> Delivered-To: ohart@example.net Received: (qmail 83214 invoked from network); 9 Dec 2009 08:46:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 9 Dec 2009 08:46:05 -0000 Received: (qmail 14709 invoked by uid 500); 9 Dec 2009 08:46:05 -0000 Delivered-To: ohart@example.net Received: (qmail 14625 invoked by uid 500); 9 Dec 2009 08:46:04 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 14615 invoked by uid 99); 9 Dec 2009 08:46:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2009 08:46:04 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO luna.naxma.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2009 08:45:53 +0000 Received: from HARRY ([83.161.120.155]) by luna.naxma.com with MailEnable ESMTP; Wed, 9 Dec 2009 09:45:44 +0100 From: "Markus Wolters" <ohart@example.net> To: <ohart@example.net> References: <ohart@example.net> <ohart@example.net> <019701ca784c$cba29d40$62e7d7c0$@com> <ohart@example.net> In-Reply-To: <ohart@example.net> Subject: Spatial search with Lucene.Net Date: Wed, 9 Dec 2009 09:45:32 +0100 Message-ID: <00cc01ca78ab$f7ee70e0$e7cb52a0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acp4KzrdpVKiH9PCT3++F1pBlB+N3AAIWwkAAAhOf0AAD2vZUA== Content-Language: de x-cr-hashedpuzzle: AK36 CyJq C/DI DgeK DiKQ ErxM FqRu GMNr GQTs GWoU HNIQ HRfb Hz/f H4Bk IaX9 KbRt;1;bAB1AGMAZQBuAGUALQBuAGUAdAAtAHUAcwBlAHIAQABpAG4AYwB1AGIAYQB0AG8AcgAuAGEAcABhAGMAaABlAC4AbwByAGcA;Sosha1_v1;7;{DC48C867-667D-4CB6-AFA2-F1C1DB1AF272};bQBhAHIAawB1AHMAQABuAGEAeABtAGEALgBjAG8AbQA=;Wed, 09 Dec 2009 08:45:30 GMT;UwBwAGEAdABpAGEAbAAgAHMAZQBhAHIAYwBoACAAdwBpAHQAaAAgAEwAdQBjAGUAbgBlAC4ATgBlAHQA x-cr-puzzleid: {DC48C867-667D-4CB6-AFA2-F1C1DB1AF272} X-Virus-Checked: Checked by ClamAV on apache.org What is the best way to incorporate spatial search data into lucene? The Spatial.Net contrib, which is been ported by Robert Chapman or this code if found here: http://sujitpal.blogspot.com/2008/02/spatial-search-with-lucene.html Markus From lucene-net-user-return-1872ohart@example.net Wed Dec 09 13:57:48 2009 Return-Path: <lucene-net-user-return-1872ohart@example.net> Delivered-To: ohart@example.net Received: (qmail 17914 invoked from network); 9 Dec 2009 13:57:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 9 Dec 2009 13:57:48 -0000 Received: (qmail 20780 invoked by uid 500); 9 Dec 2009 13:57:48 -0000 Delivered-To: ohart@example.net Received: (qmail 20756 invoked by uid 500); 9 Dec 2009 13:57:47 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 20746 invoked by uid 99); 9 Dec 2009 13:57:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2009 13:57:47 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mx80.drachenfels.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2009 13:57:36 +0000 Received: from [83.161.120.155] (helo=bleich32.intern.drachenfels.de) by mx80.drachenfels.de with esmtp (envelope-from <ohart@example.net>) id 1NIN2a-0004tG-0B for ohart@example.net; Wed, 09 Dec 2009 14:57:16 +0100 Subject: System.TypeInitializationException on linux (vbnc) Date: Wed, 9 Dec 2009 14:57:20 +0100 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01CA78D7.83BDDB7A" Message-ID: <ohart@example.net> Content-class: urn:content-classes:message X-MS-Has-Attach: yes X-MS-TNEF-Correlator: X-MimeOLE: Produced By Microsoft Exchange V6.5 thread-topic: System.TypeInitializationException on linux (vbnc) thread-index: Acp414bgPQpTHsw6Qv2Vj9NU2vR3pA== X-Priority: 1 Priority: Urgent Importance: high From: "Johannes Drachenfels" <ohart@example.net> To: <ohart@example.net> X-SGG-UMAMSID: 20091209135715Z18802mx80.drachenfels.de 1NIN2a-0004tG-0B X-SGG-RESULT: 20091209135715Z18802mx80.drachenfels.de C1:OK E1:OK MX1:OK BL:OK CT:Unknown CM: SIP:83.161.120.155 SMF:ohart@example.net X-SGG-MF: ohart@example.net X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01CA78D7.83BDDB7A Content-Type: multipart/alternative; boundary="----_=_NextPart_002_01CA78D7.83BDDB7A" ------_=_NextPart_002_01CA78D7.83BDDB7A Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, =20 sorry for re-posting - I am new to this list... =20 I am switching from lucene.net 83.161.120.155 to lucene.net 83.161.120.155 and I have problems in a very early state.=20 =20 With version 83.161.120.155 it works fine! With version 83.161.120.155 on Microsoft it works fine With version 83.161.120.155 on linux I always get the following errors: =20 ################################ System.TypeInitializationException: An exception was thrown by the type initializer for Lucene.Net.Store.FSDirectory ---> System.TypeInitializationException: An exception was thrown by the type initializer for Lucene.Net.Util.Constants ---> System.NullReferenceException: Object reference not set to an instance of an ohart@example.net () [0x00000] --- End of inner exception stack trace --- at Lucene.Net.Store.FSDirectory..cctor () [0x00000] --- End of inner exception stack trace --- at ConsoleApplication1.Module1.Main () [0x00000] ################################ System.TypeInitializationException: An exception was thrown by the type initializer for Lucene.Net.Index.IndexWriter ---> System.TypeInitializationException: An exception was thrown by the type initializer for Lucene.Net.Index.DocumentsWriter ---> System.TypeInitializationException: An exception was thrown by the type initializer for Lucene.Net.Util.Constants ---> System.NullReferenceException: Object reference not set to an instance of an ohart@example.net () [0x00000] --- End of inner exception stack trace --- at Lucene.Net.Store.FSDirectory..cctor () [0x00000] --- End of inner exception stack trace --- at Lucene.Net.Index.IndexWriter..cctor () [0x00000] --- End of inner exception stack trace --- at ConsoleApplication1.Module1.Main () [0x00000] =20 >From debugging I found the reason for the errors: =20 dir =3D Lucene.Net.Store.FSDirectory.GetDirectory(indexFileLocation, True) =20 and =20 indexWriter =3D New Lucene.Net.Index.IndexWriter(dirR, analyzer, True) =20 but I do not have any idea what's happen here.... I have attached the source of my test application!=20 =20 Thanks for help & Regards, =20 Johannes =20 ------_=_NextPart_002_01CA78D7.83BDDB7A Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.E-MailFormatvorlage17 {mso-style-type:personal-compose; font-family:Arial; color:windowtext;} @page Section1 {size:595.3pt 841.9pt; margin:70.85pt 70.85pt 2.0cm 70.85pt;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DDE link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Hi,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>sorry for re-posting &#8211; I am new to this = list&#8230;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>I am switching from lucene.net 83.161.120.155 to = lucene.net 83.161.120.155 and I have problems in a very early state. = <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>With version 83.161.120.155 it works = fine!<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>With version 83.161.120.155 on Microsoft it works = fine<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>With version 83.161.120.155 on linux I always get the following errors:<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>################################<o:p></o:p></sp= an></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>System.TypeInitializationException: An = exception was thrown by the type initializer for Lucene.Net.Store.FSDirectory ---&gt; System.TypeInitializationException: An exception was thrown by the type initializer for Lucene.Net.Util.Constants ---&gt; = System.NullReferenceException: Object reference not set to an instance of an = object<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>&nbsp; at Lucene.Net.Util.Constants..cctor () [0x00000]<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>&nbsp; --- End of inner exception stack trace = ---<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>&nbsp; at Lucene.Net.Store.FSDirectory..cctor = () [0x00000]<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>&nbsp; --- End of inner exception stack trace = ---<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>&nbsp; at ConsoleApplication1.Module1.Main () [0x00000]<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>################################<o:p></o:p></sp= an></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>System.TypeInitializationException: An = exception was thrown by the type initializer for Lucene.Net.Index.IndexWriter ---&gt; System.TypeInitializationException: An exception was thrown by the type initializer for Lucene.Net.Index.DocumentsWriter ---&gt; System.TypeInitializationException: An exception was thrown by the type initializer for Lucene.Net.Util.Constants ---&gt; System.NullReferenceException: Object reference not set to an instance = of an object<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>&nbsp; at Lucene.Net.Util.Constants..cctor () [0x00000]<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>&nbsp; --- End of inner exception stack trace = ---<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>&nbsp; at Lucene.Net.Store.FSDirectory..cctor = () [0x00000]<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>&nbsp; --- End of inner exception stack trace = ---<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>&nbsp; at Lucene.Net.Index.IndexWriter..cctor = () [0x00000]<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>&nbsp; --- End of inner exception stack trace = ---<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>&nbsp; at ConsoleApplication1.Module1.Main () [0x00000]<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>From debugging I found the reason for the = errors:<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp; dir =3D Lucene.Net.Store.FSDirectory.GetDirectory(indexFileLocation, = True)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>and<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp; indexWriter =3D New Lucene.Net.Index.IndexWriter(dirR, analyzer, = True)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>but I do not have any idea what&#8217;s happen here&#8230;. I have attached the source of my test application! = <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>Thanks for help &amp; = Regards,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>Johannes<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> </div> </body> </html> ------_=_NextPart_002_01CA78D7.83BDDB7A-- ------_=_NextPart_001_01CA78D7.83BDDB7A Content-Type: text/plain; name="debug.txt" Content-Transfer-Encoding: base64 Content-Description: debug.txt Content-Disposition: attachment; filename="debug.txt" TW9kdWxlIE1vZHVsZTENCiAgICBQcml2YXRlIE1TRmxhZyBBcyBCb29sZWFuID0gSUlmKFN5c3Rl bS5FbnZpcm9ubWVudC5PU1ZlcnNpb24uVmVyc2lvblN0cmluZy5Ub0xvd2VyIExpa2UgIiptaWNy b3NvZnQqIiwgVHJ1ZSwgRmFsc2UpDQogICAgUHJpdmF0ZSBEU0MgQXMgQ2hhciA9IFN5c3RlbS5J Ty5QYXRoLkRpcmVjdG9yeVNlcGFyYXRvckNoYXINCiAgICBQcml2YXRlIE5MIEFzIFN0cmluZyA9 IEVudmlyb25tZW50Lk5ld0xpbmUNCiAgICBQcml2YXRlIGluZGV4RmlsZUxvY2F0aW9uIEFzIFN0 cmluZyA9ICIiDQoNCg0KICAgIFN1YiBNYWluKCkNCg0KICAgICAgICBUcnkNCiAgICAgICAgICAg IElmIE1TRmxhZyBUaGVuDQogICAgICAgICAgICAgICAgaW5kZXhGaWxlTG9jYXRpb24gPSAiYzpc aW5kZXhcIg0KICAgICAgICAgICAgRWxzZQ0KICAgICAgICAgICAgICAgIGluZGV4RmlsZUxvY2F0 aW9uID0gIi90bXAvTHVjZW5lSW5kZXhUZXN0LyINCiAgICAgICAgICAgIEVuZCBJZg0KDQogICAg ICAgICAgICBJZiBOb3QgU3lzdGVtLklPLkRpcmVjdG9yeS5FeGlzdHMoaW5kZXhGaWxlTG9jYXRp b24pIFRoZW4NCiAgICAgICAgICAgICAgICBTeXN0ZW0uSU8uRGlyZWN0b3J5LkNyZWF0ZURpcmVj dG9yeShpbmRleEZpbGVMb2NhdGlvbikNCiAgICAgICAgICAgIEVuZCBJZg0KDQogICAgICAgICAg ICBEaW0gZG9jIEFzIEx1Y2VuZS5OZXQuRG9jdW1lbnRzLkRvY3VtZW50DQogICAgICAgICAgICBE aW0gZGlyIEFzIEx1Y2VuZS5OZXQuU3RvcmUuRlNEaXJlY3RvcnkNCiAgICAgICAgICAgIFRyeQ0K ICAgICAgICAgICAgICAgIGRpciA9IEx1Y2VuZS5OZXQuU3RvcmUuRlNEaXJlY3RvcnkuR2V0RGly ZWN0b3J5KGluZGV4RmlsZUxvY2F0aW9uLCBUcnVlKQ0KICAgICAgICAgICAgQ2F0Y2ggZXggQXMg RXhjZXB0aW9uDQogICAgICAgICAgICAgICAgQ29uc29sZS5Xcml0ZUxpbmUoIiMjIyMjIyMjIyMj IyMjIyMjIyMjIyMjIyMjIyMjIyMjIikNCiAgICAgICAgICAgICAgICBDb25zb2xlLldyaXRlTGlu ZShleCkNCiAgICAgICAgICAgICAgICBkaXIgPSBOb3RoaW5nDQogICAgICAgICAgICBFbmQgVHJ5 DQoNCiAgICAgICAgICAgIERpbSBkaXJSIEFzIEx1Y2VuZS5OZXQuU3RvcmUuUkFNRGlyZWN0b3J5 ID0gTmV3IEx1Y2VuZS5OZXQuU3RvcmUuUkFNRGlyZWN0b3J5KCkNCiAgICAgICAgICAgIERpbSBh bmFseXplciBBcyBMdWNlbmUuTmV0LkFuYWx5c2lzLkFuYWx5emVyID0gTmV3IEx1Y2VuZS5OZXQu QW5hbHlzaXMuU3RhbmRhcmQuU3RhbmRhcmRBbmFseXplcg0KICAgICAgICAgICAgRGltIGluZGV4 V3JpdGVyIEFzIEx1Y2VuZS5OZXQuSW5kZXguSW5kZXhXcml0ZXINCiAgICAgICAgICAgIFRyeQ0K ICAgICAgICAgICAgICAgIGluZGV4V3JpdGVyID0gTmV3IEx1Y2VuZS5OZXQuSW5kZXguSW5kZXhX cml0ZXIoZGlyUiwgYW5hbHl6ZXIsIFRydWUpDQogICAgICAgICAgICBDYXRjaCBleCBBcyBFeGNl cHRpb24NCiAgICAgICAgICAgICAgICBDb25zb2xlLldyaXRlTGluZSgiIyMjIyMjIyMjIyMjIyMj IyMjIyMjIyMjIyMjIyMjIyMiKQ0KICAgICAgICAgICAgICAgIENvbnNvbGUuV3JpdGVMaW5lKGV4 KQ0KICAgICAgICAgICAgICAgIGluZGV4V3JpdGVyID0gTm90aGluZw0KICAgICAgICAgICAgRW5k IFRyeQ0KDQogICAgICAgICAgICAnU3RvcCBpZiBlcnJvcjoNCiAgICAgICAgICAgIElmIElzTm90 aGluZyhkaXIpIFRoZW4gRXhpdCBTdWINCiAgICAgICAgICAgIElmIElzTm90aGluZyhpbmRleFdy aXRlcikgVGhlbiBFeGl0IFN1Yg0KDQogICAgICAgICAgICAnQ3JlYXRlIGluZGV4Og0KICAgICAg ICAgICAgRGltIGkgQXMgSW50ZWdlciA9IDANCiAgICAgICAgICAgIEZvciBpID0gMSBUbyAxMA0K ICAgICAgICAgICAgICAgIGRvYyA9IE5ldyBMdWNlbmUuTmV0LkRvY3VtZW50cy5Eb2N1bWVudCgp DQogICAgICAgICAgICAgICAgRGltIGZsZENvbnRlbnQgQXMgTHVjZW5lLk5ldC5Eb2N1bWVudHMu RmllbGQNCiAgICAgICAgICAgICAgICBmbGRDb250ZW50ID0gTmV3IEx1Y2VuZS5OZXQuRG9jdW1l bnRzLkZpZWxkKCJkYXRlIiwgKGkgKiAyNTApLlRvU3RyaW5nLCBMdWNlbmUuTmV0LkRvY3VtZW50 cy5GaWVsZC5TdG9yZS5ZRVMsIEx1Y2VuZS5OZXQuRG9jdW1lbnRzLkZpZWxkLkluZGV4LlVOX1RP S0VOSVpFRCwgTHVjZW5lLk5ldC5Eb2N1bWVudHMuRmllbGQuVGVybVZlY3Rvci5OTykNCiAgICAg ICAgICAgICAgICBkb2MuQWRkKGZsZENvbnRlbnQpDQogICAgICAgICAgICAgICAgZmxkQ29udGVu dCA9IE5ldyBMdWNlbmUuTmV0LkRvY3VtZW50cy5GaWVsZCgiY2MiLCAiY2MjIiAmIGkuVG9TdHJp bmcgJiAiQGRyYWNoZW5mZWxzLmRlIiwgTHVjZW5lLk5ldC5Eb2N1bWVudHMuRmllbGQuU3RvcmUu WUVTLCBMdWNlbmUuTmV0LkRvY3VtZW50cy5GaWVsZC5JbmRleC5VTl9UT0tFTklaRUQsIEx1Y2Vu ZS5OZXQuRG9jdW1lbnRzLkZpZWxkLlRlcm1WZWN0b3IuTk8pDQogICAgICAgICAgICAgICAgZG9j LkFkZChmbGRDb250ZW50KQ0KICAgICAgICAgICAgICAgIGZsZENvbnRlbnQgPSBOZXcgTHVjZW5l Lk5ldC5Eb2N1bWVudHMuRmllbGQoImJjYyIsICJiY2MjIiAmIGkuVG9TdHJpbmcgJiAiQGRyYWNo ZW5mZWxzLmRlIiwgTHVjZW5lLk5ldC5Eb2N1bWVudHMuRmllbGQuU3RvcmUuWUVTLCBMdWNlbmUu TmV0LkRvY3VtZW50cy5GaWVsZC5JbmRleC5VTl9UT0tFTklaRUQsIEx1Y2VuZS5OZXQuRG9jdW1l bnRzLkZpZWxkLlRlcm1WZWN0b3IuTk8pDQogICAgICAgICAgICAgICAgZG9jLkFkZChmbGRDb250 ZW50KQ0KICAgICAgICAgICAgICAgIGluZGV4V3JpdGVyLkFkZERvY3VtZW50KGRvYykNCiAgICAg ICAgICAgICAgICBEZWJ1Zy5QcmludChpKQ0KICAgICAgICAgICAgTmV4dA0KICAgICAgICAgICAg aW5kZXhXcml0ZXIuT3B0aW1pemUoKQ0KICAgICAgICAgICAgaW5kZXhXcml0ZXIuQ2xvc2UoKQ0K DQogICAgICAgICAgICAnQWRkIGRpclIgdG8gZGlyZWN0b3J5Og0KICAgICAgICAgICAgRGltIElX IEFzIEx1Y2VuZS5OZXQuSW5kZXguSW5kZXhXcml0ZXIgPSBOZXcgTHVjZW5lLk5ldC5JbmRleC5J bmRleFdyaXRlcihkaXIsIGFuYWx5emVyLCBUcnVlKQ0KICAgICAgICAgICAgSVcuU2V0V3JpdGVM b2NrVGltZW91dCgxMDAwKQ0KICAgICAgICAgICAgSVcuQWRkSW5kZXhlc05vT3B0aW1pemUoTmV3 IEx1Y2VuZS5OZXQuU3RvcmUuRGlyZWN0b3J5KCkge2RpclJ9KQ0KICAgICAgICAgICAgSVcuT3B0 aW1pemUoKQ0KICAgICAgICAgICAgSVcuQ2xvc2UoKQ0KDQogICAgICAgICAgICAnU3VjaGVuOg0K ICAgICAgICAgICAgZGlyID0gTHVjZW5lLk5ldC5TdG9yZS5GU0RpcmVjdG9yeS5HZXREaXJlY3Rv cnkoaW5kZXhGaWxlTG9jYXRpb24sIEZhbHNlKQ0KICAgICAgICAgICAgRGltIHNlYXJjaGVyIEFz IEx1Y2VuZS5OZXQuU2VhcmNoLkluZGV4U2VhcmNoZXIgPSBOZXcgTHVjZW5lLk5ldC5TZWFyY2gu SW5kZXhTZWFyY2hlcihkaXIpDQoNCiAgICAgICAgICAgICdNZWhyZXJlIEZlbGRlciBkdXJjaHN1 Y2hlbjoNCiAgICAgICAgICAgIERpbSBiIEFzIEx1Y2VuZS5OZXQuU2VhcmNoLkJvb2xlYW5RdWVy eSA9IE5ldyBMdWNlbmUuTmV0LlNlYXJjaC5Cb29sZWFuUXVlcnkNCiAgICAgICAgICAgIERpbSB0 cSBBcyBMdWNlbmUuTmV0LlNlYXJjaC5XaWxkY2FyZFF1ZXJ5ID0gTmV3IEx1Y2VuZS5OZXQuU2Vh cmNoLldpbGRjYXJkUXVlcnkoTmV3IEx1Y2VuZS5OZXQuSW5kZXguVGVybSgidG8iLCAiKiIpKQ0K ICAgICAgICAgICAgYi5BZGQodHEsIEx1Y2VuZS5OZXQuU2VhcmNoLkJvb2xlYW5DbGF1c2UuT2Nj dXIuU0hPVUxEKQ0KDQogICAgICAgICAgICB0cSA9IE5ldyBMdWNlbmUuTmV0LlNlYXJjaC5XaWxk Y2FyZFF1ZXJ5KE5ldyBMdWNlbmUuTmV0LkluZGV4LlRlcm0oImNjIiwgIioiKSkNCiAgICAgICAg ICAgIGIuQWRkKHRxLCBMdWNlbmUuTmV0LlNlYXJjaC5Cb29sZWFuQ2xhdXNlLk9jY3VyLlNIT1VM RCkNCg0KICAgICAgICAgICAgdHEgPSBOZXcgTHVjZW5lLk5ldC5TZWFyY2guV2lsZGNhcmRRdWVy eShOZXcgTHVjZW5lLk5ldC5JbmRleC5UZXJtKCJiY2MiLCAiKiIpKQ0KICAgICAgICAgICAgYi5B ZGQodHEsIEx1Y2VuZS5OZXQuU2VhcmNoLkJvb2xlYW5DbGF1c2UuT2NjdXIuU0hPVUxEKQ0KDQog ICAgICAgICAgICBiLlNldE1heENsYXVzZUNvdW50KEludGVnZXIuTWF4VmFsdWUpDQoNCiAgICAg ICAgICAgIERpbSBoaXRzIEFzIEx1Y2VuZS5OZXQuU2VhcmNoLkhpdHMgPSBzZWFyY2hlci5TZWFy Y2goYikNCg0KICAgICAgICAgICAgJ0ZvciBpID0gMCBUbyBoaXRzLkxlbmd0aCgpIC0gMQ0KICAg ICAgICAgICAgJyAgICBkb2MgPSBoaXRzLkRvYyhpKQ0KICAgICAgICAgICAgJ05leHQNCg0KICAg ICAgICAgICAgQ29uc29sZS5Xcml0ZUxpbmUoaGl0cy5MZW5ndGgpDQoNCiAgICAgICAgICAgIHNl YXJjaGVyLkNsb3NlKCkNCiAgICAgICAgQ2F0Y2ggZXggQXMgRXhjZXB0aW9uDQogICAgICAgICAg ICBDb25zb2xlLldyaXRlTGluZSgiIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMiKQ0K ICAgICAgICAgICAgQ29uc29sZS5Xcml0ZUxpbmUoZXgpDQogICAgICAgICAgICBDb25zb2xlLldy aXRlTGluZSgiIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMiKQ0KICAgICAgICBFbmQg VHJ5DQoNCiAgICAgICAgDQogICAgRW5kIFN1Yg0KDQpFbmQgTW9kdWxlDQo= ------_=_NextPart_001_01CA78D7.83BDDB7A-- From lucene-net-user-return-1873ohart@example.net Wed Dec 09 14:17:54 2009 Return-Path: <lucene-net-user-return-1873ohart@example.net> Delivered-To: ohart@example.net Received: (qmail 29642 invoked from network); 9 Dec 2009 14:17:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 9 Dec 2009 14:17:54 -0000 Received: (qmail 72487 invoked by uid 500); 9 Dec 2009 14:17:53 -0000 Delivered-To: ohart@example.net Received: (qmail 72460 invoked by uid 500); 9 Dec 2009 14:17:53 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 72447 invoked by uid 99); 9 Dec 2009 14:17:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2009 14:17:53 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO lo.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2009 14:17:43 +0000 Received: from list by lo.gmane.org with local (Exim 4.50) id 1NINM2-0003co-Gi for ohart@example.net; Wed, 09 Dec 2009 15:17:22 +0100 Received: from pd9e55869.dip.t-dialin.net ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ohart@example.net>; Wed, 09 Dec 2009 15:17:22 +0100 Received: from robertj by pd9e55869.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ohart@example.net>; Wed, 09 Dec 2009 15:17:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: ohart@example.net From: Robert Jordan <ohart@example.net> Subject: Re: System.TypeInitializationException on linux (vbnc) Date: Wed, 09 Dec 2009 15:16:57 +0100 Lines: 52 Message-ID: <ohart@example.net> References: <ohart@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: ohart@example.net X-Gmane-NNTP-Posting-Host: pd9e55869.dip.t-dialin.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:83.161.120.155) Gecko/20091204 Thunderbird/3.0 In-Reply-To: <ohart@example.net> Sender: news <ohart@example.net> X-Virus-Checked: Checked by ClamAV on apache.org On 09.12.2009 14:57, Johannes Drachenfels wrote: > Hi, > > > > sorry for re-posting - I am new to this list... > > > > I am switching from lucene.net 83.161.120.155 to lucene.net 83.161.120.155 and I have > problems in a very early state. > > > > With version 83.161.120.155 it works fine! > > With version 83.161.120.155 on Microsoft it works fine > > With version 83.161.120.155 on linux I always get the following errors: > > > > ################################ > > System.TypeInitializationException: An exception was thrown by the type > initializer for Lucene.Net.Store.FSDirectory ---> > System.TypeInitializationException: An exception was thrown by the type > initializer for Lucene.Net.Util.Constants ---> > System.NullReferenceException: Object reference not set to an instance > of an object > > at Lucene.Net.Util.Constants..cctor () [0x00000] > > --- End of inner exception stack trace --- > > at Lucene.Net.Store.FSDirectory..cctor () [0x00000] > > --- End of inner exception stack trace --- > > at ConsoleApplication1.Module1.Main () [0x00000] This is probably caused by this line in Lucene.Net.Util.Constants.cs: public static readonly System.String OS_NAME = System.Environment.GetEnvironmentVariable("OS"); Try to assign some value to the env var "OS": OS=foo mono yourapp.exe Robert From lucene-net-user-return-1874ohart@example.net Wed Dec 09 15:14:29 2009 Return-Path: <lucene-net-user-return-1874ohart@example.net> Delivered-To: ohart@example.net Received: (qmail 51818 invoked from network); 9 Dec 2009 15:14:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 9 Dec 2009 15:14:28 -0000 Received: (qmail 77886 invoked by uid 500); 9 Dec 2009 15:14:28 -0000 Delivered-To: ohart@example.net Received: (qmail 77808 invoked by uid 500); 9 Dec 2009 15:14:28 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 77798 invoked by uid 99); 9 Dec 2009 15:14:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2009 15:14:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mx80.drachenfels.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2009 15:14:17 +0000 Received: from [83.161.120.155] (helo=bleich32.intern.drachenfels.de) by mx80.drachenfels.de with esmtp (envelope-from <ohart@example.net>) id 1NIOEg-00077W-To for ohart@example.net; Wed, 09 Dec 2009 16:13:51 +0100 Subject: AW: Re: System.TypeInitializationException on linux (vbnc) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Wed, 9 Dec 2009 16:13:56 +0100 Message-ID: <ohart@example.net> Content-class: urn:content-classes:message In-Reply-To: <ohart@example.net> X-MimeOLE: Produced By Microsoft Exchange V6.5 X-MS-Has-Attach: X-MS-TNEF-Correlator: thread-topic: Re: System.TypeInitializationException on linux (vbnc) thread-index: Acp421Tj9Yt0NdJRTtqOULCIOTNcRwABqT0g From: "Johannes Drachenfels" <ohart@example.net> To: <ohart@example.net> X-SGG-UMAMSID: 20091209151350Z27374mx80.drachenfels.de 1NIOEg-00077W-To X-SGG-RESULT: 20091209151350Z27374mx80.drachenfels.de C1:OK E1:OK MX1:OK BL:OK CT:Unknown CM: SIP:83.161.120.155 SMF:ohart@example.net X-SGG-MF: ohart@example.net X-Virus-Checked: Checked by ClamAV on apache.org Thanks a lot! This works perfect! I added a line System.Environment.SetEnvironmentVariable("OS", "linux") Do you know how to file a bug to the developers?! Thanks & Regards, Johannes Johannes von Drachenfels Phone: 833-276-4528 Mobile: 833-276-4528 =20 Drachenfels GmbH Bleichstrasse 56 75173 Pforzheim Germany =20 Gesch=E4ftsf=FChrer: Johannes von Drachenfels Sitz der Gesellschaft: Pforzheim Handelsregister: Registergericht Mannheim: HRB 504389 =20 Notice: This transmittal and/or attachments may be privileged or = confidential. If you are not the intended recipient, you are hereby = notified that you have received this transmittal in error; any review, = dissemination, or copying is strictly prohibited. If you received this = transmittal in error, please notify us immediately by reply and = immediately delete this message and all its attachments. Thank you.=20 -----Urspr=FCngliche Nachricht----- Von: news [mailto:ohart@example.net] Im Auftrag von Robert Jordan Gesendet: Mittwoch, 9. Dezember 2009 15:17 An: ohart@example.net Betreff: Re: System.TypeInitializationException on linux (vbnc) On 09.12.2009 14:57, Johannes Drachenfels wrote: > Hi, > > > > sorry for re-posting - I am new to this list... > > > > I am switching from lucene.net 83.161.120.155 to lucene.net 83.161.120.155 and I = have > problems in a very early state. > > > > With version 83.161.120.155 it works fine! > > With version 83.161.120.155 on Microsoft it works fine > > With version 83.161.120.155 on linux I always get the following errors: > > > > ################################ > > System.TypeInitializationException: An exception was thrown by the = type > initializer for Lucene.Net.Store.FSDirectory ---> > System.TypeInitializationException: An exception was thrown by the = type > initializer for Lucene.Net.Util.Constants ---> > System.NullReferenceException: Object reference not set to an instance > of an object > > at Lucene.Net.Util.Constants..cctor () [0x00000] > > --- End of inner exception stack trace --- > > at Lucene.Net.Store.FSDirectory..cctor () [0x00000] > > --- End of inner exception stack trace --- > > at ConsoleApplication1.Module1.Main () [0x00000] This is probably caused by this line in Lucene.Net.Util.Constants.cs: public static readonly System.String OS_NAME =3D=20 System.Environment.GetEnvironmentVariable("OS"); Try to assign some value to the env var "OS": OS=3Dfoo mono yourapp.exe Robert From lucene-net-user-return-1875ohart@example.net Wed Dec 09 22:12:27 2009 Return-Path: <lucene-net-user-return-1875ohart@example.net> Delivered-To: ohart@example.net Received: (qmail 44815 invoked from network); 9 Dec 2009 22:12:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 9 Dec 2009 22:12:27 -0000 Received: (qmail 22829 invoked by uid 500); 9 Dec 2009 22:12:26 -0000 Delivered-To: ohart@example.net Received: (qmail 22730 invoked by uid 500); 9 Dec 2009 22:12:25 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 22720 invoked by uid 99); 9 Dec 2009 22:12:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2009 22:12:25 +0000 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=MIME_BASE64_BLANKS,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO VA3EHSOBE005.bigfish.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2009 22:12:14 +0000 Received: from mail167-va3-R.bigfish.com (83.161.120.155) by VA3EHSOBE005.bigfish.com (83.161.120.155) with Microsoft SMTP Server id 8.1.340.0; Wed, 9 Dec 2009 22:11:52 +0000 Received: from mail167-va3 (localhost.localdomain [83.161.120.155]) by mail167-va3-R.bigfish.com (Postfix) with ESMTP id 2835218385FF for <ohart@example.net>; Wed, 9 Dec 2009 22:11:52 +0000 (UTC) X-SpamScore: -5 X-BigFish: VPS-5(zz542N9371Pzz1202hzz873biz31n6bh43j61h) X-Spam-TCS-SCL: 0:0 Received: from mail167-va3 (localhost.localdomain [83.161.120.155]) by mail167-va3 (MessageSwitch) id 126039670930802_10878; Wed, 9 Dec 2009 22:11:49 +0000 (UTC) Received: from VA3EHSMHS006.bigfish.com (unknown [83.161.120.155]) by mail167-va3.bigfish.com (Postfix) with ESMTP id D3B531A00096 for <ohart@example.net>; Wed, 9 Dec 2009 22:11:48 +0000 (UTC) Received: from fegcnmsmmdz04 (83.161.120.155) by VA3EHSMHS006.bigfish.com (83.161.120.155) with Microsoft SMTP Server (TLS) id 14.0.482.32; Wed, 9 Dec 2009 22:11:47 +0000 Received: from ffeplmsexbh03.ffe.foxeg.com (Not Verified[83.161.120.155]) by FOX.COM (post.office MTA v5.0 0924 ) with ESMTP id <B4b2020a20001>; Wed, 09 Dec 2009 14:11:46 -0800 Received: from fegplmsexmb14.ffe.foxeg.com ([83.161.120.155]) by ffeplmsexbh03.ffe.foxeg.com with Microsoft SMTPSVC833-276-4528); Wed, 9 Dec 2009 14:11:46 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Subject: RE: Spatial search with Lucene.Net Date: Wed, 9 Dec 2009 14:11:44 -0800 Message-ID: <ohart@example.net> In-Reply-To: <00cc01ca78ab$f7ee70e0$e7cb52a0$@com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Spatial search with Lucene.Net thread-index: Acp4KzrdpVKiH9PCT3++F1pBlB+N3AAIWwkAAAhOf0AAD2vZUAAcNvVw References: <ohart@example.net> <ohart@example.net> <019701ca784c$cba29d40$62e7d7c0$@com> <ohart@example.net> <00cc01ca78ab$f7ee70e0$e7cb52a0$@com> From: Michael Garski <ohart@example.net> To: <ohart@example.net> X-OriginalArrivalTime: 09 Dec 2009 22:11:46.0271 (UTC) FILETIME=[98C716F0:01CA791C] X-Reverse-DNS: unknown X-Virus-Checked: Checked by ClamAV on apache.org SSdtIG5vdCBmYW1pbGlhciB3aXRoIGFueSBvZiB0aGUgc3BhdGlhbCBzZWFyY2ggbGlicmFyaWVz IGluIHRoZSBjb250cmliIHNlY3Rpb24sIGhvd2V2ZXIgdGhleSBtYXkgbmVlZCB0byBiZSB1cGRh dGVkIHRvIHVzZSAyLjkncyBudW1lcmljIGZpZWxkcy4NCg0KTWljaGFlbCANCg0KLS0tLS1Pcmln aW5hbCBNZXNzYWdlLS0tLS0NCkZyb206IE1hcmt1cyBXb2x0ZXJzIFttYWlsdG86bWFya3VzQG5h eG1hLmNvbV0gDQpTZW50OiBXZWRuZXNkYXksIERlY2VtYmVyIDA5LCAyMDA5IDEyOjQ2IEFNDQpU bzogbHVjZW5lLW5ldC11c2VyQGluY3ViYXRvci5hcGFjaGUub3JnDQpTdWJqZWN0OiBTcGF0aWFs IHNlYXJjaCB3aXRoIEx1Y2VuZS5OZXQNCg0KV2hhdCBpcyB0aGUgYmVzdCB3YXkgdG8gaW5jb3Jw b3JhdGUgc3BhdGlhbCBzZWFyY2ggZGF0YSBpbnRvIGx1Y2VuZT8NCg0KVGhlIFNwYXRpYWwuTmV0 IGNvbnRyaWIsIHdoaWNoIGlzIGJlZW4gcG9ydGVkIGJ5IFJvYmVydCBDaGFwbWFuIG9yIHRoaXMg Y29kZQ0KaWYgZm91bmQgaGVyZToNCg0KaHR0cDovL3N1aml0cGFsLmJsb2dzcG90LmNvbS8yMDA4 LzAyL3NwYXRpYWwtc2VhcmNoLXdpdGgtbHVjZW5lLmh0bWwNCg0KTWFya3VzDQoNCg0KDQoNCg== From lucene-net-user-return-1876ohart@example.net Wed Dec 09 22:15:48 2009 Return-Path: <lucene-net-user-return-1876ohart@example.net> Delivered-To: ohart@example.net Received: (qmail 46394 invoked from network); 9 Dec 2009 22:15:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 9 Dec 2009 22:15:48 -0000 Received: (qmail 26284 invoked by uid 500); 9 Dec 2009 22:15:48 -0000 Delivered-To: ohart@example.net Received: (qmail 26209 invoked by uid 500); 9 Dec 2009 22:15:48 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 26199 invoked by uid 99); 9 Dec 2009 22:15:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2009 22:15:48 +0000 X-ASF-Spam-Status: No, hits=-3.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO TX2EHSOBE006.bigfish.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2009 22:15:45 +0000 Received: from mail96-tx2-R.bigfish.com (83.161.120.155) by TX2EHSOBE006.bigfish.com (83.161.120.155) with Microsoft SMTP Server id 8.1.340.0; Wed, 9 Dec 2009 22:15:23 +0000 Received: from mail96-tx2 (localhost.localdomain [83.161.120.155]) by mail96-tx2-R.bigfish.com (Postfix) with ESMTP id 78B06DA8178 for <ohart@example.net>; Wed, 9 Dec 2009 22:15:23 +0000 (UTC) X-SpamScore: -13 X-BigFish: VPS-13(z3b68jz542N1432R14ffO936eM1370I9371Pab78ozz1202hzz59886n5a6ciz31n6bh43j61h) X-Spam-TCS-SCL: 0:0 Received: from mail96-tx2 (localhost.localdomain [83.161.120.155]) by mail96-tx2 (MessageSwitch) id 1260396916299445_27869; Wed, 9 Dec 2009 22:15:16 +0000 (UTC) Received: from TX2EHSMHS021.bigfish.com (unknown [83.161.120.155]) by mail96-tx2.bigfish.com (Postfix) with ESMTP id A25B8F18051 for <ohart@example.net>; Wed, 9 Dec 2009 22:15:15 +0000 (UTC) Received: from fegcnmsmmdz04 (83.161.120.155) by TX2EHSMHS021.bigfish.com (83.161.120.155) with Microsoft SMTP Server (TLS) id 14.0.482.32; Wed, 9 Dec 2009 22:15:15 +0000 Received: from ffeplmsexbh03.ffe.foxeg.com (Not Verified[83.161.120.155]) by FOX.COM (post.office MTA v5.0 0924 ) with ESMTP id <B4b2021720001>; Wed, 09 Dec 2009 14:15:14 -0800 Received: from fegplmsexmb14.ffe.foxeg.com ([83.161.120.155]) by ffeplmsexbh03.ffe.foxeg.com with Microsoft SMTPSVC833-276-4528); Wed, 9 Dec 2009 14:15:14 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: How to search number in text field? Date: Wed, 9 Dec 2009 14:15:13 -0800 Message-ID: <ohart@example.net> In-Reply-To: <ohart@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to search number in text field? thread-index: Acp277Vylq16PajiQW6ypc54c+Z7kwCLPf4Q References: <ohart@example.net> <ohart@example.net> <ohart@example.net> From: Michael Garski <ohart@example.net> To: <ohart@example.net> X-OriginalArrivalTime: 09 Dec 2009 22:15:14.0304 (UTC) FILETIME=[14C66800:01CA791D] X-Reverse-DNS: unknown Be sure to use the same analyzer at search time that you do at index time. The StandardAnalyzer will keep the numbers and allow you to search for the text "2009123" in the field "title" with "title:2009123" or "title:2009*". I'm not sure why you are having difficulty using the wildcard query. =20 Wildcard queries do not perform the best if you have a large number of terms that could match the wildcard. If that is the case you will want to alter the analysis of your text. Michael -----Original Message----- From: Floyd Wu [mailto:ohart@example.net]=20 Sent: Sunday, December 06, 2009 7:44 PM To: ohart@example.net Subject: Re: How to search number in text field? Hi Michael The query is constructed using QueryText. Partial of my code as floowing string queryText =3D "title:2009123"; QueryParser parser =3D new QueryParser(SpecialFields.Title, Analyzer); parser.SetLowercaseExpandedTerms(false); Lucene.Net.Search.Query query =3Dparser.Parse(queryText); searcher.Search(query); //searcher is an IndexSearcher instance Floyd 2009/12/5 Michael Garski <ohart@example.net> > Floyd, > > How are you constructing the query? > > Michael > > -----Original Message----- > From: Floyd Wu [mailto:ohart@example.net] > Sent: Thursday, December 03, 2009 10:33 PM > To: ohart@example.net > Subject: How to search number in text field? > > Hi all, > When using StandardAnalyzer indexing documents, Lucene.Net did not > search > for numbers in text fields with numbers. > For example, I have built a index which title is 2009123. > Fire the querystring as "title:2009" returns no records and even if > using > title:2009* > There does exist record with title value=3D2009123; > How can I search this record when my client really want to use 2009 as > keyword for searching? > > Thanks > > Floyd > > From lucene-net-user-return-1877ohart@example.net Thu Dec 10 00:53:34 2009 Return-Path: <lucene-net-user-return-1877ohart@example.net> Delivered-To: ohart@example.net Received: (qmail 94376 invoked from network); 10 Dec 2009 00:53:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 10 Dec 2009 00:53:34 -0000 Received: (qmail 81479 invoked by uid 500); 10 Dec 2009 00:53:33 -0000 Delivered-To: ohart@example.net Received: (qmail 81438 invoked by uid 500); 10 Dec 2009 00:53:33 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 81428 invoked by uid 99); 10 Dec 2009 00:53:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Dec 2009 00:53:33 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-qy0-f180.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Dec 2009 00:53:31 +0000 Received: by qyk10 with SMTP id 10so3489548qyk.12 for <multiple recipients>; Wed, 09 Dec 2009 16:53:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=kbHkDD/nnK59HJ5L/FaX1SsqykMcTMZU0gVFEadU48o=; b=k2+ZQuSSzIfqFV8YiW7SPErKi8x23bIK3/J9mOeqR+dLkik9e1Y9G0CN6gJsSy2f7a eAXSse8SlTLOdS9iQ/tVs3Hvr0s9wa6A72bcg7yoUHu/aT9JY5aEZbvXor64tI91gCf+ zzXGSG201/ZZcuODoDAW0Nj91fXoeEK+vMSMw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=BqoG872RTR9WQzRdxf1N2kYT8qasslkL25mbE1ggHmRiYwH9KQ3SQfJctqzBWmXQvC Pbid2JwpvpEKyAccvR/4AchLhK+vKb/wu6MpltbKa2+iLX507Gv0mMillRnt7wqR+U5p 9xiOllqWYdOJQqSzjQUdEfwv7WyLtBPMBc5DU= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id p39mr2790736qaj.288.1260406390688; Wed, 09 Dec 2009 16:53:10 -0800 (PST) Date: Thu, 10 Dec 2009 11:53:10 +1100 Message-ID: <ohart@example.net> Subject: idf on per-field basis From: Artem Chereisky <ohart@example.net> To: ohart@example.net, ohart@example.net Content-Type: multipart/alternative; boundary=00c09f899355308cd7047a553b63 --00c09f899355308cd7047a553b63 Content-Type: text/plain; charset=ISO-8859-1 Hi, I came across a situation when my scores are adversely affected by the IDF component. Let me explain. My index documents contain a number of fields, for some, TF and IDF are important and need to be taken into account, for others niether TF nor IDF should apply. I dealt with TF by omiting norms during indexing but I can't find a way to calculate IDF for certain fields only. The formula for IDF is defined in Similarity. I have my own implementation of Similarity where I can set it to 1 or use the default implementation. mySearcher.SetSimilarity is where I tell Lucene which similarity instance to use, but that's global, so it applies to all fields in the index. So, here's my question. Is there a way to calculate IDF on per-field basis? Regards, Art --00c09f899355308cd7047a553b63-- From lucene-net-user-return-1878ohart@example.net Thu Dec 10 03:16:01 2009 Return-Path: <lucene-net-user-return-1878ohart@example.net> Delivered-To: ohart@example.net Received: (qmail 41383 invoked from network); 10 Dec 2009 03:16:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 10 Dec 2009 03:16:01 -0000 Received: (qmail 57976 invoked by uid 500); 10 Dec 2009 03:16:00 -0000 Delivered-To: ohart@example.net Received: (qmail 57871 invoked by uid 500); 10 Dec 2009 03:16:00 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 57860 invoked by uid 99); 10 Dec 2009 03:15:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Dec 2009 03:15:59 +0000 X-ASF-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO aroush.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Dec 2009 03:15:56 +0000 Received: (qmail 1722 invoked from network); 9 Dec 2009 22:15:34 -0500 Received: from pool-74-104-163-57.bstnma.fios.verizon.net (HELO aroushlt) (83.161.120.155) by aroush.net with SMTP; 9 Dec 2009 22:15:34 -0500 From: "George Aroush" <ohart@example.net> To: <ohart@example.net> References: <ohart@example.net> <ohart@example.net> <019701ca784c$cba29d40$62e7d7c0$@com> <ohart@example.net> <00cc01ca78ab$f7ee70e0$e7cb52a0$@com> <ohart@example.net> In-Reply-To: <ohart@example.net> Subject: RE: Spatial search with Lucene.Net Date: Wed, 9 Dec 2009 22:15:35 -0500 Message-ID: <008401ca7947$0a849360$1f8dba20$@net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-us Thread-Index: Acp4KzrdpVKiH9PCT3++F1pBlB+N3AAIWwkAAAhOf0AAD2vZUAAcNvVwAAqZ/KA= There isn't any port of Spatial.Net under contrib. If someone has = ported it, and want to contribute it, that would be great. =20 -- George -----Original Message----- From: Michael Garski [mailto:ohart@example.net]=20 Sent: Wednesday, December 09, 2009 5:12 PM To: ohart@example.net Subject: RE: Spatial search with Lucene.Net I'm not familiar with any of the spatial search libraries in the contrib = section, however they may need to be updated to use 2.9's numeric = fields. Michael=20 -----Original Message----- From: Markus Wolters [mailto:ohart@example.net]=20 Sent: Wednesday, December 09, 2009 12:46 AM To: ohart@example.net Subject: Spatial search with Lucene.Net What is the best way to incorporate spatial search data into lucene? The Spatial.Net contrib, which is been ported by Robert Chapman or this = code if found here: http://sujitpal.blogspot.com/2008/02/spatial-search-with-lucene.html Markus From lucene-net-user-return-1879ohart@example.net Thu Dec 10 03:18:54 2009 Return-Path: <lucene-net-user-return-1879ohart@example.net> Delivered-To: ohart@example.net Received: (qmail 42305 invoked from network); 10 Dec 2009 03:18:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 10 Dec 2009 03:18:54 -0000 Received: (qmail 59955 invoked by uid 500); 10 Dec 2009 03:18:53 -0000 Delivered-To: ohart@example.net Received: (qmail 59861 invoked by uid 500); 10 Dec 2009 03:18:53 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 59851 invoked by uid 99); 10 Dec 2009 03:18:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Dec 2009 03:18:52 +0000 X-ASF-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO aroush.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Dec 2009 03:18:50 +0000 Received: (qmail 4510 invoked from network); 9 Dec 2009 22:18:29 -0500 Received: from pool-74-104-163-57.bstnma.fios.verizon.net (HELO aroushlt) (83.161.120.155) by aroush.net with SMTP; 9 Dec 2009 22:18:29 -0500 From: "George Aroush" <ohart@example.net> To: <ohart@example.net> References: <ohart@example.net> <ohart@example.net> <019701ca784c$cba29d40$62e7d7c0$@com> <ohart@example.net> <00bf01ca78ab$83d84550$8b88cff0$@com> In-Reply-To: <00bf01ca78ab$83d84550$8b88cff0$@com> Subject: RE: Safe to use Release 2.9.1 Beta for production? Date: Wed, 9 Dec 2009 22:18:30 -0500 Message-ID: <008601ca7947$729f6c90$57de45b0$@net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-us Thread-Index: Acp4KzrdpVKiH9PCT3++F1pBlB+N3AAIWwkAAAhOf0AADw90EAAnPsDQ I really want to see folks using 2.9.1, if possible, in production too. It's the only way we can be sure of its quality. And yes, all NUnit = test are passing but I want to
{'source': 'Apache Software Foundation Public Mail Archives'}