Github user merrimanr commented on a diff in the pull request:

    https://github.com/apache/metron/pull/662#discussion_r129143530
  
    --- Diff: metron-interface/metron-rest/README.md ---
    @@ -353,6 +355,20 @@ Request and Response objects are JSON formatted.  The 
JSON schemas are available
           * searchRequest - Search request
       * Returns:
         * 200 - Search results
    +    
    --- End diff --
    
    This isn't intended to be the source of truth for types that we support.  I 
would think any data type someone may need should be supported in some way.  
This is restricted to (mostly) simple types and is driven by the need to format 
simple values in different ways.  Anything else besides simple types is 
categorized as "other".  If at any point there is a need to include more types 
this can easily be extended.  
    
    The Elasticsearch API gives you either a number or string (only string in 
the case of the REST API) so we need more information about the type in 
Elasticsearch to format it correctly.  Solr is similar.  I will take another 
pass at the documentation to make this more obvious.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to