Successfully reported this slideshow.
Your SlideShare is downloading. ×

SynonymGraphFilterの話 (2017年6月5日 第20回Solr勉強会)

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad

Check these out next

1 of 18 Ad
Advertisement

More Related Content

Recently uploaded (20)

Advertisement

SynonymGraphFilterの話 (2017年6月5日 第20回Solr勉強会)

  1. 1. SynonymGraphFilter 2017 6 5 ( ) 20 Solr
  2. 2. About me • • 
 (2017/2/1 ) • Apache Solr / Elasticsearch 
 Apache Solr &
  3. 3. Agenda • SynonymFilter • SynonymGraphFilter • SynonymGraphFilter •
  4. 4. ? • 
 ( ) • Solr ( ) fieldType SynonymFilterFactory 
 • SynonymFilter 2 ( )
  5. 5. SynonymFilter ( ) • [ 1]
 
 (5.x LuceneMatchVersion 3.3 ) • [ 2]
 PhraseQuery (MultiPhraseQuery )
  6. 6. • 
 ) [1:0,2] [2:2,3] [3:3,6] [1:0,2] [2:2,3] [3:3,6] [1:0,2] [2:3,3] [1:0,2] [ :
 , ]
  7. 7. [1] [1] [2] [3] [1] [2] [1] MultiPhraseQuery • PhraseQuery 2 OR True 
 ) MultiPhraseQuery 
 [ ]
  8. 8. SynonymFilter ( ) • https://www.slideshare.net/ ShinichiroAbe/synonym- searchingandsynonymhighligh ting • https://www.rondhuit.com/ synonym-searching-and- synonym-highlighting.html
  9. 9. SynonymGraphFilter • Solr 6.4 • / SynonymFilter 
 (SynonymFilterFactory SynonymGraphFilterFactory )
 
 • • ( ) FlattenGraphFilter
  10. 10. [1:0,2] [4:2,3] [1:0,2] [2:0,2] [3:0,2] [1:0,2] [2:0,2] [1:0,2] [1:0,2] [2:2,3] [3:3,6] [1:0,2] [2:2,3] [3:3,6] [1:0,2] [2:3,3] [1:0,2] SynonymFilter [ :
 , ] [ :
 , ] • SynonymFilter
 
 
 • SynonymGraphFilter
  11. 11. • SynonymFilter
 
 
 • SynonymGraphFilter SynonymFilter (○ )
  12. 12. SynonymGraphFilter ( ) 

  13. 13. SynonymGraphFilter • type=“query” expand=true 1. “index” SynonymGraphFilter 
 ( ) 2. “index” 
 ( ) 3. PhraseQuery MultiPhraseQuery GraphQuery MultiPhraseQuery SynonymGraphFilter ( ) 4. ( ) 
 ( ) 5. ( ) 
 ( )
  14. 14. ) PhraseQuery • SynonymGraphFilter
 ( ) • SynonymFilter
 ( ) PhraseQuery parsedquery
  15. 15. ) • SynonymGraphFilter
 ( ) • SynonymFilter
 ( )
  16. 16. • 
 -> OK • 
 -> • 
 -> • 
 ->
  17. 17. • SynonymGraphFilter 
 (PhraseQuery ) • SynonymFilter SynonymGraphFilter

×