mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
SEARCH-371: Changed the method signature following the upgrade
This commit is contained in:
+1
-1
@@ -84,7 +84,7 @@ public class AlfrescoCollatableMLTextFieldType extends StrField
|
||||
* @see org.apache.lucene.search.FieldComparatorSource#newComparator(java.lang.String, int, int, boolean)
|
||||
*/
|
||||
@Override
|
||||
public FieldComparator<String> newComparator(String fieldname, int numHits, int sortPos, boolean reversed) throws IOException
|
||||
public FieldComparator<String> newComparator(String fieldname, int numHits, int sortPos, boolean reversed)
|
||||
{
|
||||
return new MLTextSortFieldComparator(numHits, fieldname, I18NUtil.getLocale());
|
||||
}
|
||||
|
||||
+1
-1
@@ -86,7 +86,7 @@ public class AlfrescoCollatableTextFieldType extends StrField
|
||||
* @see org.apache.lucene.search.FieldComparatorSource#newComparator(java.lang.String, int, int, boolean)
|
||||
*/
|
||||
@Override
|
||||
public FieldComparator<String> newComparator(String fieldname, int numHits, int sortPos, boolean reversed) throws IOException
|
||||
public FieldComparator<String> newComparator(String fieldname, int numHits, int sortPos, boolean reversed)
|
||||
{
|
||||
return new TextSortFieldComparator(numHits, fieldname, I18NUtil.getLocale());
|
||||
}
|
||||
|
||||
+1
-1
@@ -95,7 +95,7 @@ public abstract class SolrCoreTestBase implements SolrTestFiles
|
||||
coreDescriptor = new CoreDescriptor(coreContainer, "name", Paths.get(TEST_SOLR_COLLECTION));
|
||||
|
||||
// SolrCore is final, we can't mock with mockito
|
||||
core = new SolrCore("name", null, solrConfig, null, null, coreDescriptor, null, null, null);
|
||||
core = new SolrCore("name", null, solrConfig, null, null, coreDescriptor, null, null, null, false);
|
||||
|
||||
FieldUtils.writeField(core, "updateHandler", updateHandler, true);
|
||||
FieldUtils.writeField(core, "resourceLoader", resourceLoader, true);
|
||||
|
||||
Reference in New Issue
Block a user