Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Full-Text Search – Tips and Tricks to Maximize Your Search Experience – Connect Silicon Valley 2018

52 views

Published on

Speakers: Steve Yen, Co-Founder, Couchbase and Abhinav Dangeti, FTS Engineer, Couchbase

Couchbase Full-Text Search (FTS) can do much more than cover your typical search scenario. It is also a strategic, powerful, adjunct to your typical query toolkit. Too many WHERE clauses or too many complex LIKE % situations getting you down? It may be time to mix in some FTS to take advantage of text analysis and more flexible text matching.

Join Steve Yen, Couchbase co-founder, and Abhinav Dangeti, FTS engineer, as they take you deeper into the different kinds of Full-Text Search approaches might benefit you today, nicluding, when to use FTS vs. N1QL, and how to squeeze every ounce of performance from it in low latency use cases.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Full-Text Search – Tips and Tricks to Maximize Your Search Experience – Connect Silicon Valley 2018

  1. 1. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. Couchbase Full Text Search maximizing your search experience 2018/09 Abhinav Dangeti & Steve Yen
  2. 2. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. 2 hello Steve Yen co-founder Abhinav Dangeti software engineer / FTS project
  3. 3. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2017. All rights reserved. AGENDA 01/ 02/ 03/ 04/ what and why? the secret of FTS what's new in 6.0 demo / tour
  4. 4. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. 4 full text search versus N1QL query?
  5. 5. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. 5 full text search versus N1QL query?
  6. 6. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. 6 full text search versus N1QL query?
  7. 7. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. 7 the secret of Full Text Search
  8. 8. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. 8 the secret of Full Text Search actual words Beautiful beautifu beautiful beauty
  9. 9. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. 9 the secret of Full Text Search actual words Beautiful beautifu beautiful beauty terms beautianalyzer language specific "en" text analyzer
  10. 10. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. 10 the secret of Full Text Search actual words user-100 user-101 user-230 user-235
  11. 11. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. 11 the secret of Full Text Search actual words user-100 user-101 user-230 user-235 terms user-100 user-101 user-230 user-235 analyzer "keyword" analyzer
  12. 12. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. 12 what's new: Couchbase 6.0 Full Text Search:
  13. 13. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. 13 what's new: Couchbase 6.0 Full Text Search: SCORCH engine
  14. 14. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. 14 what's new: Couchbase 6.0 Full Text Search: SCORCH engine new SCORCH indexing engine in 6.0 20% 2X 1.3Xof the index size from 5.0 faster indexing high frequency term search throughput 2.3X 1.2X 7.5Xconjunction search throughput disjunction search throughput complex search throughput 9X 1.6X 2.7Xfuzzy search throughput numeric range search throughput phrase search throughput
  15. 15. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. 15 what's new: Couchbase 6.0 Full Text Search: SCORCH engine new SCORCH indexing engine in 6.0 20% 2X 1.3Xof the index size from 5.0 faster indexing high frequency term search throughput 2.3X 1.2X 7.5Xconjunction search throughput disjunction search throughput complex search throughput 9X 1.6X 2.7Xfuzzy search throughput numeric range search throughput phrase search throughput Optimized Index Encoding in SCORCH Numeric Doc Id Encoding Finite State Transducer Roaring Bitmaps SSE2 instructions Bitmap Operations Tradeoffs? Yes, so test it out for your cases
  16. 16. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. 16 DEMO time!
  17. 17. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. WRITE A REVIEW: http://bit.ly/TrustCB WI-FI: SSID: Couchbase password: Rackspace TWEET: #CBConnect @steveyentweets THANK YOU beauti audience questions? FIND US AT THE CONNEXPERT BAR
  18. 18. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2017. All rights reserved. THANK YOU
  19. 19. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. 19 • REST / Web UI interface / RBAC • Index Fields or Documents • Auto Partitioned, Optional Replication • bleve Full Text Search Engine • Lexical Analysis & Stemming • Wildcard, And/Or's, Geopoints • Scoring and Boosting • Sorting, Faceting, and more • Engines: scorch and moss Config Node Definitions Index Definitions Partitioning Plan Planner Janitor Index Partition bleve scorch REST / Web UI / RBAC Manager Index Partition bleve DCP moss The Full Text Search Service

×