Mosaic

Modular Search Application based on Index Fractions

Mosaic and MosaicRAG enable the creation of personal search engines and specialised serach applications using index shards of the Open Web Index (OWI). The concept consists of importing an index shards exported from the OWI into Mosaic, which enables to perfomr basic serach operations on this index shard. MosicRAG add RAG features, such as summarisation, re-ranking, and chat on top of the serach result provided by Mosaic.

Demonstration

Demonstrations can be found on the demonstration page.

Demonstration Page.

Features, characteristics, and components

Concept and software architecture


Installation instruction

There are several ways how to try out and run MOSAIC. Detailed descriptions can be found in the README on GitLab and in the Tutorial of the OpenWebSearch.eu book. In the following two quick ways are described to try out MOSAIC.

a) Download the source code, compile and start the service.
This requires git, Java 17, and Maven installed on your computer (Linux, MacOS, Windows).

  1. Open a terminal and download the source code from GitLab:
    git clone https://opencode.it4i.eu/openwebsearcheu-public/mosaic.git
  2. Build the project (compiling and packaging the source code and creating the Lucene index):
    cd mosaic/scripts/
    build.sh or build.bat
  3. Start the service:
    start.sh or start.bat
  4. Try out the REST API of the service in your web browser:
    http://localhost:8008/search?q=graz
  5. Optional: Try out the web interface in your web browser:
    file://[path-to-mosaic]/mosaic/front-end/index.html
  6. Optional: Include a different index. Download an index (folder with .ciff and .parquet files) from the demonstration repository and save the folder with the two files in the [path-to-mosaic]/resource folder, then rebuild and start the service:
    build.sh or build.bat
    start.sh of start.bat

b) Use docker to run and try out MOSAIC.
This requires docker installed on your computer

  1. Download and start the MOSIAC docker container:
    docker run --rm -p 8008:8008 opencode.it4i.eu:5050/openwebsearcheu-public/mosaic
  2. Try out the REST API of the service in your web browser:
    http://localhost:8008/search?q=graz

Development instructions

      ⮞ Technical details on using MOSAIC are described in the developer guide

Search application examples

Background information and license

MOSAIC has been designed and developed at CoDiS Lab, a research group of the Institute of Interactive Systems and Data Science at the Graz University of Technology in Austria. Involved people are Sebastian Gürtl, Alexander Nussbaumer, Christian Gütl, and previously Rohit Kaushik. Further help and support was provided by the OpenWebSearch.eu consortium, in particular Gijs Hendriksen and Arjen de Vries from Radboud University.

The software is open source, the license will be specified soon.

Contact

For any question please contact Alexander Nussbaumer or Sebastian Gürtl.

Imprint

... TODO ...