Comments (8)
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.
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.
from software-engineering-daily-api.
Right.. :P Sorry about that. We are writing this into some docs, but to give you context:
- Jeff posts all podcasts on the main website: https://softwareengineeringdaily.com/ - which is a wordpress site
- A script pulls from WP to convert the needed information into Mongo (this way we don't have to work with the WP api)
- The above information is pulled into Post models for Mongo
from software-engineering-daily-api.
We are hoping to change this in the future.
from software-engineering-daily-api.
from software-engineering-daily-api.
A search microservice sounds great!
from software-engineering-daily-api.
- What fields do we have for search in post object?
- Do we have category or tag description text as well?
- What search relevance algorithm will best fit here?
from software-engineering-daily-api.
Related Issues (20)
- Improve Onboarding Experience
- Add "upvoted" and "downvoted" to 'listened' api, for recent activity feed
- Ability to Save to Listen Later From Desktop To Phone HOT 2
- Add section to readme for env vars
- Automatically Scrape "Show Notes" and add them to "Related Links" HOT 1
- Create Wiki Feature Backend
- Create notifications backend
- Architect badge system
- Guest object system project
- Missing `AWS_PROFILE_PIC_BUCKET_NAME` in development image tag HOT 5
- As a listener, I would like to filter out episodes I have listened to HOT 2
- Prevent broken `author` ObjectId references in forumthreads collection HOT 1
- MP3 URL is not provided as https
- New route with less user info for comments
- [Help] How to populate Posts? I could not find any POST request to populate /api/posts HOT 6
- Bookmarks Question HOT 8
- Rename Backend Heroku API
- Migrate to Render
- Migrate api code to typescript
- Migrate api to graphql for easier cross-platform access and addressability on the frontend
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from software-engineering-daily-api.