Is it possible to search multiple channels, with the YouTube API v3 ?
I can search a single channel successfully. Also is there a cost to search each channel and merging the data or is it better to search YouTube and filter by channel at an application level ?
Related
I am building a customized search engine with Bing API, when I get image results from Bing API, it is not responding constantly to the same query “mattress”.
It is so strange, once there are no results, at the other moment there are some results.
How can I get the constant results by the same query?
Please check this video : Screen Capture
Here is what is the difference :
I am trying to Use my Elastic search server installed in my local machine to use Postman .i.e., With the help of Postman I want to Post Data and retrieve it with a get operation but unable to do it as I am getting error unknown key [High] for create index
So please help me with the same.
If you want to add a document to your index,
your url should look something like this ( for document ID 1 ) :
PUT http://localhost:9200/test/_doc/1
A good place to start :
https://www.elastic.co/guide/en/elasticsearch/reference/current/getting-started-index.html
For indexing document in the index
PUT http://localhost:9200/my_index/_doc/1
Retrieving indexed document
GET http://localhost:9200/my_index/_doc/1
Introduction:
Elasticsearch is a distributed, RESTful search and analytics engine capable of addressing a growing number of use cases. As the heart of the Elastic Stack, it centrally stores your data for lightning fast search, fine‑tuned relevancy, and powerful analytics that scale with ease.
Kibana is a free and open user interface that lets you visualize your Elasticsearch data and navigate the Elastic Stack. Do anything from tracking query load to understanding the way requests flow through your apps.
Logstash is a free and open server-side data processing pipeline that ingests data from a multitude of sources, transforms it, and then sends it to your favorite “stash.” .
Elasticsearch exposes itself through rest API so in this case you don't have to use logstash as we are directly adding data to elastic search
How to add it directly
you can create an index and type using :
{{url}}/index/type
where index is like a table and type is like just a unique data type that we will be storing to the index. Eg {{url}/movielist/movie
https://praveendavidmathew.medium.com/visualization-using-kibana-and-elastic-search-d04b388a3032
I want to find the most active users in a workspace that are interested in a certain subject eg : Jira.
I thought of either search who is most active in a specific channel or type certain words in chats.
Should I use the api, or is there already a tool for this or just a clever query that I have missed?
I have looked into : The search message api method. But I am not sure if it is overkill to write rest client for this use-case.
I guess I am looking for a aggregation method like SQL count by , group by having etc in the Slack Search query language .
I don't think you can use the search API because you need to search for something first to use it, when you need to basically index all the content yourself.
Probably the most direct way would be to search a channel your interested in, collecting messages from (and messages to) a person, counting the whole time by their unique id.
What I have : Elastic search database for full text search purposes.
What my requirement is : In a given elasticsearch index, I need to detect some sensitive data like iban no, credit card no, passport no, social security no, address etc. and report them to the client. There will be checkboxes as input parameters. For instance, the client can select credit card no and passport no, then clicks detect button. After that, the system will start scanning index, and reports documents which include credit card no and passport no. It is aimed to have more than 200 sensitive data types, and clients will be able to make multiple selections over these types.
What I have done : I have created a C# application and used Nest library for ES queries. In order to detect each sensitive data type, I have created regular expressions and some special validation rules in my C# app which works well for manually given input string.
In my C# app, I have created a match all query with scroll api. When the user clicks detect button, my app is iterating all the source records which returns from scroll api,and for each record, the app is executing sensitive data finder codes based on client's selection.
The problem here is searching all source records in the ES index, extracting sensitive datas and preparing report as fast as possible with great amount of documents. I know ES is designed for full text search, not for scanning whole system and bringing data. However all data are in elasticsearch right now and I need to use this db to make detecting operation.
I am wondering if I can do this in a different and efficient way. Can this problem be solved with writing an elastic search plugin without a C# app? Or is there a better solution to scan the whole source data in ES index?
Thanks for suggestions.
Passport number, other sensitive information detection algorithm should run once, during indexing time, or maybe asynchronously as a separate job that will update documents with flags representing the presence of sensitive information. Based on the flag the relevant documents can be searched.
Search time analysis in this case will be very costly and should be avoided.
I have used Elastic Search High Level Client to search the elastic index and process the results. I have used the following code to do the same.
restHighLevelClient.search(searchRequest,RequestOptions.DEFAULT);
However, rest client uses "GET" to query the data. However, I want to send this as a Post request to Elastic Search. Any help on this would be highly appreciated.
After discussion (see comments), there was no need to force the High Level Rest Client to use POST instead of GET as GET is using behind the scene GET with body.