Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 31 Next »

Introduction

For the API, Web Manager, bookings engine, my environment and webservices we don't use database listeners. For this, we have a separate flow in place, because we require additional information (such as pre-calculated prices) in the Elasticsearch index.

We use Elasticsearch to store availability and prices. Elasticsearch is a search engine that provides fast searches and grouping of data (so-called aggregations).
The availability index consists of documents and each document represents a possible stay; it contains (among other fields) a resourceId, arrival date, duration, distribution channel, units, price, and possibly an offer code.
Only accommodation types meeting the following criteria will be indexed:

  • Are released
  • Have rentability
  • Have prices

Index Modes

We have several index modes available which all have their requirements and benefits. Below you can find a matrix in which per index mode the requirements, benefits, and limitations are listed.

An overview of which customer uses which index mode can be found here: Index Modes.

Matrix



Length of Stay using Pricecache

Length of Stay using Cashflowrules

Nightly Rates on Unit level

Nightly Rates on Type level

PerformanceProcessing time (faster = more real-time)(minus)(plus)(plus)(plus)(plus)(plus)(plus)

Index size (smaller = faster search)(minus)(minus)(plus)(plus)(plus)






RequirementsNightly rate

(tick)

(tick)(tick)(tick)

Length of stay (LOS) rates(tick)(error)(error)(error)

Every day departure(tick)(tick)(tick)(tick)

Departure on specific days(tick)(tick)(tick)(tick)






FunctionalInheritance of prices(tick)(warning)*(warning)*(warning)*

Length of stay price calculation(tick)(tick)(tick)(tick)

Fixed rate offers (e.g., -20)(tick)(tick)(tick)(tick)

Relative (percentual) offers (e.g., -10%)(tick)(tick)(tick)(tick)

Override offers (override price for specific period)(tick)

(tick)

(error)(error)

X=Y offers (e.g., 7 days for price of 6)(tick)(error)(error)(error)

Exact period only offers(tick)(tick)(tick)(tick)

Combination of offers (max. 2)(error)(error)(error)(tick)

Implies fixed amount per stay(tick)(tick)(warning)**(warning)**

Implies fixed amount per night(tick)(tick)(warning)**(warning)**

Implies with relative prices(error)(error)(error)(error)

Implies on unit level(error)(tick)(error)(error)

Search amenity on location level(tick)(tick)(tick)(tick)

Search amenity on type level(tick)(tick)(tick)(tick)

Search amenity on unit level(tick)(tick)(tick)(error)

Gap configuration(tick)(tick)(tick)(tick)

* Inheritance: only if the distribution channels are in the same representation, have the same rate types, and don't have unique specials.
** Support for these will be added through  MXTS-26931 - Add support for internet additional costs in the night price index OPEN

Troubleshooting

To check why some availability is missing, see Checklist availability online.

  • No labels