30
Lucene Revolution EU 2013 Dublin Dmitry Kan

Lucene revolution eu 2013 dublin writeup

Embed Size (px)

DESCRIPTION

This presentation is loosly based on my 2-day writeups on Lucene Revolution conference 2013 held in Dublin http://dmitrykan.blogspot.fi/2013/11/lucene-revolution-eu-2013-in-dublin-day.html http://dmitrykan.blogspot.fi/2013/11/lucene-revolution-eu-2013-in-dublin-day_13.html

Citation preview

Page 1: Lucene revolution eu 2013 dublin writeup

Lucene Revolution EU

2013Dublin

Dmitry Kan

Page 2: Lucene revolution eu 2013 dublin writeup

Day 0 (Tuesday): exploring Dublin

Page 3: Lucene revolution eu 2013 dublin writeup

1. Keynote by Michael Busch of Twitter2. Integrating Solr and Storm by Timothy Potter3. Lucene at LinkedIn by LI enggs4. Additions to Lucene arsenal by Adrien Grand and Shai Erera

Day 1 (Wednesday): conference

Page 4: Lucene revolution eu 2013 dublin writeup

5. Shrinking the Haystack with SOLR and OpenNLP6. Parboiled for query parser generating: SWAN = SAME, WITHIN, ADJ, NEAR7. Stump the Chump! ->

Day 1: conference

Page 5: Lucene revolution eu 2013 dublin writeup

We use filter queries a lot. Some of these are long boolean queries. Of those some are static, i.e. are not changing every day, but only sometimes. The example would be:fq=Country:(Angora OR Russia OR US) // relatively small set of potentially grouppable entries (I.e. group labels can be created to shorten a query).The others are very dynamic, changing practically every day. The example would be:fq=UserId:(userid1 OR userid9 OR...) // veeeery long boolean query, like thousands of ungrouppable entriesIf we don't cache the dynamic filter queries, we save space for useful filter queries, but slow down the execution. If we do cache the dynamic filter queries we are risking the quick cache flushing.Is there a smart way of handling such a situation?Regards,Dmitry Kan

Stump the Chump

STUMPED!

Page 6: Lucene revolution eu 2013 dublin writeup

Stump the Chump

STUMPED!

Page 7: Lucene revolution eu 2013 dublin writeup

1. Discussion panel with LucidWorks CEO2. “Lucene Search Essentials: Scorers, Collections and Custom Queries” by Mikhail Khludnev3. Text classification and Apache Mahout by Isabel Drost

Day 2 (Thursday)

Page 8: Lucene revolution eu 2013 dublin writeup

4. Turning search upside down by Alan Woodward and Charlie Hull TOPIC_TAXONOMY5. What is in Lucene index by Adrien Grand

Day 2

Page 9: Lucene revolution eu 2013 dublin writeup

1. Just Lucene, no SOLR2. Index in RAM (2 weeks)3. Postings lists are sorted by time, such that index reader reads from the end and gets fresh data4. No commits => no index reopening!5. Keep promising code -> Apache

Lucene @ Twitter

Page 10: Lucene revolution eu 2013 dublin writeup

T[0] = "it is what it is"T[1] = "what is it"T[2] = "it is a banana"

Lucene search essentials

Page 11: Lucene revolution eu 2013 dublin writeup

"a": {2}"banana": {2}"is": {0, 1, 2}"it": {0, 1, 2}"what": {0, 1}

T[0] = "it is what it is"T[1] = "what is it"T[2] = "it is a banana"

Lucene search essentials

Page 12: Lucene revolution eu 2013 dublin writeup

Lucene search essentials

Page 13: Lucene revolution eu 2013 dublin writeup

Lucene search essentials

http://www.lib.rochester.edu/index.cfm?PAGE=489

Page 14: Lucene revolution eu 2013 dublin writeup
Page 15: Lucene revolution eu 2013 dublin writeup

Shrinking a haystack by ISS

Page 16: Lucene revolution eu 2013 dublin writeup

Give analyst tools and they will produce actionable data => don’t try to outsmart people too much

Page 17: Lucene revolution eu 2013 dublin writeup

What is in Lucene index?

Page 18: Lucene revolution eu 2013 dublin writeup

What is in Lucene index?

Page 19: Lucene revolution eu 2013 dublin writeup

What is in Lucene index?

Page 20: Lucene revolution eu 2013 dublin writeup

What is in Lucene index?

Page 21: Lucene revolution eu 2013 dublin writeup

What is in Lucene index?

Page 22: Lucene revolution eu 2013 dublin writeup

What is in Lucene index?

Page 23: Lucene revolution eu 2013 dublin writeup
Page 24: Lucene revolution eu 2013 dublin writeup

Turning search upside down

Page 25: Lucene revolution eu 2013 dublin writeup

Turning search upside down

Page 26: Lucene revolution eu 2013 dublin writeup

Turning search upside down

Page 27: Lucene revolution eu 2013 dublin writeup

Turning search upside down

Page 28: Lucene revolution eu 2013 dublin writeup

Turning search upside down

Page 29: Lucene revolution eu 2013 dublin writeup

Turning search upside down

Page 30: Lucene revolution eu 2013 dublin writeup

Turning search upside down