mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
feat(opensearch): add additional global search filters and create sessionizer indexes for local (#6352)
This commit is contained in:
@ -1,12 +1,16 @@
|
||||
use api_models::analytics::search::SearchIndex;
|
||||
|
||||
pub const fn get_search_indexes() -> [SearchIndex; 4] {
|
||||
pub const fn get_search_indexes() -> [SearchIndex; 8] {
|
||||
[
|
||||
SearchIndex::PaymentAttempts,
|
||||
SearchIndex::PaymentIntents,
|
||||
SearchIndex::Refunds,
|
||||
SearchIndex::Disputes,
|
||||
SearchIndex::SessionizerPaymentAttempts,
|
||||
SearchIndex::SessionizerPaymentIntents,
|
||||
SearchIndex::SessionizerRefunds,
|
||||
SearchIndex::SessionizerDisputes,
|
||||
]
|
||||
}
|
||||
|
||||
pub const SEARCH_INDEXES: [SearchIndex; 4] = get_search_indexes();
|
||||
pub const SEARCH_INDEXES: [SearchIndex; 8] = get_search_indexes();
|
||||
|
||||
Reference in New Issue
Block a user