Return-Path: X-Original-To: apmail-lucenenet-user-archive@www.apache.org Delivered-To: apmail-lucenenet-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3F13C17364 for ; Sat, 7 Nov 2015 11:57:48 +0000 (UTC) Received: (qmail 99043 invoked by uid 500); 7 Nov 2015 11:57:48 -0000 Delivered-To: apmail-lucenenet-user-archive@lucenenet.apache.org Received: (qmail 98998 invoked by uid 500); 7 Nov 2015 11:57:48 -0000 Mailing-List: contact user-help@lucenenet.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@lucenenet.apache.org Delivered-To: mailing list user@lucenenet.apache.org Received: (qmail 98986 invoked by uid 99); 7 Nov 2015 11:57:47 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Nov 2015 11:57:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 375AE18097E for ; Sat, 7 Nov 2015 11:57:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.901 X-Spam-Level: ** X-Spam-Status: No, score=2.901 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Pf49eKMn61iE for ; Sat, 7 Nov 2015 11:57:34 +0000 (UTC) Received: from mail-pa0-f46.google.com (mail-pa0-f46.google.com [209.85.220.46]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id A62AC2095B for ; Sat, 7 Nov 2015 11:57:33 +0000 (UTC) Received: by padhx2 with SMTP id hx2so141447448pad.1 for ; Sat, 07 Nov 2015 03:57:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=/IgtBGlHvEYHwyDgeg9ZqPVv9isvtWukgdyh/OlNmpI=; b=NSXWJwSwIchNOLdLvk2b1d32I0enoDgr0gUWjdt34/UROZuK2bribTg4UusEMy64LZ FJvfTNMXqnxgliczVTQrvaxd7W0z0IYFI8qpS8ZDlCUW0cSqpku5B3AR+lW0psz2WkJ1 xMFiL3UMLd03A50g1+LcbiZSRTNd5JksRx84GD7AQ1GXIhoeWODJuBnwxVeV+STEf4mC 8b6NrgzcI97GqEXrAWWR6fhmpHIw/UQMTXtj1NCW9KIXIUIdYJ+1VCatKfSZBEGp7Fjo NvahhzqTiI8nVjsl9XE5fXP8fkYRMY2bsfRvPrGIqNz43Rpa1hLSF9lbcknjacETg6Gh zHnw== X-Received: by 10.66.243.225 with SMTP id xb1mr24765171pac.1.1446897445730; Sat, 07 Nov 2015 03:57:25 -0800 (PST) Received: from krang.gateway (CPE-1-123-13-14.sfl9.fli.bigpond.net.au. [1.123.13.14]) by smtp.googlemail.com with ESMTPSA id in6sm5490353pbd.86.2015.11.07.03.57.21 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 07 Nov 2015 03:57:25 -0800 (PST) Content-Type: multipart/alternative; boundary="Apple-Mail=_0AA40C2B-68D1-4135-B268-248E4CAC8FB5" Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Subject: Re: Source not in solution From: Kent Boogaart In-Reply-To: <563DAB75.40102@devhost.se> Date: Sat, 7 Nov 2015 22:27:17 +1030 Cc: user@lucenenet.apache.org Message-Id: <2A2DAD86-B221-425E-BFD8-985DF9D1F63E@gmail.com> References: <3EB0517A-EB03-4CE4-B3B8-A417D47153AB@gmail.com> <563DAB75.40102@devhost.se> To: Simon Svensson X-Mailer: Apple Mail (2.3096.5) --Apple-Mail=_0AA40C2B-68D1-4135-B268-248E4CAC8FB5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Thanks Simon. So, just to be clear, there are no usable branches of Lucene.NET post = 3.0.x? I was assuming there was something usable because of this post: = http://stackoverflow.com/a/24897255/1228288, wherein Peter Bailey says = be has used a later build to avoid the spurious exceptions I mentioned = in point #1. Assuming there is nothing post 3.0.x I can use, my recourse here will be = to simply use the project as is and debug it to try to determine why = I=E2=80=99m getting the second issue. I can live with the first-chance = exceptions, but the second issue is a blocker. FWIW, the changes I needed to make to the core project to get it to = build for iOS were all to do with AppSettings, because = ConfigurationManager simply doesn=E2=80=99t exist. Consequently, there = are some knock-on changes to Contants.cs and StringHelper.cs. One other = thing I had to do when I was using that project was to manually add the = snowball analyzer in, since it was omitted. Cheers, Kent > On 7 Nov 2015, at 6:12 PM, Simon Svensson wrote: >=20 > Hi Kent, >=20 > Based on the core/Util/Version.cs of chrigu-ebert/Xamarin-Lucene, it's > version 3.0.x. The latest stable version of Lucene.Net = is 3.0.3, so his > sources seem correct. (I have, however, issues with his non-documented > approach to modifying the source code. Are these changes that perhaps > could go back to the real Lucene.Net source?) >=20 > There are no newer stable code for you to use. I presume you tried the > master branch of apache/lucenenet, but it's currently an in-progress > port of Lucene 4.8 and is in no ways complete. >=20 > The MultiFieldQueryParser (and the QueryParser) are not longer present > in the core, but moved to the [java-package > org.apache.lucene.queryparser.classic][1]. This means that we'll have = in > a separate project once it's ported, but there is to timeline for = that. >=20 > // Simon >=20 > [1]: > = https://lucene.apache.org/core/4_8_1/queryparser/org/apache/lucene/querypa= rser/classic/package-summary.html = >=20 > On 07/11/15 07:50, Kent Boogaart wrote: >> OK, I=E2=80=99ve changed tact. I=E2=80=99m instead building the = Lucene.Net source >> whilst targeting Xamarin platforms. >>=20 >> I can get the core project to build with a few minor changes. >> However, the Lucene.Net solution appears to be completely missing >> MultiFieldQueryParser. Where has this gone? Can anyone please >> enlighten me - I=E2=80=99m struggling to reconcile the state of this = project >> against the Javadocs for Lucene itself (which shows that >> MultiFieldQueryParser is still a thing). >>=20 >> Thanks, Kent >>=20 >>> On 7 Nov 2015, at 11:06 AM, Kent Boogaart >>> wrote: >>>=20 >>> Hi, >>>=20 >>> I=E2=80=99m using Lucene from a mobile app (using Xamarin) via this >>> project: https://github.com/chrigu-ebert/Xamarin-Lucene.Net >>> > >>>=20 >>> However, I would like to upgrade to a more recent Lucene.NET = >>> > to address two issues I = have. Briefly, the two >>> issues I have are: >>>=20 >>> 1. First-chance exceptions are raised on every search, such as >>> =E2=80=9CIOException: read past eof=E2=80=9D and = =E2=80=9CLookaheadSuccess: Error in the >>> application=E2=80=9D 2. On a brand new install of my app, the first = attempt >>> to search results in an exception: "System.IO.IOException: Invalid >>> handle to path >>> = "/private/var/mobile/Containers/Bundle/Application/EDDBC7B3-E54E-46CC-BC51= -0CDE18A066F4/my.app/[Unknown]=E2=80=9D=E2=80=9D >>>=20 >>>=20 >>>=20 > My understanding is that later versions of Lucene.NET = > > have addressed #1. By = upgrading I hope to also > address #2, though even if I don=E2=80=99t I will be in a good = position to look > deeper into the matter. >>>=20 >>> As a starting point, I forked the Xamarin Lucene.NET = >>> > project, cloned Lucene.NET = >>> >, and wrote a little script = to copy like-named >>> files from the Lucene.NET > source to the >>> Xamarin Lucene.NET > source. Catastrophe! >>>=20 >>> It became evident that there are a lot of files in the Lucene.NET = >>> > code base that aren=E2=80=99= t even part of the main >>> solution. I=E2=80=99m trying to understand why this is. >>>=20 >>> An example of such a file is StopwordAnalyzerBase.cs. It resides >>> under src\Lucene.Net.Analysis.Common\Analysis\Util, so going by the >>> readme it should be part of the core code base. However, it is not >>> present in the solution. >>>=20 >>> Can anyone tell me why this is? >>>=20 >>> Thanks, Kent --Apple-Mail=_0AA40C2B-68D1-4135-B268-248E4CAC8FB5--