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

    https://github.com/apache/usergrid/pull/385#discussion_r39582336
  
    --- Diff: 
stack/corepersistence/queryindex/src/main/java/org/apache/usergrid/persistence/index/impl/EsQueryVistor.java
 ---
    @@ -362,8 +362,8 @@ public void visit( Equal op ) throws NoIndexException {
             final Object value = op.getLiteral().getValue();
     
             //special case so we support our '*' char with wildcard
    -        if ( value instanceof String ) {
    -            final String stringValue = (( String ) 
value).toLowerCase().trim();
    +        if ( value instanceof String || value instanceof UUID ) {
    +            final String stringValue = 
(value.toString()).toLowerCase().trim();
    --- End diff --
    
    not the biggest fan of this. could be more verbose and cast string and 
tostring uuid


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to