The video of the presentation: https://vimeo.com/191753332
Azure Search is the new cloud search-as-a-service solution in the Azure suite. In this demo driven talk, we'll show how developers can benefit from this ready-to-use service to add search experiences to their applications.
Starting out with a quick high level introduction, we'll then dive into demos showing how to create and push data into the index. Further, we'll spend the rest of the talk showing how to use the query language and build search capabilities modern applications require.
--
Peter Lillevold works as lead developer and architect at 4Subsea, building digital services for the oil & gas industry. With close to 20 years slinging code, of which 15 years on the .NET platform, Peter have seen Azure go live and have pushed apps to the cloud ever since. He has previously held presentations at NNUG, back in the good old days, talking about continuous integration and whatnot.
Loc Tan Vo works as a senior consultant at Forse. He has been working full time with .NET since 2007, and Azure the last 4-5 years. Loc is active in the community being one of the organizers of the NNUG Oslo Meetup since 2014. He has previously held two presentations at NNUG about Lucene and Mono.
11. The Index
• Simple table structure defined by schema
• Basic value types
• string, int, long, double, DateTimeOffset
• GeographyPoint
• Collection ofstrings
• No relationships
• Up to 1000 fields per index
• 16 MB per document
• Scoring profiles
• Give fields more weight when queried
• Functions: boost weight by freshness, magnitude, distance and tags
12. Free tier
• One service per subscription
• Up to 3 indexes
• Up to 50MB storage
• Up to 10.000 documents
• Shared resource environment
• Locked to one replica, one partition
• No SLA
• Price: 0,-/SU
13. Basic tier
• 12 services per subscription
• Up to 100 fields per index
• Up to 5 indexes
• Up to 2GB storage
• Up to 1.000.000 documents
• Up to 3 replicas, 1 partition
• SLA on queries with 2 replicas
• SLA on indexing with 3 replicas
• Price: 610,-/SU
14. Standard tier
S1 S2 S3 S3 HD
Services per sub 12 6 6 6
Indexes 50 200 200 1000 pr
partition
Storage per partition 25GB 100GB 200GB 200GB
Partitions per service 12 12 12 3
Documents per partition 15M 60M 120M 200M
or 1000 pr
index
Replicas 12 12 12 12
Max SUs per sub 36 36 36 36
Price per SU 2028,- 8114,- 16227,- 16227,-
16. Partitions and Replica combos
1
Partition
2
Partitions
3
Partitions
4
Partitions
6
Partitions
12
Partitions
1 replica 1 SU 2 SU 3 SU 4 SU 6 SU 12 SU
2 replicas 2 SU 4 SU 6 SU 8 SU 12 SU 24 SU
3 replicas 3 SU 6 SU 9 SU 12 SU 18 SU 36 SU
4 replicas 4 SU 8 SU 12 SU 16 SU 24 SU -
5 replicas 5 SU 10 SU 15 SU 20 SU 30 SU -
6 replicas 6 SU 12 SU 18 SU 24 SU 36 SU -
12 replicas 12 SU 24 SU 36 SU - - -
17. Queries Per Second (QPS)
Free Basic S1 S2 S3 S3 HD
QPS pr replica Bingo ~3 ~15 ~60 ~60 >60
Max QPS Random ~9 ~180 ~720 ~720 >720
18. Indexers
• Enable populating indexes without code
• Pull data in from
• Azure SQL Database
• DocumentDB
• Blob and Table Storage
• Multiple indexers write into on index
• Schedule indexing on demand or recurring
• Minimum 15 min intervals
19. Blob Storage Indexer
• Read metadata AND content from known file types
• File types supported
• PDF, HTML, XML, ZIP, EML, TXT, JSON, CSV
• DOCX/DOC, XLSX/XLS, PPTX/PPT, Outlook MSG
• «One Document per file»
• Indexing JSON arrays: «one document per object»
• Supports content-specific metadata (author, title,..)
• Automatic incremental index and deletion
33. R ES O U R C ES
§ Azure Search Documentation
https://azure.microsoft.com/en-
us/documentation/services/search/
§ Azure Search Rest Service API
https://msdn.microsoft.com/en-us/library/azure/dn798927.aspx
§ Query Syntaxes
https://msdn.microsoft.com/library/azure/dn798920.aspx
https://msdn.microsoft.com/library/azure/mt589323.aspx
§ ODATA FilterExpressions
https://msdn.microsoft.com/library/azure/dn798921.aspx
§ Architectural Patterns
https://blogs.technet.microsoft.com/privatecloud/2014/12/02/mo
dern-datacenter-architectural-patterns-azure-search-tier/