From 6dc4f1b448b16931fed74f80a7c1e5dd42aea7f4 Mon Sep 17 00:00:00 2001 From: bgamard Date: Fri, 28 Aug 2020 17:47:07 +0200 Subject: [PATCH] #423: fulltext search by default --- .../sismics/docs/core/util/indexing/LuceneIndexingHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");