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 4DFD8D540 for ; Fri, 21 Sep 2012 21:52:09 +0000 (UTC) Received: (qmail 49901 invoked by uid 500); 21 Sep 2012 21:52:08 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 49860 invoked by uid 500); 21 Sep 2012 21:52:08 -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 49850 invoked by uid 99); 21 Sep 2012 21:52:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2012 21:52:07 +0000 Date: Sat, 22 Sep 2012 08:52:07 +1100 (NCT) From: "Arnaud (JIRA)" To: dev@lucene.apache.org Message-ID: <1292014735.109715.1348264327965.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (SOLR-1913) QParserPlugin plugin for Search Results Filtering Based on Bitwise Operations on Integer Fields MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-1913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460858#comment-13460858 ] Arnaud commented on SOLR-1913: ------------------------------ Hi Lars, The features I needed are now integrated in 3.x and thus, I use the "official version". By addition, I will not publish the patch because I had removed some parts that could make this plugin unstable in some cases (I was not concerned. However, I will try to find it back the patch and send it to you to your mail. > QParserPlugin plugin for Search Results Filtering Based on Bitwise Operations on Integer Fields > ----------------------------------------------------------------------------------------------- > > Key: SOLR-1913 > URL: https://issues.apache.org/jira/browse/SOLR-1913 > Project: Solr > Issue Type: New Feature > Components: search > Reporter: Israel Ekpo > Fix For: 4.1 > > Attachments: bitwise_filter_plugin.jar, SOLR-1913.bitwise.tar.gz > > Original Estimate: 1h > Remaining Estimate: 1h > > BitwiseQueryParserPlugin is a org.apache.solr.search.QParserPlugin that allows > users to filter the documents returned from a query > by performing bitwise operations between a particular integer field in the index > and the specified value. > This Solr plugin is based on the BitwiseFilter in LUCENE-2460 > See https://issues.apache.org/jira/browse/LUCENE-2460 for more details > This is the syntax for searching in Solr: > http://localhost:8983/path/to/solr/select/?q={!bitwise field=fieldname op=OPERATION_NAME source=sourcevalue negate=boolean}remainder of query > Example : > http://localhost:8983/solr/bitwise/select/?q={!bitwise field=user_permissions op=AND source=3 negate=true}state:FL > The negate parameter is optional > The field parameter is the name of the integer field > The op parameter is the name of the operation; one of {AND, OR, XOR} > The source parameter is the specified integer value > The negate parameter is a boolean indicating whether or not to negate the results of the bitwise operation > To test out this plugin, simply copy the jar file containing the plugin classes into your $SOLR_HOME/lib directory and then > add the following to your solrconfig.xml file after the dismax request handler: > > Restart your servlet container. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators 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