You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jan Høydahl (JIRA)" <ji...@apache.org> on 2011/06/08 16:54:59 UTC
[jira] [Closed] (SOLR-2137) Function Queries: and() or() not()
[ https://issues.apache.org/jira/browse/SOLR-2137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Høydahl 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øydahl
> 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 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.
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