lucene revolution eu 2013 dublin writeup

Post on 15-Jan-2015

410 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

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

TRANSCRIPT

Lucene Revolution EU

2013Dublin

Dmitry Kan

Day 0 (Tuesday): exploring Dublin

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

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

Day 1: conference

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!

Stump the Chump

STUMPED!

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)

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

Day 2

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

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

Lucene search essentials

"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

Lucene search essentials

Lucene search essentials

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

Shrinking a haystack by ISS

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

What is in Lucene index?

What is in Lucene index?

What is in Lucene index?

What is in Lucene index?

What is in Lucene index?

What is in Lucene index?

Turning search upside down

Turning search upside down

Turning search upside down

Turning search upside down

Turning search upside down

Turning search upside down

Turning search upside down

top related