Skip to content

Commit

Permalink
Hotfix mapping to cord ref that is preventing indexing in ES (#541)
Browse files Browse the repository at this point in the history
* Fix mapping to cord ref that is preventing indexing in ES

* Ahh, typo!
  • Loading branch information
Jeff Mataya authored and narma committed Dec 6, 2016
1 parent add66f8 commit 2fd852d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ final case class GiftCardTransactionsSearchView()(implicit ec: EC) extends AvroT
field("giftCardCreatedAt", DateType).format(dateFormat),
// Order Payment
field("orderPayment").nested(
field("orderReferenceNumber", StringType).analyzer("upper_cased"),
field("cordReferenceNumber", StringType).analyzer("upper_cased"),
field("orderCreatedAt", DateType).format(dateFormat),
field("orderPaymentCreatedAt", DateType).format(dateFormat)
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ final case class StoreCreditTransactionsSearchView()(implicit ec: EC) extends Av
field("storeCreditCreatedAt", DateType).format(dateFormat),
// Order Payment
field("orderPayment").nested(
field("orderReferenceNumber", StringType).analyzer("upper_cased"),
field("cordReferenceNumber", StringType).analyzer("upper_cased"),
field("orderCreatedAt", DateType).format(dateFormat),
field("orderPaymentCreatedAt", DateType).format(dateFormat)
),
Expand Down

0 comments on commit 2fd852d

Please sign in to comment.