BloGroonga

2011-07-28

InnoDB純正の全文検索エンジンInnoDB FTS


MySQL-5.6.3-labsInnoDB"InnoDB FTS"MySQLInnoDB(mroonga ..)InnoDB""



written by daijiro.mori

?


 Overview and Getting Started with InnoDB FTS Solr/LuceneNamazuMyISAMFTSMyISAM FTSInnoDB FTSID

(proximity search)(FLOSSSolr/Lucene, Senna/groongaNamazu, Hyper EstraierSphinx)

InnoDB FTSMyISAM FTS

?


InnoDBInnoDBInnoDBword, first_doc_id, last_doc_id, doc_count, ilist5wordilistilistBER
[
  [
    最初の文書ID,
    [
      文書内の最初の出現バイト位置,
      文書内の出現バイト位置の差分,
      ..,
      0
    ]
  ],
  [
    文書IDの差分,
    [
      文書内の最初の出現バイト位置,
      文書内の出現バイト位置の差分,
      ..,
      0
    ]
  ],
  ..
]

wordIDfirst_doc_id, last_doc_id

?


RDBInnoDB FTSInnoDB

()word1InnoDB FTS(Index Cache)Index Cache

InnoDB FTSSenna/groongaInnoDB FTS(InnoDB FTSw)

使 Introduction to Information Retrieval Logarithmic MergingSolr/Lucene使

InnoDB FTS

?


CJKN-GRAMwordCJK


InnoDB FTSInnoDB