Page MenuHomePhabricator

Make OAI aware of ContentHandler
Closed, ResolvedPublic

Description

The OAI extension should make use of the ContentHandler facility. Especially, it should:

  1. report the correct content model and format (and DC media type) for the data it serves.
  1. Use the generic Content::getTextForSearchIndex to generate plain text from non-text content when asked for lsearch output, for use by the lucene indexer.

Version: unspecified
Severity: normal

Details

Reference
bz41532

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:55 AM
bzimport set Reference to bz41532.
bzimport added a subscriber: Unknown Object (MLST).

This blocks bug 36423 because MWSearch uses LucenSearch wich in turn access the OAI feed in order to update the search index incrementally.

Patch for outputting the correct type info in DC meta data: Ia6e0df7e

Patch for returning flat text from non-text content: I8135402d