Follow Us

Database & Search

Manage your data with Kuzzle

Kuzzle instantly provides everything an application needs to define, store, search and secure JSON documents.
Install and run Kuzzle, select an SDK, and build your app using your favorite programming language or front-end framework.
Read the documentation to learn more

Multi-tenant schema or schema-less database

Kuzzle's persistence engine lets you create databases for multi-tenant or single-tenant applications, and define schema-full or schema-less JSON document collections within each of these databases.
Read the documentation to learn more

Blazing Fast Search

All the data stored in Kuzzle is accessible through the API and is powered by elasticsearch.
Read the documentation to learn more

Blazing fast database operations

Developers Corner

Reduce your development time with Kuzzle's SDKs, these provide easy access to Kuzzle's API to help you get started quickly.
To learn more read our guide

  • Javascript
  • Android
  • GO
  • function search() {    
    //Connect to Kuzzle var kuzzle = new Kuzzle("localhost", { defaultIndex: "galaxies" }); //Wait for the connection to establish kuzzle.on("connected", function(error){ //Create a document var planet = { name: 'Geonosis', terrain: 'mountain' }; return kuzzle .collection("planets", "galaxies") .createDocumentPromise("", planet, {refresh: "wait_for"}) .then(function(result){ //Now search for the document return kuzzle .collection("planets", "galaxies") .searchPromise({query: {match: {terrain: "mountain"}}}) .then(function(result){ doSomething(result); }); }); });
  • public void search() {    
    //Create a document Collection collection = kuzzle.collection("planets", "galaxies"); Document document = new Document(collection); JSONObject currentLocation = new JSONObject().put("name", "Geonosis").put("terrain", "mountain"); document.setContent(currentLocation, true); collection.createDocument(document); //Now search for the document JSONObject searchCriteria = new JSONObject() .put("query", new JSONObject() .put("match", new JSONObject() .put("terrain", "mountain"))); kuzzle.collection("planets", "galaxies") .search(searchCriteria, new ResponseListener<SearchResult>() { @Override public void onSuccess(SearchResult response) { //Do something with the matching documents doSomething(response.getDocuments()); } @Override public void onError(JSONObject error) { handleError(error); } });
  • func search() {    
    //Connect to Kuzzle cn := websocket.NewWebSocket("localhost", nil) k, _ := kuzzle.NewKuzzle(cn, nil) c := collection.NewCollection(k, "planets", "galaxies") //Create a document q := types.NewQueryOptions() q.SetIfExist("replace") planet := c.Document() planet.Content = []byte(`{"name": "Geonosis", "terrain": "mountain"}`) c.CreateDocument("", planet, q) //Now search for the document filters := &types.SearchFilters{} filters.Query = json.RawMessage([]byte(`{"match": {"terrain": "mountain"}}`)) result,err := c.Search(filters, nil) if err != nil { handleError(err) } else { //Do something with the matching documents doSomething(result) }

They Trust us