Coder Social home page Coder Social logo

asp-search's Introduction

ASP-Search

ASP.NET core Elasticsearch web based search engine

To Run

Start Elasticsearch

  • BE SURE TO START THIS FIRST!
  • navigate to folder with docker-compose.yml in it (should be the main folder)
  • docker-compose up
  • give it time to run takes 2-5 minutes to start for me on an older windows machine

Start website

  • For simplicity open the .sln file in Visual Studio
  • run without debugging
  • will take about a minute to start as it has to load data into Elasticsearch

Suggested Search Terms

  • C-Max
  • Tesla
  • seatle
  • WA

These should get you enough info and you can have fun after that, data is all electric car data so try searching anything related.

Data

Data from Data.gov

Useful Links

Features

Basic

  • The website should load and index some randomly generated or selected test data.
  • Your test data can be anything you want but should be at least several thousand records.
  • The app should allow the user to enter keywords and find your indexed content.
  • Your app should also feature a responsive design to ensure it renders well for a variety of screen sizes and resolutions.

Advanced

  • Stemming should be used – for example, when searching for “engineer”, the search should also return results for “engineering”, “engineers”, and “engineered”.
  • Spell checking should present corrected search terms for user misspellings.
  • Related search terms could be displayed when a user has searched, suggesting alternate keywords related to what they’ve already searched for.
  • Auto-complete should suggest search terms as the user types in the search box.
  • Attach meta-data to your indexed records and provide faceting options for the user to filter by.

Known Issues

Data

  • Data isn't very unique there is alot of repitition. Better data could be found and models adjusted I guess?

Search

  • could be bugs with pagination, it was a last minute addition but from my testing it's working
  • slow start up, not worth fixing as test data loads in.

Docker

  • need to dockerize ASP.NET core app Not sure if that would make running it any easier due to HTTPS certs.
  • elasticsearch docker container is quite memory intensive. (around 7GB)

Choices Made to Make Demo Simpler

  • no persistant elastic search data.
  • data is rebuilt every time program is run
  • only 2100 entries, can add more by reformatting data with the python file but start up times increase quite a bit

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.