diff --git a/docs-core/src/main/java/com/sismics/docs/core/util/indexing/LuceneIndexingHandler.java b/docs-core/src/main/java/com/sismics/docs/core/util/indexing/LuceneIndexingHandler.java index 337c9a3f..a75256ce 100644 --- a/docs-core/src/main/java/com/sismics/docs/core/util/indexing/LuceneIndexingHandler.java +++ b/docs-core/src/main/java/com/sismics/docs/core/util/indexing/LuceneIndexingHandler.java @@ -277,7 +277,7 @@ public class LuceneIndexingHandler implements IndexingHandler { criteriaList.add("d.DOC_ID_C in :documentIdList"); parameterMap.put("documentIdList", documentSearchMap.keySet()); - suggestSearchTerms(criteria.getSearch(), suggestionList); + suggestSearchTerms(criteria.getFullSearch(), suggestionList); } if (criteria.getCreateDateMin() != null) { criteriaList.add("d.DOC_CREATEDATE_D >= :createDateMin");