我创建了一个具有NamedBlobFile作为其中一个字段(用户将上传.pdf)的敏捷内容类型。我希望对该pdf有全文索引 - 就像ATFile类型一样 - 但不知道要做到这一点,我必须做些什么。将敏捷名称dBlobFile的内容添加到SearchableText
我已经安装collective.dexteritytextindexer并已经得到了一些做这个添加到搜索文本的其他领域:
searchable('paper_author')
paper_author = schema.Text(title=_(u"Author"), required=False)
我不知道该怎么对文件做的领域。建议?
我问上http://stackoverflow.com/questions/7470152/title-and-description-arent-indexed-with-collective-dexteritytextindexer类似的东西看到我的解决方案在那里。 – gforcada