Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B998C4739 for ; Wed, 8 Jun 2011 14:55:21 +0000 (UTC) Received: (qmail 65945 invoked by uid 500); 8 Jun 2011 14:55:20 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 65878 invoked by uid 500); 8 Jun 2011 14:55:20 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 65871 invoked by uid 99); 8 Jun 2011 14:55:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jun 2011 14:55:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jun 2011 14:55:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 412F7108A9C for ; Wed, 8 Jun 2011 14:54:59 +0000 (UTC) Date: Wed, 8 Jun 2011 14:54:59 +0000 (UTC) From: =?utf-8?Q?Jan_H=C3=B8ydahl_=28JIRA=29?= To: dev@lucene.apache.org Message-ID: <140661219.3276.1307544899263.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (SOLR-2137) Function Queries: and() or() not() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-2137?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Jan H=C3=B8ydahl closed SOLR-2137. ----------------------------- Thanks > Function Queries: and() or() not() > ---------------------------------- > > Key: SOLR-2137 > URL: https://issues.apache.org/jira/browse/SOLR-2137 > Project: Solr > Issue Type: New Feature > Components: search > Affects Versions: 1.4.1 > Reporter: Jan H=C3=B8ydahl > Fix For: 4.0 > > > Add logical function queries for AND, OR and NOT. > These can then be used in more advanced conditional functions. May be mod= eled after OpenOffice Calc functions: http://wiki.services.openoffice.org/w= iki/Documentation/How_Tos/Calc:_Logical_functions > Example: > and(color=3D=3D"red", or(price>100, price<200), not(soldout)) > This function will return true if field "color" is red and price is betwe= en 100-200, and the field "soldout" is not true. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org