Merge pull request #1351 from esaunders/artifact_search_fix

Solr document ids can now contain artifact ids which start at LONG.MI…
This commit is contained in:
Richard Cordovano 2015-06-12 11:13:51 -04:00
commit 982bb5adb4

View File

@ -494,9 +494,9 @@ class LuceneQuery implements KeywordSearchQuery {
rightID = rightID.substring(0, index);
}
Integer leftInt = new Integer(leftID);
Integer rightInt = new Integer(rightID);
return leftInt.compareTo(rightInt);
Long leftLong = new Long(leftID);
Long rightLong = new Long(rightID);
return leftLong.compareTo(rightLong);
}
}