Giter VIP home page Giter VIP logo

pp_api's People

Contributors

alexisdimi avatar artreven avatar hanecak avatar maritncibula avatar syats avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

pp_api's Issues

Faceted search

Hello Artem,

I need to implement faceted search feature at the platform and right now I’m trying to display something very simmilar to the left sidebar at page https://profit.poolparty.biz/GraphSearch/ (I better avoided to include the screenshot, I don’t know if I can publish that images publicly here). I mean the list of some terms with numbers representing the number of articles for appropriate term.

(Note: maybe I’m lost in the terminology, I may use words like ‘facets’, ‘terms’ etc. with different meaning – I hope it will be possible to guess what I’m talking about :-) )

At the moment, I’m using GraphSearch > search method which gives me results/response.

If I try to show JSON of the response, there are facetList arrays for each result, like this:

# here in the json structure
{
  'results': [
    {
      'facetList': [{ .... }]
    }, ...
}

But it seems to me like different terms for each article in the result and not what I’m searching for.

Can you help me or give an example, please, what methods should I use when I want to achieve this:


  • Given I’m at the search page
    And I don’t specify any search term (“fulltext input”)
  • When I press the search button
  • Then I will see all articles in the list
    And I will see some terms with numbers in the sidebar

  • Given I’m at the search page
    And I write any string into “fulltext input”
    And I select any term from the sidebar
  • When I press the search button
  • Then I will see smaller group of articles in the list
    And I will see different terms with smaller numbers in the sidebar

Also, if method GraphSearch > filter_cptshould be used for this, can you show me an example input for one value and for multiple values? (e.g. selecting ‘enterpreneurship’, or selecting ‘inflation’ + ‘enterpreneurship’).

Thanks you a lot.

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.