MarcusSorealheis commented on code in PR #1629:
URL: https://github.com/apache/solr/pull/1629#discussion_r1187036771
##########
solr/core/src/java/org/apache/solr/core/SolrCore.java:
##########
@@ -403,12 +403,12 @@ public String getIndexDir() {
/**
* Returns the indexdir as given in index.properties. If index.properties
exists in dataDir and
- * there is a property <i>index</i> available and it points to a valid
directory in dataDir that
+ * there is a property <i>index</i> available, and it points to a valid
directory in dataDir that
* is returned. Else dataDir/index is returned. Only called for creating new
indexSearchers and
* indexwriters. Use the getIndexDir() method to know the active index
directory
*
* @return the indexdir as given in index.properties
- * @throws SolrException if for any reason the a reasonable index directory
cannot be determined.
+ * @throws SolrException if for any reason a reasonable index directory
cannot be determined.
Review Comment:
Here is another typo I found just above the `SolrException` referenced in
the line changed. Should be `were`.
https://github.com/apache/solr/blob/c68d519604bea474dd842da135e4e7c358284846/solr/core/src/java/org/apache/solr/core/SolrCore.java#L429
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]