Skip to main content
Question

improve Rest-API /search


I use the REST endpoint /search to get a list of articles for certain keywords. There are a few categories that I don't want to search.

 

In the endpoint I can only give a positive list of categories. To get my desired result, I first have to get a list of all categories, then filter out the unwanted ones and then specify the result as categories to be searched.

This is cumbersome and not optimal for the runtime.

I would like it if I could also specify a list of categories that are ignored for the search.

 

It would also be good if I could specify the maximum number of results (I usually only need the TOP 3 or TOP 5 of the search results).

 

And it would be optimal if I could specify in the request whether I want to have the text of the article in the result. For my usecase, I only need the category, subject and link to the article. The complete text only makes the result larger and slower.

 

I would be happy if my suggestions were implemented.

2 replies

olimarrio
Forum|alt.badge.img+4
  • Gainsight Employee ⭐️
  • 404 replies
  • May 22, 2023

Hi @Benjamin Kochs  👋,

Thanks for providing your valuable feedback here. These are all really good points!

I would highly encourage you to post these 3 points as separate ideas so that other community members can vote on them and our product team can manage these accordingly.


  • Author
  • Contributor ⭐️
  • 2 replies
  • May 24, 2023

done.(5842, 5843, 5844)


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings