Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Jacob Lerche
    @jlerche
    Hello, I stumbled on this project by chance. Is this a port of https://github.com/mosuka/blast to rust?
    1 reply
    Minoru Osuka
    @mosuka
    @jlerche
    Yes, Bayard is a project to rewrite a search server with the same concept as Blast using Rust.
    Paul Masurel
    @fulmicoton
    @mosuka If you need a recordlog https://github.com/tantivy-search/recordlog , I worked on this crate a few months ago. It is based on the leveldb / rocksdb log format.
    Minoru Osuka
    @mosuka
    @fulmicoton Thanks!
    innerop
    @innerop
    Hi, just following up on the Cluster question on github issues (will close) ... so if the gateway is started on a separate server and it goes down then how do we recover? Can I run two instances of the gateway on separate servers and have a highly available cloud load balancer (e.g AWS ALB/NLB) sit in front?
    @mosuka ^
    I should be able to ... right?
    Minoru Osuka
    @mosuka
    @innerop
    If the gateway goes down, you need to restart it. and if you need to improve fault tolerance, recommend deploying multiple gateways behind the load balancer.
    Jeffrey Spies
    @JeffSpies
    Hi, all, is something going on with the bayard docker? I'm following the instructions here https://bayard-search.github.io/bayard/running_on_docker.html but getting an error
    error: Found argument '1' which wasn't expected, or isn't valid in this context
    Minoru Osuka
    @mosuka
    @JeffSpies Hi. Thanks for the report. I’ll check the Docker container image.
    Minoru Osuka
    @mosuka
    @JeffSpies Sorry for the inconvenience.
    I fixed docker run example. Can you re-run following command?
    $ docker run --rm --name bayard \
        -p 5000:5000 -p 7000:7000 -p 9000:9000 \
        bayardsearch/bayard:latest \
        --data-directory=/tmp/bayard \
        --schema-file /etc/bayard/schema.json \
        --tokenizer-file /etc/bayard/tokenizer.json \
        1
    Jeffrey Spies
    @JeffSpies
    @mosuka Can do!
    Looking good. Next I'll try to get that to run with docker-compose.
    Thanks!
    Minoru Osuka
    @mosuka
    Cool! Hope it goes well.
    Please feel free to contact me if you have any problems. :)
    Jeffrey Spies
    @JeffSpies
    Thanks! Looking forward to playing with it; it looks like a great project.
    Jeffrey Spies
    @JeffSpies
    @mosuka Do you have examples using grpc to communicate with bayard? I'm wondering if I should just do that in node.js rather than use the HTTP server or cli.
    Minoru Osuka
    @mosuka

    Hi @JeffSpies ,
    How about using the grpc-web?
    https://github.com/grpc/grpc-web

    I have been generated the grpc-web client code as an experimentally. But I haven't tried it yet. If you would like to use it and give me feedback?
    https://github.com/bayard-search/bayard-proto/tree/master/grpc-web

    Jeffrey Spies
    @JeffSpies
    Hi, @mosuka, I'll give it a try! I'm having more basic problems now with the rest server--using the docker--and consistently getting "failed to request" errors
    I've tried setting, batch setting, and hitting status
    I'm exposing barnyard 5000, 7000, and 9000 and then running banyard-rest docker with the default command arguments
    e.g., index at 5000
    Minoru Osuka
    @mosuka
    @JeffSpies Sorry for the late reply.
    Can you tell me what commands you actually executed?
    xialvjun
    @xialvjun

    I just want to have a try of bayard, so I use docker and just one single node. Then

    docker run --rm --name bayard-server \
            -p 5000:5000 -p 7000:7000 -p 9000:9000 \
            bayardsearch/bayard:latest \
            --data-directory=/tmp/bayard \
            --schema-file /etc/bayard/schema.json \
            --tokenizer-file /etc/bayard/tokenizer.json \
            1
    
    # new terminal
    docker run --rm --name bayard-rest \
            -p 8000:8000 \
            bayardsearch/bayard-rest:latest
    
    # new terminal
    curl -X GET 'http://localhost:8000/v1/schema'
    # failed to request getting schema

    What's wrong with it?

    @mosuka