GithubHelp home page GithubHelp logo

Comments (8)

bholagabbar avatar bholagabbar commented on August 9, 2024

Just for context, we're currently using the default search in Mongoose, visible here https://github.com/SoftwareEngineeringDaily/software-engineering-daily-api/blob/master/server/models/post.model.js#L88 . We'd want to do better than this as it isn't very accurate.

@TheHollidayInn Do we have a tagging mechanism of sorts in place? Have a look at https://www.npmjs.com/package/mongoose-text-search

from software-engineering-daily-api.

TheHollidayInn avatar TheHollidayInn commented on August 9, 2024

We have categories and tags on the Post modal, although we would need to update the mongoose schema. However, the are normalized per WP's sql structure. We would need to denormalize the text to create a text index on them.

from software-engineering-daily-api.

bholagabbar avatar bholagabbar commented on August 9, 2024

from software-engineering-daily-api.

TheHollidayInn avatar TheHollidayInn commented on August 9, 2024

Right.. :P Sorry about that. We are writing this into some docs, but to give you context:

  1. Jeff posts all podcasts on the main website: https://softwareengineeringdaily.com/ - which is a wordpress site
  2. A script pulls from WP to convert the needed information into Mongo (this way we don't have to work with the WP api)
  3. The above information is pulled into Post models for Mongo

from software-engineering-daily-api.

TheHollidayInn avatar TheHollidayInn commented on August 9, 2024

We are hoping to change this in the future.

from software-engineering-daily-api.

bholagabbar avatar bholagabbar commented on August 9, 2024

from software-engineering-daily-api.

TheHollidayInn avatar TheHollidayInn commented on August 9, 2024

A search microservice sounds great!

from software-engineering-daily-api.

hassanfarid avatar hassanfarid commented on August 9, 2024
  1. What fields do we have for search in post object?
  2. Do we have category or tag description text as well?
  3. What search relevance algorithm will best fit here?

from software-engineering-daily-api.

Related Issues (20)

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.