嗨我有一个问题我有一个表用户(id,名称,地址和电子邮件),我的elasticsearch内存是256mb。当我索引数据时,它在索引过程中遗漏了一些列数据。丢失的数据可能是电子邮件或任何其他字段,请一些人告诉我为什么elasticsearh缺少数据。
elasticsearch version -> 0.90
indexes :book_info do
indexes :isbn, :type => 'string'
indexes :isbn13, :type => 'string'
indexes :description, :type => 'string'
indexes :release_date, type: 'date'
# commenting all the code related to plan type in elastic search
indexes :plan_type, :type => 'string', index: 'not_analyzed'
indexes :is_available, :type => 'boolean'
end
示例数据保存在elasticsearch中,如此
book_info: {
isbn: 62010662
isbn13: 9780062010667
description: <p><em>Scambusters!</em> is a working manual senior citizens can use to defend themselves against the most common scams aimed at the elderly. It provides readers with a comprehensive approach to identifying scams in the making, and shows them specific prevention tools and how to use them. </p><p>Inside, you'll find step-by-step instructions, helpful anecdotes, and references to dozens of consumer organizationals and government agencies devoted to thwarting swindlers. Weather buying mutual funds, repairing a car, purchasing drugs from online pharmacies, or taking out loans on your home, <em>Scambusters!</em> will protect seniors when they need it.</p>
release_date: 2010-05-25T00:00:00Z
plan_type: null
is_available: true
}