Intro to Azure Search Julie Smith 2019
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 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 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 we needed Azure ML. Overheard: Oh cool! Man this is fast! Super easy.
Other Use Cases Ecommerce: Amazon, Zappos, Restaurants Document Searches: Pluralsight, Universities
Architecture PaaS NoSQL Json Lucene is foundational to it
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_v1.1.pdf
Architecture Indexes Schema Documents Changes to Operational Data can be configured to trigger the Indexer to update the Index using Indexer Indexes Schema Documents Indexers http://davidchappell.com/writing/white_papers/Introducing_Azure_Search-Chappell_v1.1.pdf
Sources
Schema Properties Searchable Analyze Suggester Filterable Sortable Facetable Retrievable http://davidchappell.com/writing/white_papers/Introducing_Azure_Search-Chappell_v1.1.pdf
Schema Properties-Facetable
Add Weighting to affect search relevance—Clearance Add Weighting to affect search relevance—Clearance! Otherwise manually boost relevance Scoring
New Features--Preview Cognitive Searching Synonyms
Structure of Queries URL Key Get, Put, Post Header of the call Body of the call
Structure of Queries Query Syntax –Lucene parser https://docs.microsoft.com/en-us/azure/search/search -query-lucene-examples Search, *, ~, filter https://docs.microsoft.com/en- us/azure/search/search-query-lucene-examples Broad without Lucene or use &queryType=full to invoke very specific Lucene Query https://azs-playground.search.windows.net/indexes/nycjobs/docs?api-version=2017-11-11&$count=true&searchFields=business_title&$select=business_title&queryType=full&search=business_title:senior+NOT+junior Structure of Queries
Structure of Queries
Structure of Queries https://www.google.com/search?as_q=tricolor+rat+terrier&as_epq=%22rat+terrier%22&as_oq=miniature+OR+standard&as_eq=-rodent%2C+-%22jack+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
White paper http://davidchappell White paper http://davidchappell.com/writing/white_papers/Int roducing_Azure_Search-Chappell_v1.1.pdf Blog: https://azure.microsoft.com/en- us/blog/tag/azure-search/ https://docs.microsoft.com/en-us/azure/search/ https://www.youtube.com/watch?v=dMF5iGi8zag -- this talk on youtube Msdn documentation Resources
Learned along the way, FAQS Multi-tenancy Other uses, besides E-Commerce Read the documentation, stack overflow Learned along the way, FAQS
Demos Create a new service—url and key Run Queries Import data, create index, indexer, data source Run Queries Create and Load a new index using API calls in Fiddler Demos