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

    https://github.com/apache/lucene-solr/pull/435#discussion_r209442153
  
    --- Diff: 
solr/core/src/java/org/apache/solr/update/processor/ParseDateFieldUpdateProcessorFactory.java
 ---
    @@ -120,6 +121,16 @@ public UpdateRequestProcessor 
getInstance(SolrQueryRequest req,
           protected Object mutateValue(Object srcVal) {
             if (srcVal instanceof CharSequence) {
               String srcStringVal = srcVal.toString();
    +          // trim single quotes around date if present
    --- End diff --
    
    Oh yeah.  It's unfortunate such ugly data comes in as such... but it's at 
least cheap & safe to do this so I guess it's okay.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to