Skip to content

Custom extractors prevent AAE re-indexing [JIRA: RIAK-2173] #547

@TSiggs

Description

@TSiggs

Current workaround for SOLR re-indexing via wiping yz hash trees breaks when using custom extractors.
To replicate the issue:

  1. Create a custom extractor based on one of our default extractors, and implement it as a custom MIME type.
  2. Create a search schema and index, and generate some objects with your custom MIME type. Ensure the bucket used has the schema property set.
  3. Create some objects with a new field.
  4. Update the schema to include new field, restart Riak.
  5. Create a new object with the additional field, and perform a SOLR query against that field. The single object (and not the previous ones create prior to schema change) should show up as a result.
  6. Wipe the yz hash trees.
  7. After confirming via riak-admin aae-status that all hashes have been rebuilt, perform the query again. No additional results should be found.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions