We're looking at using the Websolr add-on for searching Resources within our Rails app.

The app contains many Resource models. Most of the resource models are self-contained, with a series of attributes: author, title, a set of tags etc, however some of the Resource models have a pdf attached. We need to index the content of this pdf so that it is searchable as a part of the Resource.

How should I approach this?

有帮助吗?

解决方案

This should get you started: ExtractingRequestHandler, which integrates Tika into Solr.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top