Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Possible to use Lucene filters?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sten Roger  
View profile  
 More options Sep 28 2011, 5:06 am
From: Sten Roger <ste...@gmail.com>
Date: Wed, 28 Sep 2011 02:06:21 -0700 (PDT)
Local: Wed, Sep 28 2011 5:06 am
Subject: Possible to use Lucene filters?

Hi.

Is it possible to use Lucene filters inside ElasticSearch? Or somesort
of bitset manipulation of the document result?

The reason I ask is that we want to restrict read access for certain
users on certain documents. It can be alot of users and we do not want
to index those rights if it's another possibility. Until now I have a
custom search based on lucene, but want to use ElasticSearch instead.
In our custom implementation we add a security filter that looks up in
a table (or map) for each key and filter out those that will not be in
the result.

Hope that someone has the answer :-)

BR,
Sten Roger


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Shay Banon  
View profile  
 More options Sep 28 2011, 6:32 am
From: Shay Banon <kim...@gmail.com>
Date: Wed, 28 Sep 2011 13:32:02 +0300
Local: Wed, Sep 28 2011 6:32 am
Subject: Re: Possible to use Lucene filters?

You can plug your own custom filter parser. It needs to both be able to
parse the representation of the filter, and then create it. See a sample for
the simple term filter:
https://github.com/elasticsearch/elasticsearch/blob/master/modules/el...
.

Once you have that, you can write a plugin that adds your own custom filter
parser registered under a name by checking on IndexQueryParserModule
instance, and using the addFilterParser on it.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sten Roger  
View profile  
 More options Sep 28 2011, 6:44 am
From: Sten Roger <ste...@gmail.com>
Date: Wed, 28 Sep 2011 03:44:58 -0700 (PDT)
Local: Wed, Sep 28 2011 6:44 am
Subject: Re: Possible to use Lucene filters?

Thanks for a very fast response. This is what I am looking for.
Thank's alot!

On Sep 28, 12:32 pm, Shay Banon <kim...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Drew J. Sonne  
View profile  
 More options Jul 29 2012, 8:41 pm
From: "Drew J. Sonne" <drew.so...@viocorp.com>
Date: Sun, 29 Jul 2012 17:41:56 -0700 (PDT)
Local: Sun, Jul 29 2012 8:41 pm
Subject: Re: Possible to use Lucene filters?

The mentioned URL is now here:  
https://github.com/elasticsearch/elasticsearch/blob/master/src/main/j...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »