Closed Bug 867288 Opened 11 years ago Closed 11 years ago

Add separate marketplace elasticsearch index

Categories

(Marketplace Graveyard :: Search, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED
2013-05-16

People

(Reporter: robhudson, Assigned: robhudson)

References

Details

(Whiteboard: p=3)

Adding a separate marketplace index will allow us to optimize the search index and queries for Marketplace specific queries.

This bug is to:
* Create a new marketplace index
* Create a new "reindex_mkt" command to re-index marketplace as needed or when the index mapping changes. It should not break current searches while running.
* Update code to use the new index.
Blocks: 868088
Priority: -- → P1
First step: Upgrade the dependent libraries w/o breaking things:
https://github.com/mozilla/zamboni/commit/a8b0407
Added new marketplace indexer class which includes the ES mapping type and extraction code:
https://github.com/mozilla/zamboni/commit/d8c2520
Added management command to create new marketplace index:
https://github.com/mozilla/zamboni/commit/bd5c84f
Successfully ran reindex_mkt a couple times. It creates a new index+mapping, indexes apps into it, and once done points the live alias to the new index.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2013-05-16
You need to log in before you can comment on or make changes to this bug.