Lucene revolution eu 2013 dublin writeup
-
Upload
dmitry-kan -
Category
Technology
-
view
410 -
download
0
description
Transcript of Lucene revolution eu 2013 dublin writeup
![Page 1: Lucene revolution eu 2013 dublin writeup](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b72c904a7959772f8b460a/html5/thumbnails/1.jpg)
Lucene Revolution EU
2013Dublin
Dmitry Kan
![Page 2: Lucene revolution eu 2013 dublin writeup](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b72c904a7959772f8b460a/html5/thumbnails/2.jpg)
Day 0 (Tuesday): exploring Dublin
![Page 3: Lucene revolution eu 2013 dublin writeup](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b72c904a7959772f8b460a/html5/thumbnails/3.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b72c904a7959772f8b460a/html5/thumbnails/4.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b72c904a7959772f8b460a/html5/thumbnails/5.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b72c904a7959772f8b460a/html5/thumbnails/6.jpg)
Stump the Chump
STUMPED!
![Page 7: Lucene revolution eu 2013 dublin writeup](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b72c904a7959772f8b460a/html5/thumbnails/7.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b72c904a7959772f8b460a/html5/thumbnails/8.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b72c904a7959772f8b460a/html5/thumbnails/9.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b72c904a7959772f8b460a/html5/thumbnails/10.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b72c904a7959772f8b460a/html5/thumbnails/11.jpg)
"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](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b72c904a7959772f8b460a/html5/thumbnails/12.jpg)
Lucene search essentials
![Page 13: Lucene revolution eu 2013 dublin writeup](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b72c904a7959772f8b460a/html5/thumbnails/13.jpg)
Lucene search essentials
http://www.lib.rochester.edu/index.cfm?PAGE=489
![Page 14: Lucene revolution eu 2013 dublin writeup](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b72c904a7959772f8b460a/html5/thumbnails/14.jpg)
![Page 15: Lucene revolution eu 2013 dublin writeup](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b72c904a7959772f8b460a/html5/thumbnails/15.jpg)
Shrinking a haystack by ISS
![Page 16: Lucene revolution eu 2013 dublin writeup](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b72c904a7959772f8b460a/html5/thumbnails/16.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b72c904a7959772f8b460a/html5/thumbnails/17.jpg)
What is in Lucene index?
![Page 18: Lucene revolution eu 2013 dublin writeup](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b72c904a7959772f8b460a/html5/thumbnails/18.jpg)
What is in Lucene index?
![Page 19: Lucene revolution eu 2013 dublin writeup](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b72c904a7959772f8b460a/html5/thumbnails/19.jpg)
What is in Lucene index?
![Page 20: Lucene revolution eu 2013 dublin writeup](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b72c904a7959772f8b460a/html5/thumbnails/20.jpg)
What is in Lucene index?
![Page 21: Lucene revolution eu 2013 dublin writeup](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b72c904a7959772f8b460a/html5/thumbnails/21.jpg)
What is in Lucene index?
![Page 22: Lucene revolution eu 2013 dublin writeup](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b72c904a7959772f8b460a/html5/thumbnails/22.jpg)
What is in Lucene index?
![Page 23: Lucene revolution eu 2013 dublin writeup](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b72c904a7959772f8b460a/html5/thumbnails/23.jpg)
![Page 24: Lucene revolution eu 2013 dublin writeup](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b72c904a7959772f8b460a/html5/thumbnails/24.jpg)
Turning search upside down
![Page 25: Lucene revolution eu 2013 dublin writeup](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b72c904a7959772f8b460a/html5/thumbnails/25.jpg)
Turning search upside down
![Page 26: Lucene revolution eu 2013 dublin writeup](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b72c904a7959772f8b460a/html5/thumbnails/26.jpg)
Turning search upside down
![Page 27: Lucene revolution eu 2013 dublin writeup](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b72c904a7959772f8b460a/html5/thumbnails/27.jpg)
Turning search upside down
![Page 28: Lucene revolution eu 2013 dublin writeup](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b72c904a7959772f8b460a/html5/thumbnails/28.jpg)
Turning search upside down
![Page 29: Lucene revolution eu 2013 dublin writeup](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b72c904a7959772f8b460a/html5/thumbnails/29.jpg)
Turning search upside down
![Page 30: Lucene revolution eu 2013 dublin writeup](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b72c904a7959772f8b460a/html5/thumbnails/30.jpg)
Turning search upside down