Intro to Azure Search Julie Smith 2019 Julie

  • Slides: 25
Download presentation
Intro to Azure Search Julie Smith 2019

Intro to Azure Search Julie Smith 2019

Julie Smith ● ● ● Microsoft MVP, Data Platform since 2013 Consultant at Innovative

Julie Smith ● ● ● Microsoft MVP, Data Platform since 2013 Consultant at Innovative Architects since 2012 **not a web developer @juliechix julie. smith@innovativearchitects. com http: //datachix. com

Azure Search is a search-as-a-service cloud solution that gives developers APIs and tools for

Azure Search is a search-as-a-service cloud solution that gives developers APIs and tools for adding a rich search experience over private, heterogenous content in web, mobile, and enterprise applications. Query execution is over a user-defined index. • Azure Search

Azure Search

Azure Search

Azure Search Why do you need it? Users expect it, familiar, every app has

Azure Search Why do you need it? Users expect it, familiar, every app has it. Why use Azure Search in Particular? Easy to implement. REST APIs. Net SDK

Our Use Case at IA—Full Text Search We needed a search engine. We thought

Our Use Case at IA—Full Text Search We needed a search engine. We thought we needed Azure ML. Overheard: Oh cool! Man this is fast! Super easy.

Other Use Cases Ecommerce: Amazon, Zappos, Restaurants Document Searches: Pluralsight, Universities

Other Use Cases Ecommerce: Amazon, Zappos, Restaurants Document Searches: Pluralsight, Universities

Architecture Paa. S No. SQL Json Lucene is foundational to it

Architecture Paa. S No. SQL Json Lucene is foundational to it

Lucene http: //lucene. apache. org/ Refers to many things: Open source project for search

Lucene http: //lucene. apache. org/ Refers to many things: Open source project for search engine. Lucene queries Solr and Elastic and Azure Search based on it

Architecture Indexes Schema Documents Indexers http: //davidchappell. com/writing/white_papers/Introducing_Azure_Search. Chappell_v 1. 1. pdf

Architecture Indexes Schema Documents Indexers http: //davidchappell. com/writing/white_papers/Introducing_Azure_Search. Chappell_v 1. 1. pdf

Architecture Indexes Schema Documents Indexers http: //davidchappell. com/writing/white_papers/Introducing_Azure_Search-Chappell_v 1. 1. pdf Changes to Operational

Architecture Indexes Schema Documents Indexers http: //davidchappell. com/writing/white_papers/Introducing_Azure_Search-Chappell_v 1. 1. pdf Changes to Operational Data can be configured to trigger the Indexer to update the Index using Indexer

Sources

Sources

Schema Properties ● ● ● ● Searchable Analyze Suggester Filterable Sortable Facetable Retrievable http:

Schema Properties ● ● ● ● Searchable Analyze Suggester Filterable Sortable Facetable Retrievable http: //davidchappell. com/writing/white_papers/Introducing_Azure_Search-Chappell _v 1. 1. pdf

Schema Properties-Facetable

Schema Properties-Facetable

Scoring Add Weighting to affect search relevance—Clearance! Otherwise manually boost relevance •

Scoring Add Weighting to affect search relevance—Clearance! Otherwise manually boost relevance •

New Features-Preview • Cognitive Searching • Synonyms

New Features-Preview • Cognitive Searching • Synonyms

Structure of Queries • • • URL Key Get, Put, Post Header of the

Structure of Queries • • • URL Key Get, Put, Post Header of the call Body of the call

Query Syntax –Lucene parser https: //docs. microsoft. com/en-us/azure/search -query-lucene-examples • • Structure of Queries

Query Syntax –Lucene parser https: //docs. microsoft. com/en-us/azure/search -query-lucene-examples • • Structure of Queries • Search, *, ~, filter • https: //docs. microsoft. com/enus/azure/search-query-lucene-examples • Broad without Lucene or use &query. Type=full to invoke very specific Lucene Query • https: //azsplayground. search. windows. net/indexes/nycjobs/docs? apiversion=2017 -1111&$count=true&search. Fields=business_title&$select=busi ness_title&query. Type=full&search=business_title: senior+N OT+junior

Structure of Queries

Structure of Queries

Structure of Queries https: //www. google. com/search? as_q=tricolor+rat+terrier&as_epq=%22 rat +terrier%22&as_oq=miniature+OR+standard&as_eq=-rodent%2 C+%22 jack+russell%22&as_nlo=10&as_nhi=35+lb&lr=lang_en&cr=&as_qdr=all &as_sitesearch=&as_occt=any&safe=images&as_filetype=&as_rights=

Structure of Queries https: //www. google. com/search? as_q=tricolor+rat+terrier&as_epq=%22 rat +terrier%22&as_oq=miniature+OR+standard&as_eq=-rodent%2 C+%22 jack+russell%22&as_nlo=10&as_nhi=35+lb&lr=lang_en&cr=&as_qdr=all &as_sitesearch=&as_occt=any&safe=images&as_filetype=&as_rights=

Structure of Queries

Structure of Queries

White paper http: //davidchappell. com/writing/white_papers/Int roducing_Azure_Search-Chappell_v 1. 1. pdf • Blog: https: //azure. microsoft.

White paper http: //davidchappell. com/writing/white_papers/Int roducing_Azure_Search-Chappell_v 1. 1. pdf • Blog: https: //azure. microsoft. com/enus/blog/tag/azure-search/ • https: //docs. microsoft. com/en-us/azure/search/ • Resources https: //www. youtube. com/watch? v=d. MF 5 i. Gi 8 zag -this talk on youtube • Msdn documentation •

 • • Learned along the way, FAQS • Multi-tenancy Other uses, besides E-Commerce

• • Learned along the way, FAQS • Multi-tenancy Other uses, besides E-Commerce Read the documentation, stack overflow

1. Create a new service—url and key 1. Demos 2. 3. Import data, create

1. Create a new service—url and key 1. Demos 2. 3. Import data, create index, indexer, data source Run Queries Create and Load a new index using API calls in Fiddler