Code Monkey home page Code Monkey logo

ace-search-engine's Introduction

Superman

Ace Resources: A Search Engine

An app to search various data sources.

Installation

  1. npm i

  2. bower i (if there are errors, ensure to create this directory /public/bower_components and provide write permissions)

  3. Set environment variables while running the app. If you're using forever (npm i forever -g) to run your app, below command can be helpful:

     BASEURL=http://<url> PORT=8012 DB=db_name DIIGO_API_KEY=<key> DIIGO_USERNAME=<username> DIIGO_PASSWORD=<password> NODE_ENV=production CITEULIKE_USERNAME=<username> CITEULIKE_PASSWORD=<password> forever --sourceDir <app-dir> -a -l <log-file-path> --minUptime 5000 --spinSleepTime 2000 start index.js
    

Setup

The development.json and production.json files will pick the environment variables and make them available to the app. This app also runs internal repetitive updates via a custom cron-like functionality - you can set how frequently the data is updated from various sources into elastic search, via the config parameter crons.runEvery (it takes minutes).

The crons will automatically run the python scripts responsible for updating from various data sources, and also pass the login credentials to those scripts from the environment.

ace-search-engine's People

Contributors

ritenv avatar willwade avatar

Watchers

 avatar  avatar  avatar

ace-search-engine's Issues

Fix Diigo issue

Searching diigo (i.e. "Links") is not searching our index only - it looks like its searching all of diigo. Very odd behaviour.

SQLServer support

  • We have a large database which uses MSSQL server.
  • We would like to create an endpoint that searches fulltext across a bunch of tables we provide..

? Whether we create a script to input into ES or do live searching on the SQLServer. NB: Although data is updated frequently - nightly dumps will be plenty frequent enough.

More details to come - but for now

Support searching local file system

We have a couple of NTFS Shared drives. We would like to be able to index the files/folders on these shared drives. I guess the index would need to cover:
Author
Date
Content (so if txt, docx, pdf etc try and extract the content).
File name
Folder path

Any better way??

(See also #3 which may replicate this)

Add in oAuth via 365

Would be sensible to make frontend web app accessible by a 365 Auth box - so the entire thing "could" be public facing..

NB: We intend for the app to be internal only - but by putting this in place its an added security feature (and allows us to move to a cloud host in the future)

Search Slack

Ideally we would like a way of searching our slack channels

Upgrade/Check Stack

The whole stack is a little outdated - it would be wise checking the entire stack is good - and upgrading components as we need to

  • Is ElasticSearch still the right tool?
  • Node/Cofeescript stack still right?

NB: We want to open this project to allow other people to use it - so using tools that allow open development as best as possible is a priority

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.