Skip to content

Commit 88fe2aa

Browse files
author
Gregg Van Hove
committed
Update searching tests for product info display
[#121086871]
1 parent 8411ad1 commit 88fe2aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/template_app/lib/search/query_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ module Bookbinder::Search
5050
}},
5151
'from' => 330,
5252
'size' => 10,
53-
'_source' => ['url', 'title'], 'highlight' => {'fields' => {'text' => {'type' => 'plain'}}}
53+
'_source' => ['url', 'title', 'product_name', 'product_version'], 'highlight' => {'fields' => {'text' => {'type' => 'plain'}}}
5454
})
5555
end
5656

@@ -64,7 +64,7 @@ module Bookbinder::Search
6464
}},
6565
'from' => 330,
6666
'size' => 10,
67-
'_source' => ['url', 'title'], 'highlight' => {'fields' => {'text' => {'type' => 'plain'}}}
67+
'_source' => ['url', 'title', 'product_name', 'product_version'], 'highlight' => {'fields' => {'text' => {'type' => 'plain'}}}
6868
})
6969
end
7070

@@ -77,7 +77,7 @@ module Bookbinder::Search
7777
}},
7878
'from' => 330,
7979
'size' => 10,
80-
'_source' => ['url', 'title'], 'highlight' => {'fields' => {'text' => {'type' => 'plain'}}}
80+
'_source' => ['url', 'title', 'product_name', 'product_version'], 'highlight' => {'fields' => {'text' => {'type' => 'plain'}}}
8181
})
8282
end
8383

0 commit comments

Comments
 (0)