Code Monkey home page Code Monkey logo

cs6200assign3's Introduction

How to Run the App:

Prerequisites

  • ElasticSearch Local Setup
  • Python 3+
  • Flask

STEPS

  1. We need to first clean the ap89 dataset to index them in elastic search.

  2. "dataprep/fileparser.py" is a parser written for this dataset. So just change the collection location and start cleaning. enter image description here

  3. You will see the process like this enter image description here

  4. After the parsing, a JSON file named "parsed_file.json" will be created.

  5. To index this data I have written an indexer named "dataprep/esindexer.py"

  6. Before running it make sure you have installed elasticsearch python client from :https://elasticsearch-py.readthedocs.io/en/v8.11.0/

  7. Edit the config below according to your ES instance enter image description hereWe are creating "ap89" index in ES make sure you don't have a index named this or just comment the line out

  8. If everything works perfectly you will see the indexing process like below: enter image description here

  9. Lets fireup out Frontend now. Its a flask based app so make sure you install flask before running it

  10. Just like step 7 edit the required ES config details in "index.py" and Run the "index.py" the deployment will start.

  11. Its screenshots below: enter image description hereHomepage

enter image description hereSeachResults

cs6200assign3's People

Contributors

modsetter avatar

Watchers

 avatar

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.