Page 1
© 2013 SpringOne 2GX. All rights reserved. Do not distribute without permission.
Searching For the Grail
By Baruch Sadogursky
Page 9
Requirements ___________
Page 10
Requirements
–Download binaries
___________
Page 11
Requirements
–Download binaries
–Web application
___________
Page 12
Requirements
–Download binaries
–Web application
–REST API
___________
Page 13
Requirements
–Download binaries
–Web application
–REST API
–Backend services
___________
Page 24
Requirements ___________
Page 25
Requirements
–Rapid Application
Development
___________
Page 26
Requirements
–Rapid Application
Development
–Flexible schema
___________
Page 27
Requirements
–Rapid Application
Development
–Flexible schema
–Java Background
___________
Page 28
Requirements
–Rapid Application
Development
–Flexible schema
–Java Background
–Stateless
___________
Page 30
Why don’t you just use...?
Framework Why not?
________________
Page 31
Why don’t you just use...?
Framework Why not?
Angular.js Ember.js, ж.js Maturity
________________
-
Page 32
Why don’t you just use...?
Framework Why not?
Angular.js Ember.js, ж.js Maturity
Wicket State
________________
-
Page 33
Why don’t you just use...?
Framework Why not?
Angular.js Ember.js, ж.js Maturity
Wicket State
JSF No comment
________________
-
Page 34
Why don’t you just use...?
Framework Why not?
Angular.js Ember.js, ж.js Maturity
Wicket State
JSF No comment
Non-java Not java bg
________________
-
Page 48
Sphin
x T
echnolo
gie
s In
c.
Page 58
http
://ww
w.flic
kr.c
om
/photo
s/8
9869
792
@N
00/
Page 60
http://compass-project.org
Page 65
static searchable = true
Page 66
static searchable = {
except = ['field1']
field2 boost: 2.0
}
Page 69
def result =
Domain.search('query')
Page 70
def result =
searchableService.search('query')
Page 79
http
://ww
w.flic
kr.c
om
/photo
s/e
lwillo
/
Page 81
ww
w.a
pache.o
rg
http
://luce
ne
.ap
ach
e.o
rg/s
olr
Page 92
grails start-solr
&
grails stop-solr
Page 93
static enableSolrSearch = true
Page 94
static solrAutoIndex = true
Page 95
def result =
Domain.searchSolr('query')
Page 96
def result =
solrService.search('query')
Page 97
...But wait a minute
Page 99
http
://ww
w.flic
kr.c
om
/photo
s/lo
uis
a_catlo
ver/
Page 100
I'm not dead yet!
Page 101
Using Solr?
Using Grails?
Contribute!
(yay)
Page 103
http
://ww
w.e
lastic
searc
h.o
rg
Page 106
elasticSearch {
client.mode = 'local'
}
Page 107
elasticSearch {
client.mode = 'transport'
}
Page 108
static searchable = true
static searchable = {
…
}
Looks familiar?
Page 110
http://www.flickr.com/photos/finsam/
Page 115
Call to arms Hibernate
GORM
github.com/noamt/elasticsearch-gorm-plugin
Page 120
•
•
•
•
•
•
•
•
•