You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (JIRA)" <ji...@apache.org> on 2013/11/22 13:37:37 UTC

[jira] [Created] (SOLR-5491) Testing for extra properties should use startsWith rather than indexOf

Erick Erickson created SOLR-5491:
------------------------------------

             Summary: Testing for extra properties should use startsWith rather than indexOf
                 Key: SOLR-5491
                 URL: https://issues.apache.org/jira/browse/SOLR-5491
             Project: Solr
          Issue Type: Bug
            Reporter: Erick Erickson
            Assignee: Erick Erickson
            Priority: Minor


As per Davig Smiley's comment it's certainly more correct to use beginsWith rather that indexOf() != -1.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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