Introduction

Apache Solr is a highly scalable, enterprise-class, open-source search platform built on Apache Lucene [Apache Lucene]. It is used by ImageMaster to provide full-text search across all managed documents, including their binary attachments (PDF, Word, Excel, images, and more).

ImageMaster documents can have multiple binary attachments. Users expect a single search result per document when searching by full-text – not one result per attachment file. Standard Apache Solr creates one index document per extracted file, which would produce duplicate results, broken pagination, and incorrect hit counts. The ImageMaster extraction JAR (see Prerequisites for full-text search with ImageMaster and Solr) solves this by merging all attachments of a document into one Solr index document before it is committed.