Elasticsearchãã¥ã¼ããªã¢ã« - ä¸å¯è¦ç¹ã§ç´¹ä»ããã¦ããlivedoorã°ã«ã¡ã®ç 究ç¨ãã¼ã¿ã»ããã¨GrnMini 0.4.0ã使ã£ã¦Groongaãã¼ã¹ã®ç°¡åãªã¬ã¹ãã©ã³æ¤ç´¢ãä½ã£ã¦ã¿ã¾ããã
ã½ã¼ã¹ã³ã¼ããã¨ã¦ãçã(153è¡)ã®ã§ç°¡åãªæ¤ç´¢ã¨ã³ã¸ã³ãä½ã£ã¦ã¿ãã人ã¯åèã«ãªãã®ã§ã¯ãªããã¨æãã¾ãã
ã½ã¼ã¹ã³ã¼ã
grn_mini_samples/restaurants.rb
使ãæ¹
- http://blog.livedoor.jp/techblog/archives/65836960.html ããç 究ç¨ãã¼ã¿ããã¦ã³ãã¼ã
- ldgourmet.tar.gz ãå±é
- ãã¼ã¿ãã¼ã¹ã®ä½æ
- æ¤ç´¢
ãã¼ã¿ãã¼ã¹ã®ä½æ
å±éãã ldgourmet.tar.gz ãæå®ãã¦å®è¡ãã¾ãããã°ããæéããããã¾ãã
$ ruby restaurants.rb /path/to/ldgourmet/
æ¤ç´¢
ãã¼ã¯ã¼ãã«ãããããåºåãå°åãæ¢ãã¾ãã
$ ruby restaurants.rb ã©ã¼ã¡ã³ æ°å®¿ ã©ã¼ã¡ã³äºé - æ°å®¿åºè¥¿æ°å®¿7-5-51F ã©ã¼ã¡ã³ããã - æ°å®¿åºåè°·4-25-10ãã¤ã¢ãã¬ã¹å¾¡èå1F åæµ·éã©ã¼ã¡ã³ æ°å®¿æº - æ¸è°·åºä»£ã æ¨2-5-5æ°å®¿è¾²åä¼é¤¨1F ã©ã¼ã¡ã³äºé - æ°å®¿åºæèä¼çº1-19-3æèä¼çºæ¯èçµåãã«1F ã» ã»
-r
ã§ãã¼ã¯ã¼ãã«ãããããã¬ãã¥ã¼ãæ¢ãã¾ãã
$ ruby restaurants.rb -r ã©ã¼ã¡ã³ ã¨ãã㤠ãã£ã±ã --- ã¤ã¬ãã³ãã¼ãº - åå·åºæ±åå·1-34-23 --- ã¼10å¸ç¨åº¦ã®ã¿ã®å°ããªãåºã§ã<<ã¨ããã¤>>é¤æ²¹ã®ãã㪠èæ²¹é¤æ²¹ã®ãã㪠ã²ãã©ã¼ãã¨ä¹ã£ã¦ã㦠æ®éã®<<ã©ã¼ã¡ã³>>ã§ãå ¨ç¶æºè¶³ãåç¼éººã¨å¤§çã 人ã¯ãã¾ããã ççè±ã®çã¿ã¨<<ãã£ã±ã>>æã§ãããããã¨ãªãé£ã¹ãã --- éººå¦ ä¸æå± - 大åå¸ä¸åç°1207-1-C --- ããã®å¡©<<ã©ã¼ã¡ã³>>ã¯ãã³ãã¼ï¼ã§ããè¶ ããããã£ãï¼æåãã¾ãã!! ç¥ æ²¹ãªããå è§å®¶ã<<ãã£ã±ã>>ãªããæ¯é£ãã°ãã<< ã¨ããã¤>>ã¯ãç§ã¯è¦æ㪠--- 麺ã®å ç ¦ - æ¸è°·åºç¥æ³çº20-23 --- ãããããªãã§ããã©ãããã®<<ã©ã¼ã¡ã³>>ã¯å ±éããæ¬ç©ã®è·äººãæãã¾ã æ³ãå¤ä¸ã«é ã£ãã¤ãã§ã«ãã®<<ã©ã¼ã¡ã³>>ãã»ã»ã»ããããã!! ããã!!ã ããªããèªæã«è² ãã¦ãã£ã±ã<<ã©ã¼ã¡ã³>>å±ã¸ã»ã»ã»ãæ°ã«ãã¦ãå²ã«ç¦å²¡ . .