Vincent Rousseau

12 papers A* 2A 1B 1Journal 7Unranked 1
YearRankTypeTitle / Venue / Authors
2026 J jnl
CoRR
Stephane Ngnepiepaye Wembe, Vincent Rousseau, Johann Laconte, Roland Lenain
2025 A* conf
ICRA
Stephane Ngnepiepaye Wembe, Vincent Rousseau, Johann Laconte, Roland Lenain
2025 J jnl
CoRR
Stephane Ngnepiepaye Wembe, Vincent Rousseau, Johann Laconte, Roland Lenain
2025 J jnl
CoRR
Stephane Ngnepiepaye Wembe, Vincent Rousseau, Johann Laconte, Roland Lenain
2017 A* conf
ICRA
Mathieu Deremetz, Roland Lenain, Benoît Thuilot, Vincent Rousseau
2017 J jnl
J. Field Robotics
Audrey Guillet, Roland Lenain, Benoît Thuilot, Vincent Rousseau
2017 J jnl
Adv. Robotics
Roland Lenain, Mathieu Deremetz, Jean-Baptiste Braconnier, Benoît Thuilot, Vincent Rousseau
2016 A conf
IROS
Jean-Baptiste Braconnier, Roland Lenain, Benoît Thuilot, Vincent Rousseau
2013 B conf
CogSci
Sébastien Tremblay, Isabelle Turcotte, Alexandre Labrecque, Jessica Desrochers-Pare, Vincent Rousseau
2013 J jnl
J. Hum. Robot Interact.
Vincent Rousseau, François Ferland, Dominic Létourneau, François Michaud
2013 J jnl
Auton. Robots
François Grondin, Dominic Létourneau, François Ferland, Vincent Rousseau, François Michaud
2010 conf
ISCRAM
Sébastien Tremblay, Daniel Lafond, Jean-François Gagnon, Vincent Rousseau, Rego Granlund
redb/settings/elasticsearch.py
← Index redb/settings/elasticsearch.py python
import logging
import os

from elasticsearch import Elasticsearch
from dotenv import load_dotenv

load_dotenv()

# Elasticsearch configuration
ELASTIC_ENDPOINT = os.getenv("ELASTIC_HOST")
ELASTIC_ENFORCE_SSL = os.getenv("ELASTIC_ENFORCE_SSL", False) == "True"
ELASTIC_USER = os.getenv("ELASTIC_USER")
ELASTIC_PASSWORD = os.getenv("ELASTIC_PASSWORD")
ELASTIC_BINARIES_COLLECTION = os.getenv("ELASTIC_BINARIES_COLLECTION", "test_db")

# Cached client instance
_elasticsearch_client = None

def get_elasticsearch_client():
    """Get Elasticsearch client with lazy initialization and caching"""
    global _elasticsearch_client
    
    if _elasticsearch_client is None:
        if not ELASTIC_ENDPOINT:
            raise ValueError("ELASTIC_HOST environment variable is required for Elasticsearch connection")
            
        _elasticsearch_client = Elasticsearch(
            ELASTIC_ENDPOINT,
            verify_certs=ELASTIC_ENFORCE_SSL,
            basic_auth=(ELASTIC_USER, ELASTIC_PASSWORD),
            maxsize=20,
            retry_on_timeout=True,
            timeout=30,
        )
    
    return _elasticsearch_client

def create_elasticsearch_client():
    """Create a new Elasticsearch client connection (legacy function)"""
    return get_elasticsearch_client()