artreven / pp_api Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
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:
Also, if method GraphSearch > filter_cpt
should 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.
Hello Artem,
Is it possible to use this function to exclude an author from the result? I.e., 'graphsearch, give me articles with any author, except XYZ'. Can something like 'not in [author1, author2]' be put as a value for filter?
Line 197 in 761de65
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.