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 94DE77FC6 for ; Tue, 1 Nov 2011 12:25:12 +0000 (UTC) Received: (qmail 30022 invoked by uid 500); 1 Nov 2011 12:25:09 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 29921 invoked by uid 500); 1 Nov 2011 12:25: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 29913 invoked by uid 99); 1 Nov 2011 12:25:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2011 12:25:09 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of fschiettecatte@gmail.com designates 209.85.220.176 as permitted sender) Received: from [209.85.220.176] (HELO mail-vx0-f176.google.com) (209.85.220.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2011 12:25:01 +0000 Received: by vcdn13 with SMTP id n13so8499532vcd.35 for ; Tue, 01 Nov 2011 05:24:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=SnqFhx9skb9oPYCGMdTkPiIbBhYu9a4nRfuR0LC7i1g=; b=j31gCBXC5w8TyPnX2u2V4q86QKoNvsvU/B/oHPgHd7dch1AK3FEbIqpef+A23QnAXB STqfr6X0YalfnLQqfvCzqUBNtRsgQvBXlxKNdY9cL0aTjGPyICQSItvNxOR8n6V1NuQy c2yxgPU4j+2zXu4Ujm7VtQSdb6V4WOEQE0P28= Received: by 10.52.98.129 with SMTP id ei1mr7235513vdb.50.1320150280388; Tue, 01 Nov 2011 05:24:40 -0700 (PDT) Received: from macpro.local (c-76-119-125-100.hsd1.ma.comcast.net. [76.119.125.100]) by mx.google.com with ESMTPS id cp16sm14419561vdb.20.2011.11.01.05.24.38 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 01 Nov 2011 05:24:39 -0700 (PDT) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1251.1) Subject: Re: Is SQL Like operator feature available in Apache Solr query From: =?iso-8859-1?Q?Fran=E7ois_Schiettecatte?= In-Reply-To: Date: Tue, 1 Nov 2011 08:24:37 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <8417F190-B1AC-4D40-A6C2-F346F40AEB3D@gmail.com> References: To: solr-user@lucene.apache.org X-Mailer: Apple Mail (2.1251.1) Arshad Actually it is available, you need to use the = ReversedWildcardFilterFactory which I am sure you can Google for. Solr and SQL address different problem sets with some overlaps but there = are significant differences between the two technologies. Actually = '%Solr%' is a worse case for SQL but handled quite elegantly in Solr. Hope this helps! Cheers Fran=E7ois On Nov 1, 2011, at 7:46 AM, arshad ansari wrote: > Hi, >=20 > Is SQL Like operator feature available in Apache Solr Just like we = have it > in SQL. >=20 > SQL example below - >=20 > *Select * from Employee where employee_name like '%Solr%'* >=20 > If not is it a Bug with Solr. If this feature available, please tell = the > examples available. >=20 > Thanks! >=20 > --=20 > Best Regards, > Arshad