Include commit ID in search index.

Review Request #9098 — Created July 24, 2017 and submitted

David Trowbridge
Review Board

This change adds the commit ID to the review request search index. It's also
included in the default document.

  • Created a search index and searched for commit IDs using both Whoosh and
    Elasticsearch backends.
  • Ran unit tests.
  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
Christian Hammond
  1. I'm not sure I'd want to change the text field for current releases. I don't think the *NgramFields are supposed to be that efficient for larger blocks of text. I might be wrong, but I'd need to know more. Maybe evaluate the text field for 3.0?

  2. Can you verify that this was tested with both Whoosh and Elasticsearch?

David Trowbridge
Barret Rennie
  1. Ship It!
David Trowbridge
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.5.x (95e6f7b)