Git Product home page Git Product logo

Comments (2)

rmisio avatar rmisio commented on May 28, 2024 1

@jjeffryes @morebrownies

Changing:

- the search input allows the user to enter one or more search terms, which filter the list by those terms.

to:

- the search input allows the user to enter a search term, which filters the list by that term.

Searching for multiple terms is a somewhat complex thing. The main issue is how do you break up multiple terms, e.g. "used car". Do we break on spaces and then search for listings with "used" and with "car". I think the "big-boy" search tools count the number of occurrences of each term within a result and then gives points to a search result and use that to determine if it's a match or not.

That's a bit more than what I thought we'd be doing here. IMO, we should leave multiple term searching to a 3rd party search since they'll be making use of a "big-boy" search tool (e.g. ElasticSearch) which will give them that kind of advanced functionality. I imagine the user will still be able to search within a person's store with multiple terms if they included the username in the search, e.g. "@themes used car".

So, for the actual store page we would have simple one term search. You enter "used car" and it returns listings that have "used car" in the title or description.

from openbazaar-desktop.

jashot7 avatar jashot7 commented on May 28, 2024

Completed the Type Section. We may want to consider in the future whether we want to disable filters the way we spec'd out here.

from openbazaar-desktop.

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.