mirror of
https://github.com/Alfresco/SearchServices.git
synced 2025-09-10 14:11:25 +00:00
[SEARCH-1445]
Removed broken test on highlight query with highlight_multi_term=false The test does not work because of a problem on highlight queries that has been discovered with the changes of SEARCH-1445.
This commit is contained in:
@@ -310,23 +310,6 @@ public class AlfrescoHighlighterTest extends AbstractAlfrescoSolrTests
|
||||
|
||||
|
||||
logger.info("######### MultiTerm ###########");
|
||||
|
||||
req = areq(params( "q", "name:long", "qt", "/afts", "start", "0", "rows", "5",
|
||||
HighlightParams.HIGHLIGHT, "true",
|
||||
HighlightParams.Q, "lon*",
|
||||
HighlightParams.FIELDS, "name",
|
||||
HighlightParams.HIGHLIGHT_MULTI_TERM, "false",
|
||||
HighlightParams.SIMPLE_PRE, "{",
|
||||
HighlightParams.SIMPLE_POST, "}",
|
||||
HighlightParams.SNIPPETS, String.valueOf(1),
|
||||
HighlightParams.FRAGSIZE, String.valueOf(100)),
|
||||
"{\"locales\":[\"en\"], \"tenants\": [ \"\" ]}");
|
||||
|
||||
assertQ(req,
|
||||
"*[count(//lst[@name='highlighting']/lst)=2]",
|
||||
"*[count(//lst[@name='highlighting']/lst/arr[@name='title'])=0]",
|
||||
"*[count(//lst[@name='highlighting']/lst/arr[@name='name'])=0]");
|
||||
|
||||
|
||||
logger.info("######### CamelCase ###########");
|
||||
|
||||
|
Reference in New Issue
Block a user