How is your experience with the OutSystems Community?
Offline Keyword Search Demo

Offline Keyword Search Demo (ODC)

Stable version 0.1.0 (Compatible with ODC)
Uploaded on 15 Nov (2 days ago) by Michael Guzman
Offline Keyword Search Demo

Offline Keyword Search Demo (ODC)

Details
Detailed Description

A small ODC Mobile app that shows Offline Keyword Search working on a phone with no signal. It holds 50 maintenance procedures with fault codes, part numbers and model numbers, and searches them with BM25 on the device.

What it shows

  • Loading records from a server action into a local entity while online.
  • Building an index from the local entity with UpsertMany.
  • Searching on the device, with each match showing its score, metadata and how many query terms it matched.
  • Sample codes to tap, including near-miss pairs such as E-217 and BT-3328.
  • Collection status from GetCollectionInfo.

Use it to see the library in action before you add it to your own app, or as a pattern to copy.

Requires the Offline Keyword Search library and a MABS build. Tested on an iPhone 17 Pro Max (iOS 27.2) in Airplane Mode.

Limitations
  • Device build only: needs a MABS package. It does not run in a browser or in Studio preview.
  • Platforms: tested on one iPhone 17 Pro Max (iOS 27.2). On Android, MABS built the app and it launched on an API 32 emulator, but search was not tested there. No physical Android device was tested.
  • Demo data only: 50 invented maintenance procedures and codes. They are not real equipment procedures.
  • No sign-in: GetSeedProcedures can be called without a role. That suits demo data. Real content needs a role check.
  • Load first: nothing loads on start. On the Tools tab, tap Sync Procedures while online, then Index Procedures.
  • Library limits apply: English only, words not meaning, and codes match by token. See the Offline Keyword Search listing.