<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shokai</author_name>
  <author_url>https://blog.hatena.ne.jp/shokai/</author_url>
  <blog_title>橋本詳解</blog_title>
  <blog_url>https://shokai.hatenadiary.org/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>MongoDB</anon>
  </categories>
  <description>自分で単語を切ってindexを作れというdocumentもあるが http://www.mongodb.org/display/DOCS/Full+Text+Search+in+Mongo （これ同じように日本語のindexで作って、Ruby driverとjsのコンソール両方で試したけど日本語でちゃんと探せたのでmecabとか使って同じ事やるのもいいかも）日本語で数万件程度なら、正規表現でfindでも十分そうという事がわかった。 先にこんな風に540文字のテキストデータの入ったdocumentを何万件かinsertしておく require 'rubygems' require 'mongo'…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshokai.hatenadiary.org%2Fentry%2F20100827%2F1282920601&quot; title=&quot;正規表現でfind - 橋本詳解&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-08-27 23:50:01</published>
  <title>正規表現でfind</title>
  <type>rich</type>
  <url>https://shokai.hatenadiary.org/entry/20100827/1282920601</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
