Giter VIP home page Giter VIP logo

javascript-client's Introduction

Apisearch - Javascript Client

This library is part of the Apisearch project.

CircleCI Join the Slack

Apisearch is an open source search engine fully based on open source third party technologies. The project provides an in crescendo set of language integration libraries for her users, as well as some third party projects integration bundles, plugins, or javascript widgets.

Some first steps for you!

or

Take a tour using these links.

...and remember give us a star on Github! The more stars we have, the further we'll arrive.

javascript-client's People

Contributors

alexhoma avatar mmoreram avatar pedroescudero avatar rubenpenyafiel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

javascript-client's Issues

False items not being migrated

When migrating documents first level fields with value=false are not being stored in the index.

Example:

Original document:

{
    "name": "John",
    "surname": "McCallister",
    "married": false,
    "studies": { 
        "primary": true, 
        "secondary": false
    }
}

Apisearch indexed Document:

{
    "metadata":  {
        "name": "John",
        "surname": "McCallister"
    },

    "indexed_metadata": {
        "studies": { 
            "primary": true, 
            "secondary": false
    }
}

Expected Apisearch indexed Document:

{
    "metadata": {
        "name": "John",
        "surname": "McCallister"
    },

    "indexed_metadata": {
        "married": false,
        "studies": { 
            "primary": true, 
            "secondary": false
        }
    }
}

Javascript client should be configured to NOT recieve Query object in response

Initially, having Query object serialized inside the Result representation was a good idea, because of the way new URLS were built.

When working directly from the JS client, this is not needed anymore, so in order to increase the Result weight, would be nice if the query is not included anymore inside the Result object.

By including the parameter incl_query as a GET parameter, this would work.

Add API version

JS client should manage the API version.
That would mean that, by default, used API is v1, but people should be able to change it in the future.

version: v1 (default)

Desired version will be prepended into all API urls.

/v1/xxx/yyy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.