Giter Club home page Giter Club logo

Comments (2)

kashav avatar kashav commented on June 18, 2024 1

I think there's also the advantage that it can be used without any parameters. Say I was interested to see all courses that have something to do with "software engineering". I could use /search?q="software engineering", rather than /filter?q=name="software engineering" OR description="software engineering".

I guess the argument could go both ways here, since the only downside of using /filter is length... 😕

Maybe discontinuing /search and just focusing on improving string filtering is the better idea. Do you think it's possible to add an all_strings key (possibly all_numbers, etc.) for querying all string types? That way we can bring /search functionality to /filter.

from cobalt.

qasim avatar qasim commented on June 18, 2024

Hm... you're right about the convenience of being able to do a generic search without any parameters, that is pretty attractive. I guess we can hold back on this for now. The all_strings / all_numbers solution doesn't seem so elegant.

The only thing that I don't like about search is that it doesn't allow for partial word searching, since that's the nature of a full text search. You'll get results for computer science but maybe not so many for CSC, only those that literally have the word CSC in the description. I guess we can just focus on improving /search algorithm to allow for partial word searches (we'll lose the ability to search on the pre-computed indexes, but that's fine).

from cobalt.

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.