[ 
https://issues.apache.org/jira/browse/CONNECTORS-642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13595924#comment-13595924
 ] 

Karl Wright commented on CONNECTORS-642:
----------------------------------------

Further inspection indicates that the following class, 
https://github.com/elasticsearch/elasticsearch/blob/master/src/main/java/org/elasticsearch/rest/action/search/RestSearchAction.java
 , is where all the action is.  Unfortunately this does not give a good idea 
how to override query generation, since the generation goes via a class called 
QueryStringQueryBuilder, which takes many parameters and presumably constructs 
a query string in the end.  The builder is passed to a SearchSourceBuilder 
instance, which is added into a SearchRequest object.  The SearchRequest object 
is apparently what is used to execute the query.

It is not obvious at all how to hook into this chain without replacing the 
whole thing.  Looking for suggestions on this.

                
> 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

Reply via email to