diff --git a/backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryBuilder.java b/backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryBuilder.java index 11b89727280..449844ea2a1 100644 --- a/backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryBuilder.java +++ b/backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryBuilder.java @@ -32,7 +32,6 @@ import org.hibernate.search.backend.lucene.search.query.LuceneSearchQuery; import org.hibernate.search.backend.lucene.search.sort.impl.LuceneSearchSort; import org.hibernate.search.backend.lucene.search.sort.impl.LuceneSearchSortCollector; -import org.hibernate.search.backend.lucene.types.sort.comparatorsource.impl.LuceneFieldComparatorSource; import org.hibernate.search.backend.lucene.work.impl.LuceneWorkFactory; import org.hibernate.search.engine.backend.session.spi.BackendSessionContext; import org.hibernate.search.engine.search.aggregation.AggregationKey; @@ -183,11 +182,6 @@ public void collectSortField(SortField sortField) { sortFields.add( sortField ); } - @Override - public void collectSortField(SortField sortField, LuceneFieldComparatorSource nestedFieldSort) { - collectSortField( sortField ); - } - @Override public void collectSortFields(SortField[] sortFields) { if ( sortFields == null || sortFields.length == 0 ) { diff --git a/backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneSearchSortCollector.java b/backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneSearchSortCollector.java index beeac644a23..ce120b21341 100644 --- a/backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneSearchSortCollector.java +++ b/backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/sort/impl/LuceneSearchSortCollector.java @@ -6,8 +6,6 @@ */ package org.hibernate.search.backend.lucene.search.sort.impl; -import org.hibernate.search.backend.lucene.types.sort.comparatorsource.impl.LuceneFieldComparatorSource; - import org.apache.lucene.search.SortField; /** @@ -21,8 +19,6 @@ public interface LuceneSearchSortCollector { void collectSortField(SortField sortField); - void collectSortField(SortField sortField, LuceneFieldComparatorSource nestedFieldSort); - void collectSortFields(SortField[] sortFields); } diff --git a/backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/spi/LuceneMigrationUtils.java b/backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/spi/LuceneMigrationUtils.java index b6403a9c996..080be39fd1b 100644 --- a/backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/spi/LuceneMigrationUtils.java +++ b/backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/spi/LuceneMigrationUtils.java @@ -14,7 +14,6 @@ import org.hibernate.search.backend.lucene.search.predicate.impl.PredicateRequestContext; import org.hibernate.search.backend.lucene.search.sort.impl.LuceneSearchSort; import org.hibernate.search.backend.lucene.search.sort.impl.LuceneSearchSortCollector; -import org.hibernate.search.backend.lucene.types.sort.comparatorsource.impl.LuceneFieldComparatorSource; import org.hibernate.search.engine.search.predicate.SearchPredicate; import org.hibernate.search.engine.search.sort.SearchSort; @@ -39,11 +38,6 @@ public void collectSortField(SortField sortField) { result.add( sortField ); } - @Override - public void collectSortField(SortField sortField, LuceneFieldComparatorSource nestedFieldSort) { - result.add( sortField ); - } - @Override public void collectSortFields(SortField[] sortFields) { Collections.addAll( result, sortFields );