lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandre Rafalovitch (JIRA)" <>
Subject [jira] [Commented] (SOLR-1913) QParserPlugin plugin for Search Results Filtering Based on Bitwise Operations on Integer Fields
Date Mon, 01 Oct 2018 02:32:00 GMT


Alexandre Rafalovitch commented on SOLR-1913:

I see AND/OR/XOR in the latest Solr's function Queries.

Does that mean this case can be closed as implemented?

> QParserPlugin plugin for Search Results Filtering Based on Bitwise Operations on Integer
> -----------------------------------------------------------------------------------------------
>                 Key: SOLR-1913
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>            Reporter: Israel Ekpo
>            Priority: Major
>             Fix For: 4.9, 6.0
>         Attachments: SOLR-1913-src.tar.gz, SOLR-1913.bitwise.tar.gz, SOLR-1913.patch,
WEB-INF lib.jpg, bitwise_filter_plugin.jar, solr-bitwise-plugin.jar
>   Original Estimate: 1h
>  Remaining Estimate: 1h
> BitwiseQueryParserPlugin is a 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 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:
> <queryParser name="bitwise" class="org.apache.solr.bitwise.BitwiseQueryParserPlugin"
basedOn="dismax" />
> Restart your servlet container.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message