Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 42552200BFB for ; Wed, 11 Jan 2017 20:45:33 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 40DA2160B4E; Wed, 11 Jan 2017 19:45:33 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 65B88160B3B for ; Wed, 11 Jan 2017 20:45:32 +0100 (CET) Received: (qmail 42553 invoked by uid 500); 11 Jan 2017 19:45:31 -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 42541 invoked by uid 99); 11 Jan 2017 19:45:31 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jan 2017 19:45:31 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id CA4A21A05FE for ; Wed, 11 Jan 2017 19:45:30 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.12 X-Spam-Level: X-Spam-Status: No, score=-1.12 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-2.999, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=hotmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id BMXEgodwgLc6 for ; Wed, 11 Jan 2017 19:45:28 +0000 (UTC) Received: from BLU004-OMC4S12.hotmail.com (blu004-omc4s12.hotmail.com [65.55.111.151]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 3125F5F47D for ; Wed, 11 Jan 2017 19:45:27 +0000 (UTC) Received: from NAM04-SN1-obe.outbound.protection.outlook.com ([65.55.111.136]) by BLU004-OMC4S12.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Wed, 11 Jan 2017 11:44:59 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=U7ZoQNYhSIspLjOLMpscY0ICge/GoGit8CY75bxPG4s=; b=RdKeU1NIVXBq0MbA6rDhfLsh+cYd5lCzE199U3isekEIic9r/uuo7iTtWNCcl/Tl8qNKM8hi8oFZtGwMhpkLN0bU9NK5kIuLh1BmV6ar3qApvkylanzQd5HqEDncUbphmP5FNRgBb7GqwSamQV0fhnZbksW6C0Fnysri79zkwHeNod+hxPYmV6M5kXxki7e+LxC8tk7gyVLceNnMkroBO4QHn15fAGZnR5Z8fd9zyD6WuBlFkjAIjGBNtq9IDmZswB9WPRAiMnvEEAY+PB9Nj0/fYWtd3qvm6h0jM/A2LnIhsw/QAYc3yZVO8WLxaUNvfFGWlWf3L766cDHYCAlv/A== Received: from BN3NAM04FT040.eop-NAM04.prod.protection.outlook.com (10.152.92.56) by BN3NAM04HT171.eop-NAM04.prod.protection.outlook.com (10.152.93.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.8; Wed, 11 Jan 2017 19:44:58 +0000 Received: from CY1PR10MB0732.namprd10.prod.outlook.com (10.152.92.51) by BN3NAM04FT040.mail.protection.outlook.com (10.152.93.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.8 via Frontend Transport; Wed, 11 Jan 2017 19:44:57 +0000 Received: from CY1PR10MB0732.namprd10.prod.outlook.com ([10.163.235.26]) by CY1PR10MB0732.namprd10.prod.outlook.com ([10.163.235.26]) with mapi id 15.01.0829.017; Wed, 11 Jan 2017 19:44:57 +0000 From: Ayoria Leon To: "user@lucenenet.apache.org" Subject: Re: Parse method doubt Thread-Topic: Parse method doubt Thread-Index: AQHSbDWiyZkUlpVHc0SGpHhUh2f1tKEznzoAgAAAylWAAAXngIAAAgHQgAAEQACAAACEUg== Date: Wed, 11 Jan 2017 19:44:57 +0000 Message-ID: References: ,<02CED198-55D9-4927-8002-4D0C635A1413@gmail.com> In-Reply-To: <02CED198-55D9-4927-8002-4D0C635A1413@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:55429A5369E006C48DBAB7CEF3F60F3480F9FF21B6D48784C18280B712388742;UpperCasedChecksum:7EFAFFF75B0FFBEEEF5B21B85A6648FE77D4EBA848A9313443B7A4CCD45A7897;SizeAsReceived:7945;Count:39 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [8SKEpWzXaTDvYs6Wrqs4hiKqD7pjlJmi] x-incomingheadercount: 39 x-eopattributedmessage: 0 x-microsoft-exchange-diagnostics: 1;BN3NAM04HT171;7:l+++YM6EbE1UbroUFL53XkqIJh3hEFSupPQNVYrWEvqCmxEmTGnO1dNxJi1BNamGbyvoGMvY/FC6wAYyPlgKbmmQ+srVRljkGNkP2ERgv0Jyb8VJZKhe3FiPQDTxuotcYlZVNzLFXRnUOTq3vXJnyV260DkUodU4ZeWMVGXM4XGNcQwHTG8YLhTfYC8g4H27GqvvZgG5p62omg0x6OIGbjx/8gEqSz5gy5eZVoi6dN5VZHliuPmb+vE5707B1V40QyBrfpT/rqenaLbf7CevxsiJMvgPMBzGcMe7aok59xJ5FQ6KtwLqIU81uQdRojXpNloLPrJd/XKEiFetoc/ADoxuNk47UHeabprnQwrKzKJbTxQXnolmVtoBHBBwhx1sIRqhcC8tnRZ65/z2gtjgWIBG571tnapCZZ0f9CITjcdO78QqRD4iqTDsdplm9SJ1cu5CgF3f9oRxDRcCV3RjGA== x-forefront-antispam-report: EFV:NLI;SFV:NSPM;SFS:(10019020)(98900003);DIR:OUT;SFP:1102;SCL:1;SRVR:BN3NAM04HT171;H:CY1PR10MB0732.namprd10.prod.outlook.com;FPR:;SPF:None;LANG:en; x-ms-office365-filtering-correlation-id: 5e430441-2c87-4369-0f37-08d43a5a52e8 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(22001)(8291501021);SRVR:BN3NAM04HT171; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(444111334)(444112120)(432015012)(82015046);SRVR:BN3NAM04HT171;BCL:0;PCL:0;RULEID:;SRVR:BN3NAM04HT171; x-forefront-prvs: 01842C458A spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_CY1PR10MB0732B2CA26BB24591440726CD9660CY1PR10MB0732namp_" MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jan 2017 19:44:57.6508 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3NAM04HT171 X-OriginalArrivalTime: 11 Jan 2017 19:44:59.0165 (UTC) FILETIME=[3139DCD0:01D26C43] archived-at: Wed, 11 Jan 2017 19:45:33 -0000 --_000_CY1PR10MB0732B2CA26BB24591440726CD9660CY1PR10MB0732namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Oh! I'm sorry. No, the index is big and it will take too long. But, I'm ju= st creating the Query object. Do you think it has something to do with the = index? ________________________________ From: Diego Koga Sent: Wednesday, January 11, 2017 1:38 PM To: user@lucenenet.apache.org Subject: Re: Parse method doubt I meant this: did you recreate the index using the simple analyzer? Koga, Diego ---------------------------- Sent from my iPhone > On Jan 11, 2017, at 2:28 PM, Ayoria Leon = wrote: > > Yes. The index exists and it has information. I was using it with Lucene = 3.0.3 version. And it works when the string used to get the Query doesn't c= ontains dashes... > > > Luis Campos > > > ________________________________ > From: Koga, Diego > Sent: Wednesday, January 11, 2017 1:16 PM > To: user@lucenenet.apache.org > Subject: Re: Parse method doubt > > Did you recreate the index as well? > > > > Att., > ------------------ > Koga, Diego > > > On Wed, Jan 11, 2017 at 2:04 PM, Ayoria Leon > wrote: >> Hi, thank you for your response! >> >> >> I'm using StandardAnalyzer. I tried SimpleAnalyzer instead and it didn't= work... >> >> >> Luis Campos >> >> ________________________________ >> From: Koga, Diego >> Sent: Wednesday, January 11, 2017 12:52 PM >> To: user@lucenenet.apache.org >> Subject: Re: Parse method doubt >> >> Hi, >> >> When you are creating the QueryParser, which analyzer do you use? You >> might need to use a SimpleAnalyzer... >> >> >> >> Att., >> ------------------ >> Koga, Diego >> >> >> On Wed, Jan 11, 2017 at 1:10 PM, Ayoria Leon >> wrote: >>> Hi everyone! >>> >>> My name is Luis Campos and I'm new here. If I'm doing something wrong p= lease let me now. >>> >>> I need to get a Query from a string. This string represents a GUID. >>> To get this, I'm using the method "Parse" from "QueryParser" class (usi= ng Lucene.Net.QueryParsers.Classic). >>> >>> The problem is that the method returns a Query containing 4 terms to fi= nd instead only one. >>> I tried scaping the dashes, and it returns only a term, but deletes the= dashes. >>> I need a query containing only a term, containing the dashes. >>> >>> Could anyone help me? >>> >>> Thanks! >>> >>> Luis Campos >>> --_000_CY1PR10MB0732B2CA26BB24591440726CD9660CY1PR10MB0732namp_--