[ https://issues.apache.org/jira/browse/CONNECTORS-642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13597166#comment-13597166 ]
Karl Wright commented on CONNECTORS-642: ---------------------------------------- Further discussion yielded the following general plan: - What we want at a basic level is to provide is a way of modifying the filter in a SearchSourceBuilder object. There are FilterBuilder classes under org.elasticsearch.index.query.FilterBuilder that correspond to the Lucene entities I'm familiar with. - The basic way people would be expected to use this would be to enhance client.prepareSearch("myindex"), which returns a SearchRequestBuilder object, which in turn wraps a SearchSourceBuilder - The example REST action we'd provide would provide the equivalent of org.elasticsearch.rest.action.search.RestSearchAction, but with the enhanced result from client.prepareSearch(). I'm still a bit fuzzy on whether I should do this by creating a wrapped client and calling the original method, or some other way. Extension of the client does not seem reasonable since what is passed into REST methods is an interface, not a class. A wrapped client would be very easy to use, but would be sensitive to changes in the client interface, obviously. > Need an ElasticSearch plugin for enforcing ManifoldCF security > -------------------------------------------------------------- > > Key: CONNECTORS-642 > URL: https://issues.apache.org/jira/browse/CONNECTORS-642 > Project: ManifoldCF > Issue Type: New Feature > Components: Elastic Search connector > Affects Versions: ManifoldCF 1.1 > Reporter: Karl Wright > Assignee: Karl Wright > Fix For: ManifoldCF 1.2 > > > ElasticSearch is becoming popular and we need to support it fully. In order > for that to happen, we really need an ElasticSearch ManifoldCF plugin. -- 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