Skip to content

MoeraOrg/moera-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moera Search Engine

Resources

Installation instructions

  1. As prerequisites, you need to have Java 17+, Neo4j Community 2025.04+ (with APOC plugin) and OpenSearch 2.19+ installed.

  2. Create an empty Neo4j database and an empty OpenSearch index.

  3. Create a directory <media>, where the server will keep media files.

  4. Go to the source directory.

  5. Create application-dev.yml file with the following content:

     search:
       signing-key: "26c2bf7f3108c8b177a6a99ec006ffcc33efbe8c7aeeac0afee6619744a2df82"
       address: "127.0.0.1"
       naming-server: "https://naming-dev.moera.org/moera-naming"
    
     database:
       url: <db url>
       user: <db user>
       password: <db password>
       database: <db name>
    
     index:
       host: <opensearch host>
       user: <opensearch user>
       password: <opensearch password>
       index-name: <opensearch index name>
    
     media:
       path: <media>

    signing-key is a private signing key for search node on the development naming server. If you register a different node name, change signing-key and node-name settings accordingly.

  6. By default, the server runs on port 8082. If you want it to run on a different port, add these lines to the file above:

    server:
      port: <port number>
  7. Execute ./run script.

  8. If you use your own naming server, make sure its location is set correctly in node settings.

Packages

No packages published

Contributors 2

  •  
  •  

Languages