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 14:08:35 UTC

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

     [ https://issues.apache.org/jira/browse/SOLR-5491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erick Erickson resolved SOLR-5491.
----------------------------------

    Resolution: Fixed

> 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