lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (JIRA) <j...@apache.org>
Subject [jira] Created: (SOLR-2137) Function Queries: and() or() not()
Date Tue, 28 Sep 2010 21:55:33 GMT
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øydahl


Add logical function queries for AND, OR and NOT.

These can then be used in more advanced conditional functions. May be modeled after OpenOffice
Calc functions: http://wiki.services.openoffice.org/wiki/Documentation/How_Tos/Calc:_Logical_functions

Example:
and(color=="red", or(price>100, price<200), not(soldout))

This function will return true if field "color" is red and price is between 100-200, and the
field "soldout" is not true.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message