Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 596CC1873C for ; Tue, 1 Mar 2016 15:28:13 +0000 (UTC) Received: (qmail 97104 invoked by uid 500); 1 Mar 2016 15:28:09 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 97030 invoked by uid 500); 1 Mar 2016 15:28:09 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 97018 invoked by uid 99); 1 Mar 2016 15:28:09 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Mar 2016 15:28:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 9CDCEC0D89 for ; Tue, 1 Mar 2016 15:28:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id go3iLmUyuvT1 for ; Tue, 1 Mar 2016 15:28:07 +0000 (UTC) Received: from mail-vk0-f53.google.com (mail-vk0-f53.google.com [209.85.213.53]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 847355FBEE for ; Tue, 1 Mar 2016 15:28:06 +0000 (UTC) Received: by mail-vk0-f53.google.com with SMTP id e185so170766817vkb.1 for ; Tue, 01 Mar 2016 07:28:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=ftvIeFrsON2GELbW1rAf3IefClJ5Jw6c0urecP60r9k=; b=czLlDJQ75yu1JAxBiCUYtlo67Et2EJyvS7UDbLNdqqWtKGyAc6x4ZQtWa3Xe0rWdQf gVJ1bBRunBgoKf3iI/2SfSYUEFjee3tE+wQTB/pHwaeC7HlApcwzsjDeInG6wu8HK3Rh LHFajzGgI9kKbLqI8Tdqlh/or2OGXv03ZaTRFE1EYOrRI5BprZyWFhXvg2qH2kRAU8Pu HzmTu+pZGa3GEdZBxpZz1nBBI2MGq94+hcItaVQLO7UbX+oENWQ4pY1Inwb89SUMz97U oPkTzNzDQtbBUzxfPmx3285qv7Yi5FGLO8F9aiXpl0dlbQdIrq7MMzFmmYT34skvBEvJ RODg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=ftvIeFrsON2GELbW1rAf3IefClJ5Jw6c0urecP60r9k=; b=MA63aK/rBC4qLZGu25p75znVL8B9BOVsyPaPI8eYY6DJ3rnlFokaE2oO+fFM0NMFRc 478YmYwx828c5MCu7ii43d+TMx2EipLi2DLqj2RS2dEhx3366D/VZlHQu3A9Q3jNK/ur v969auNd0Ff4XnpKpJuz668+ySFrD13eSfhb3BeTwu1cnBZqRuGFaWFJih31WiCPHeZB I73C7Tfx2mpW6tEGktfPUye6mT1GnqnepmUUb1UyevNcfzyQxo2Nyd18OFm1S0q3ajUx S79XNQv68nLNiSAcB72hVl5z2dYnKbhObpBzW0mxf6sYarsXZrsbtnoAiG3E9n+s7SMA vH6w== X-Gm-Message-State: AD7BkJJ2laBlAH4+zpGZ0Vn7hasRPdpU1gQtBHB0PvKBjmazenYA09CjfbP70LSkyITpvLMVHHq70dPLi9laEQ== X-Received: by 10.31.58.193 with SMTP id h184mr16200230vka.111.1456846085592; Tue, 01 Mar 2016 07:28:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.159.32.15 with HTTP; Tue, 1 Mar 2016 07:27:26 -0800 (PST) In-Reply-To: References: From: Anil Date: Tue, 1 Mar 2016 20:57:26 +0530 Message-ID: Subject: Re: Solr regex documenation To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=001a1143ff706c9ba6052cfe69e8 --001a1143ff706c9ba6052cfe69e8 Content-Type: text/plain; charset=UTF-8 Regex is working Markus. i need to investigate this particular pattern. Thanks for you responses. On 29 February 2016 at 19:16, Markus Jelsma wrote: > Hmm, if you have some stemming algorithm on that field, [a-z]+works is > never going to work but [a-z]+work should. If the field contains Juniper > Networks, [a-z]+works is not going to be found due to -s being stripped. > But if the field is not tokenized net[a-z]+ is also not going to find > anything. You can always test with q=field:/.*/ to prove regex works. > > -----Original message----- > > From:Anil > > Sent: Monday 29th February 2016 14:23 > > To: solr-user@lucene.apache.org > > Subject: Re: Solr regex documenation > > > > yes. when i search on juniper networks without regex, i can see the > results. > > > > But when I search on net[a-z]+ , i could not see juniper networks. i have > > looked all the documents in the results, could not find it. > > > > Thank you, > > Anil > > > > On 29 February 2016 at 18:42, Markus Jelsma > > wrote: > > > > > Hmm, is the field indexed? A field:/[a-z]%2Bwork/ works fine overhere. > > > Markus > > > > > > -----Original message----- > > > > From:Anil > > > > Sent: Monday 29th February 2016 13:24 > > > > To: solr-user@lucene.apache.org > > > > Subject: Re: Solr regex documenation > > > > > > > > Yes Markus. > > > > > > > > On 29 February 2016 at 15:54, Markus Jelsma < > markus.jelsma@openindex.io> > > > > wrote: > > > > > > > > > Hi - do you enclose the regex in slashes? Do you url encode the + > sign? > > > > > Markus > > > > > > > > > > > > > > > > > > > > -----Original message----- > > > > > > From:Anil > > > > > > Sent: Monday 29th February 2016 7:45 > > > > > > To: solr-user@lucene.apache.org > > > > > > Subject: Re: Solr regex documenation > > > > > > > > > > > > HI , > > > > > > > > > > > > i am using [a-z]+works. i could not see networks in the solr > results. > > > > > > > > > > > > is it regex working properly in solr ? Please clarify. > > > > > > > > > > > > Regards, > > > > > > Anil > > > > > > > > > > > > > > > > > > > > > > > > On 27 February 2016 at 20:52, Anil wrote: > > > > > > > > > > > > > Thanks Jack. > > > > > > > > > > > > > > On 27 February 2016 at 20:41, Jack Krupansky < > > > jack.krupansky@gmail.com > > > > > > > > > > > > > wrote: > > > > > > > > > > > > > >> See: > > > > > > >> > > > > > > >> > > > > > > > > > https://lucene.apache.org/core/5_5_0/core/org/apache/lucene/search/RegexpQuery.html > > > > > > >> > > > > > > >> > > > > > > > > > https://lucene.apache.org/core/5_5_0/core/org/apache/lucene/util/automaton/RegExp.html > > > > > > >> > > > > > > >> I vaguely recall a Jira about regex not working at all in > Solr. I > > > > > don't > > > > > > >> recall reading about a resolution. > > > > > > >> > > > > > > >> > > > > > > >> -- Jack Krupansky > > > > > > >> > > > > > > >> On Sat, Feb 27, 2016 at 7:05 AM, Anil > wrote: > > > > > > >> > > > > > > >> > Hi, > > > > > > >> > > > > > > > >> > Can some one point me to the solr regex documentation ? > > > > > > >> > > > > > > > >> > i read it supports all java regex features. i tried ^ and > $ , > > > > > seems it > > > > > > >> is > > > > > > >> > not working. > > > > > > >> > > > > > > > >> > Thanks, > > > > > > >> > Anil > > > > > > >> > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --001a1143ff706c9ba6052cfe69e8--