Skip to content

Commit 2ac96b8

Browse files
author
PeterTurcan
committed
updated typeahead images
1 parent 0478cc4 commit 2ac96b8

7 files changed

+6
-6
lines changed
-3.56 KB
Loading
-2.91 KB
Loading
-3.75 KB
Loading
-15 KB
Loading
-5.89 KB
Loading

articles/search/tutorial-csharp-facets.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: C# Tutorial on the use of facets to improve network efficiency - Azure Search
3-
description: This tutorial builds on the "Search results pagination - Azure Search" project, to add facet searches. Learn that facets are used in autocompletion, and only need to be retrieved once when a page is loaded, rather than on each key event.
2+
title: C# Tutorial on using facets for navigation and network efficiency - Azure Search
3+
description: This tutorial builds on the "Search results pagination - Azure Search" project, to add facet searches. Learn that facets can be used in both navigation and autocompletion. Facets only need to be retrieved once when a page is loaded, rather than on each key event.
44
services: search
55
ms.service: search
66
ms.topic: tutorial
@@ -9,7 +9,7 @@ author: PeterTurcan
99
ms.date: 05/01/2019
1010
---
1111

12-
# C# Tutorial: Use facets to improve network efficiency - Azure Search
12+
# C# Tutorial: Use facets for navigation and network efficiency - Azure Search
1313

1414
Learn how to improve network efficiency by implementing a facet search. Facet searches are efficient because they are carried out only once for each page load, rather than once for each keystroke. Facets are attributes of the data (such as a pool, wifi, free parking, view, and so on, in our hotels data), and stay relevant for the lifespan of a page. This tutorial builds onto the paging project created in the [C# Tutorial: Search results pagination - Azure Search](tutorial-csharp-paging.md) tutorial.
1515

articles/search/tutorial-csharp-type-ahead-and-suggestions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ Another variation that is slightly different from suggestions is autocompletion
232232
// Convert the autocompleteResult results to a list that can be displayed in the client.
233233
List<string> autocomplete = autocompleteResult.Results.Select(x => x.Text).ToList();
234234

235-
return new JsonResult((object)autocomplete);
235+
return new JsonResult(autocomplete);
236236
}
237237
```
238238

@@ -430,7 +430,7 @@ Notice the clever use of the **interval** function to both clear the underlying
430430
Read through the comments in the script to get a fuller understanding.
431431

432432

433-
4. Finally, we need to make a minor adjustments to two HTML class to make them transparent. Add the following line to the **searchBoxForm**, and **searchBox**, classes in the hotels.css file.
433+
4. Finally, we need to make a minor adjustments to two HTML class to make them transparent. Add the following line to the **searchBoxForm** and **searchBox** classes, in the hotels.css file.
434434

435435
```cs
436436
background: rgba(0,0,0,0);
@@ -458,4 +458,4 @@ Consider the following takeaways from this project:
458458
One of the issues with autocompletion and suggestions is that they involve repeated calls to the server (one on every key stroke after the minimum number of characters typed is reached). If this results in slower than expected responses, then the user experience diminishes. Using facets provides an interesting alternative to avoid these repeated calls, which we will look at next.
459459

460460
> [!div class="nextstepaction"]
461-
> [C# Tutorial: Use facets to improve network efficiency - Azure Search](tutorial-csharp-facets.md)
461+
> [C# Tutorial: Use facets for navigation and network efficiency - Azure Search](tutorial-csharp-facets.md)

0 commit comments

Comments
 (0)