kandi background
Explore Kits

OpenSearch | Open source distributed and RESTful search engine. | Search Engine library

 by   opensearch-project Java Version: 1.3.1 License: Apache-2.0

 by   opensearch-project Java Version: 1.3.1 License: Apache-2.0

Download this library from

kandi X-RAY | OpenSearch Summary

OpenSearch is a Java library typically used in Database, Search Engine applications. OpenSearch has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has medium support. You can download it from GitHub, Maven.
🔎 Open source distributed and RESTful search engine.
Support
Support
Quality
Quality
Security
Security
License
License
Reuse
Reuse

kandi-support Support

  • OpenSearch has a medium active ecosystem.
  • It has 4846 star(s) with 545 fork(s). There are 110 watchers for this library.
  • There were 2 major release(s) in the last 6 months.
  • There are 428 open issues and 630 have been closed. On average issues are closed in 22 days. There are 35 open pull requests and 0 closed requests.
  • It has a neutral sentiment in the developer community.
  • The latest version of OpenSearch is 1.3.1
OpenSearch Support
Best in #Search Engine
Average in #Search Engine
OpenSearch Support
Best in #Search Engine
Average in #Search Engine

quality kandi Quality

  • OpenSearch has no bugs reported.
OpenSearch Quality
Best in #Search Engine
Average in #Search Engine
OpenSearch Quality
Best in #Search Engine
Average in #Search Engine

securitySecurity

  • OpenSearch has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
OpenSearch Security
Best in #Search Engine
Average in #Search Engine
OpenSearch Security
Best in #Search Engine
Average in #Search Engine

license License

  • OpenSearch is licensed under the Apache-2.0 License. This license is Permissive.
  • Permissive licenses have the least restrictions, and you can use them in most projects.
OpenSearch License
Best in #Search Engine
Average in #Search Engine
OpenSearch License
Best in #Search Engine
Average in #Search Engine

buildReuse

  • OpenSearch releases are available to install and integrate.
  • Deployable package is available in Maven.
  • Build file is available. You can build the component from source.
OpenSearch Reuse
Best in #Search Engine
Average in #Search Engine
OpenSearch Reuse
Best in #Search Engine
Average in #Search Engine
Top functions reviewed by kandi - BETA

kandi has reviewed OpenSearch and discovered the below as its top functions. This is intended to give you an instant insight into OpenSearch implemented functionality, and help decide if they suit your requirements.

  • Restores the specified snapshot from the repository .
  • Gets the legal cast .
  • Visits a dot .
  • Loads the list of allowlistlisted classes from the given resource .
  • Matches an R statement .
  • Process a new cluster info .
  • Builds the index table .
  • Adds a painless method to the class .
  • Snapshot a shard .
  • Perform recovery operation .

OpenSearch Key Features

🔎 Open source distributed and RESTful search engine.

Uncaught Type error after adding context component in react.js

copy iconCopydownload iconDownload
export default MovieContext; // default export

export const MovieProvider // named export
import MovieProvider from "../../components/helper/context/MovieContext"; // default import will import MovieContext with the variable name MovieProvider 
import MovieProvider from "../../components/helper/context/MovieContext";
import {MovieProvider} from "../../components/helper/context/MovieContext";
-----------------------
export default MovieContext; // default export

export const MovieProvider // named export
import MovieProvider from "../../components/helper/context/MovieContext"; // default import will import MovieContext with the variable name MovieProvider 
import MovieProvider from "../../components/helper/context/MovieContext";
import {MovieProvider} from "../../components/helper/context/MovieContext";
-----------------------
export default MovieContext; // default export

export const MovieProvider // named export
import MovieProvider from "../../components/helper/context/MovieContext"; // default import will import MovieContext with the variable name MovieProvider 
import MovieProvider from "../../components/helper/context/MovieContext";
import {MovieProvider} from "../../components/helper/context/MovieContext";
-----------------------
export default MovieContext; // default export

export const MovieProvider // named export
import MovieProvider from "../../components/helper/context/MovieContext"; // default import will import MovieContext with the variable name MovieProvider 
import MovieProvider from "../../components/helper/context/MovieContext";
import {MovieProvider} from "../../components/helper/context/MovieContext";

Getting mapper_parsing_exception in OpenSearch

copy iconCopydownload iconDownload
"mappings": {
    "_doc": {
        "dynamic_templates": [

How can I set compatibility mode for Amazon OpenSearch using CloudFormation?

copy iconCopydownload iconDownload
Resources:
  OpenSearchServiceDomain:
    Type: AWS::OpenSearchService::Domain
    Properties:
      DomainName: 'test'
      EngineVersion: 'OpenSearch_1.0'
      AdvancedOptions:
        override_main_response_version: true
-----------------------
resource "aws_elasticsearch_domain" "search" {
  domain_name = "search"

  advanced_options = {
    "override_main_response_version" = "true"
  }
}

If all fields for a column are null, OpenSearch does not include that field, and so sorting on that field fails

copy iconCopydownload iconDownload
PUT my-index-000001
{
  "mappings": {
    "properties": {
      "status_code": {
        "type":       "keyword",
        "null_value": "NULL" 
      }
    }
  }
}
-----------------------
{
  "sort": [
    {
      "some_missing_field": {
        "order": "asc",
        "unmapped_type" : "long"
      }
    }
  ]
}

Fluent Bit does not send logs from my EKS custom applications

copy iconCopydownload iconDownload
# before
 output-elasticsearch.conf: |
    [OUTPUT]
        Name            es
        Match           *
        Host            search-blacaz-logs-szzq6vokwwm4y5fkfwyngjwjxq.ap-southeast-1.es.amazonaws.com
        Port            443
        TLS             On
        AWS_Auth        On
        AWS_Region      ap-southeast-1
        Retry_Limit     6

# after
 output-elasticsearch.conf: |
    [OUTPUT]
        Name            es
        Match           *
        Host            search-blacaz-logs-szzq6vokwwm4y5fkfwyngjwjxq.ap-southeast-1.es.amazonaws.com
        Port            443
        TLS             On
        AWS_Auth        On
        Replace_Dots    On // added this
        AWS_Region      ap-southeast-1
        Retry_Limit     6

How to scrap data when the site kind of doesn't allow it?

copy iconCopydownload iconDownload
requests.get('https://gov.gitcoin.co/u/owocki.json').json()

requests.get('https://gov.gitcoin.co/u/owocki/summary.json').json()
{'user_badges': [{'id': 4, 'granted_at': '2021-03-15T21:55:51.766Z', 'created_at': '2021-03-15T21:55:51.766Z', 'count': 1, 'badge_id': 4, 'user_id': 1, 'granted_by_id': -1}, {'id': 7832, 'granted_at': '2022-02-08T00:12:50.573Z', 'created_at': '2022-02-08T00:12:50.573Z', 'count': 1, 'post_id': 21272, 'post_number': 1, 'badge_id': 20, 'user_id': 1, 'granted_by_id': -1, 'topic_id': 8694}, {'id': 7327, 'granted_at': '2021-12-10T15:38:35.995Z', 'created_at': '2021-12-10T15:38:35.995Z', 'count': 1, 'badge_id': 37, 'user_id': 1, 'granted_by_id': -1}], 'badges': [{'id': 4, 'name': 'Leader', 'description': '<a href="https://blog.discourse.org/2018/06/understanding-discourse-trust-levels/">Granted</a> global edit, pin, close, archive, split and merge, more likes', 'grant_count': 6, 'allow_title': True, 'multiple_grant': False, 'icon': 'fa-user', 'image_url': None, 'listable': True, 'enabled': True, 'badge_grouping_id': 4, 'system': True, 'slug': 'leader', 'manually_grantable': False, 'badge_type_id': 1}, {'id': 20, 'name': 'Great Topic', 'description': 'Received 50 likes on a topic', 'grant_count': 13, 'allow_title': False, 'multiple_grant': True, 'icon': 'fa-certificate', 'image_url': None, 'listable': True, 'enabled': True, 'badge_grouping_id': 3, 'system': True, 'slug': 'great-topic', 'manually_grantable': False, 'badge_type_id': 1}, {'id': 37, 'name': 'Respected', 'description': 'Received 2 likes on 100 posts', 'grant_count': 1, 'allow_title': False, 'multiple_grant': False, 'icon': 'fa-heart', 'image_url': None, 'listable': True, 'enabled': True, 'badge_grouping_id': 2, 'system': True, 'slug': 'respected', 'manually_grantable': False, 'badge_type_id': 2}], 'badge_types': [{'id': 1, 'name': 'Gold', 'sort_order': 9}, {'id': 2, 'name': 'Silver', 'sort_order': 8}], 'users': [{'id': 1, 'username': 'owocki', 'name': 'Owocki', 'avatar_template': '/user_avatar/gov.gitcoin.co/owocki/{size}/3597_2.png', 'flair_name': None, 'admin': True, 'trust_level': 4}, {'id': -1, 'username': 'system', 'name': 'system', 'avatar_template': 'https://aws1.discourse-cdn.com/standard11/uploads/gitcoin1/original/1X/d6503c3e8f849859f29987d8816cd515c34b04f0.png', 'flair_name': None, 'admin': True, 'moderator': True, 'trust_level': 4}], 'topics': [{'id': 8694, 'title': 'TLDR - What is Gitcoin? 🤖 [Updated Feb 2022]', 'fancy_title': 'TLDR - What is Gitcoin? :robot: [Updated Feb 2022]', 'slug': 'tldr-what-is-gitcoin-updated-feb-2022', 'posts_count': 7}], 'user': {'id': 1, 'username': 'owocki', 'name': 'Owocki', 'avatar_template': '/user_avatar/gov.gitcoin.co/owocki/{size}/3597_2.png', 'last_posted_at': '2022-02-14T14:20:48.874Z', 'last_seen_at': '2022-02-19T02:31:38.067Z', 'created_at': '2021-03-15T21:55:10.808Z', 'ignored': False, 'muted': False, 'can_ignore_user': False, 'can_mute_user': False, 'can_send_private_messages': False, 'can_send_private_message_to_user': False, 'trust_level': 4, 'moderator': False, 'admin': True, 'title': '', 'badge_count': 27, 'custom_fields': {}, 'time_read': 71929, 'recent_time_read': 25520, 'primary_group_id': None, 'primary_group_name': None, 'flair_group_id': None, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'featured_topic': None, 'bio_excerpt': 'i spin bits for fun &amp; profit; watch out for my megabyte.', 'website': 'http://gitcoin.co', 'website_name': 'gitcoin.co', 'location': 'Boulder, CO', 'bio_raw': 'i spin bits for fun & profit; watch out for my megabyte.', 'bio_cooked': '<p>i spin bits for fun &amp; profit; watch out for my megabyte.</p>', 'can_edit': False, 'can_edit_username': False, 'can_edit_email': False, 'can_edit_name': False, 'uploaded_avatar_id': 3597, 'pending_count': 0, 'profile_view_count': 1192, 'can_upload_profile_header': False, 'can_upload_user_card_background': False, 'custom_avatar_upload_id': 3597, 'custom_avatar_template': '/user_avatar/gov.gitcoin.co/owocki/{size}/3597_2.png', 'user_notification_schedule': {'enabled': False, 'day_0_start_time': 480, 'day_0_end_time': 1020, 'day_1_start_time': 480, 'day_1_end_time': 1020, 'day_2_start_time': 480, 'day_2_end_time': 1020, 'day_3_start_time': 480, 'day_3_end_time': 1020, 'day_4_start_time': 480, 'day_4_end_time': 1020, 'day_5_start_time': 480, 'day_5_end_time': 1020, 'day_6_start_time': 480, 'day_6_end_time': 1020}, 'accepted_answers': 0, 'featured_user_badge_ids': [4, 7832, 7327], 'invited_by': None, 'groups': []}}
{'topics': [{'id': 8383, 'title': 'Proposal to adjust Code of Conduct WRT Airdrops', 'fancy_title': 'Proposal to adjust Code of Conduct WRT Airdrops', 'slug': 'proposal-to-adjust-code-of-conduct-wrt-airdrops', 'posts_count': 36, 'category_id': 6, 'like_count': 147, 'created_at': '2021-08-25T17:48:20.856Z', 'has_accepted_answer': False}, {'id': 9503, 'title': 'A Vision for A Pluralistic Civilizational Scale Infrastructure for funding Public Goods', 'fancy_title': 'A Vision for A Pluralistic Civilizational Scale Infrastructure for funding Public Goods', 'slug': 'a-vision-for-a-pluralistic-civilizational-scale-infrastructure-for-funding-public-goods', 'posts_count': 22, 'category_id': 6, 'like_count': 80, 'created_at': '2021-12-24T16:45:12.082Z', 'has_accepted_answer': False}, {'id': 8694, 'title': 'TLDR - What is Gitcoin? 🤖 [Updated Feb 2022]', 'fancy_title': 'TLDR - What is Gitcoin? :robot: [Updated Feb 2022]', 'slug': 'tldr-what-is-gitcoin-updated-feb-2022', 'posts_count': 7, 'category_id': 6, 'like_count': 72, 'created_at': '2021-09-27T16:54:37.143Z', 'has_accepted_answer': False}, {'id': 8902, 'title': 'Calling all GitcoinDAO Metaverse Coordinators!', 'fancy_title': 'Calling all GitcoinDAO Metaverse Coordinators!', 'slug': 'calling-all-gitcoindao-metaverse-coordinators', 'posts_count': 14, 'category_id': 9, 'like_count': 71, 'created_at': '2021-10-28T23:00:54.169Z', 'has_accepted_answer': False}, {'id': 8497, 'title': 'What are the KPIs that GitcoinDAO Optimizes for?', 'fancy_title': 'What are the KPIs that GitcoinDAO Optimizes for?', 'slug': 'what-are-the-kpis-that-gitcoindao-optimizes-for', 'posts_count': 13, 'category_id': 6, 'like_count': 66, 'created_at': '2021-09-06T17:06:57.566Z', 'has_accepted_answer': False}, {'id': 8200, 'title': 'The Gitcoin/GitcoinDAO Egregore is Emerging', 'fancy_title': 'The Gitcoin/GitcoinDAO Egregore is Emerging', 'slug': 'the-gitcoin-gitcoindao-egregore-is-emerging', 'posts_count': 10, 'category_id': 6, 'like_count': 65, 'created_at': '2021-08-10T17:20:45.933Z', 'has_accepted_answer': False}, {'id': 9613, 'title': '2022 Roadmap & 2022 Goals', 'fancy_title': '2022 Roadmap &amp; 2022 Goals', 'slug': '2022-roadmap-2022-goals', 'posts_count': 19, 'category_id': 6, 'like_count': 46, 'created_at': '2022-01-03T16:43:05.418Z', 'has_accepted_answer': False}, {'id': 8425, 'title': 'How Do You Create A Ban on Airdrops?', 'fancy_title': 'How Do You Create A Ban on Airdrops?', 'slug': 'how-do-you-create-a-ban-on-airdrops', 'posts_count': 12, 'category_id': 6, 'like_count': 54, 'created_at': '2021-08-29T05:58:55.365Z', 'has_accepted_answer': False}, {'id': 7388, 'title': '[Proposal] Second Claim Window for $GTC', 'fancy_title': '[Proposal] Second Claim Window for $GTC', 'slug': 'proposal-second-claim-window-for-gtc', 'posts_count': 71, 'category_id': 5, 'like_count': 237, 'created_at': '2021-06-26T18:09:47.850Z', 'has_accepted_answer': False}, {'id': 7506, 'title': 'Establishing a New Process for Identify Verification Scoring (and removing troubled ID methods)', 'fancy_title': 'Establishing a New Process for Identify Verification Scoring (and removing troubled ID methods)', 'slug': 'establishing-a-new-process-for-identify-verification-scoring-and-removing-troubled-id-methods', 'posts_count': 17, 'category_id': 5, 'like_count': 47, 'created_at': '2021-06-29T17:03:02.910Z', 'has_accepted_answer': False}, {'id': 6372, 'title': '[Proposal] GR10 Matching Pool: Use Gitcoin to build GitcoinDAO', 'fancy_title': '[Proposal] GR10 Matching Pool: Use Gitcoin to build GitcoinDAO', 'slug': 'proposal-gr10-matching-pool-use-gitcoin-to-build-gitcoindao', 'posts_count': 26, 'category_id': 5, 'like_count': 111, 'created_at': '2021-06-14T21:32:52.025Z', 'has_accepted_answer': False}, {'id': 9046, 'title': 'Schelling Point Event at ETHDenver 2/17/2022 [REQUEST FOR COORDINATION]', 'fancy_title': 'Schelling Point Event at ETHDenver 2/17/2022 [REQUEST FOR COORDINATION]', 'slug': 'schelling-point-event-at-ethdenver-2-17-2022-request-for-coordination', 'posts_count': 6, 'category_id': 9, 'like_count': 20, 'created_at': '2021-11-16T03:32:07.901Z', 'has_accepted_answer': False}], 'badges': [{'id': 4, 'name': 'Leader', 'description': '<a href="https://blog.discourse.org/2018/06/understanding-discourse-trust-levels/">Granted</a> global edit, pin, close, archive, split and merge, more likes', 'grant_count': 6, 'allow_title': True, 'multiple_grant': False, 'icon': 'fa-user', 'image_url': None, 'listable': True, 'enabled': True, 'badge_grouping_id': 4, 'system': True, 'slug': 'leader', 'manually_grantable': False, 'badge_type_id': 1}, {'id': 20, 'name': 'Great Topic', 'description': 'Received 50 likes on a topic', 'grant_count': 13, 'allow_title': False, 'multiple_grant': True, 'icon': 'fa-certificate', 'image_url': None, 'listable': True, 'enabled': True, 'badge_grouping_id': 3, 'system': True, 'slug': 'great-topic', 'manually_grantable': False, 'badge_type_id': 1}, {'id': 37, 'name': 'Respected', 'description': 'Received 2 likes on 100 posts', 'grant_count': 1, 'allow_title': False, 'multiple_grant': False, 'icon': 'fa-heart', 'image_url': None, 'listable': True, 'enabled': True, 'badge_grouping_id': 2, 'system': True, 'slug': 'respected', 'manually_grantable': False, 'badge_type_id': 2}, {'id': 26, 'name': 'Campaigner', 'description': 'Invited 3 basic users', 'grant_count': 1, 'allow_title': False, 'multiple_grant': False, 'icon': 'fa-user-plus', 'image_url': None, 'listable': True, 'enabled': True, 'badge_grouping_id': 2, 'system': True, 'slug': 'campaigner', 'manually_grantable': False, 'badge_type_id': 2}, {'id': 19, 'name': 'Good Topic', 'description': 'Received 25 likes on a topic', 'grant_count': 26, 'allow_title': False, 'multiple_grant': True, 'icon': 'fa-certificate', 'image_url': None, 'listable': True, 'enabled': True, 'badge_grouping_id': 3, 'system': True, 'slug': 'good-topic', 'manually_grantable': False, 'badge_type_id': 2}, {'id': 25, 'name': 'Promoter', 'description': 'Invited a user', 'grant_count': 3, 'allow_title': False, 'multiple_grant': False, 'icon': 'fa-user-plus', 'image_url': None, 'listable': True, 'enabled': True, 'badge_grouping_id': 2, 'system': True, 'slug': 'promoter', 'manually_grantable': False, 'badge_type_id': 3}], 'badge_types': [{'id': 1, 'name': 'Gold', 'sort_order': 9}, {'id': 2, 'name': 'Silver', 'sort_order': 8}, {'id': 3, 'name': 'Bronze', 'sort_order': 7}], 'users': [{'id': 1, 'username': 'owocki', 'name': 'Owocki', 'avatar_template': '/user_avatar/gov.gitcoin.co/owocki/{size}/3597_2.png', 'flair_name': None, 'admin': True, 'trust_level': 4}, {'id': -1, 'username': 'system', 'name': 'system', 'avatar_template': 'https://aws1.discourse-cdn.com/standard11/uploads/gitcoin1/original/1X/d6503c3e8f849859f29987d8816cd515c34b04f0.png', 'flair_name': None, 'admin': True, 'moderator': True, 'trust_level': 4}], 'user_summary': {'likes_given': 24, 'likes_received': 1036, 'topics_entered': 240, 'posts_read_count': 1555, 'days_visited': 216, 'topic_count': 66, 'post_count': 129, 'time_read': 71929, 'recent_time_read': 25520, 'can_see_summary_stats': True, 'solved_count': 0, 'topic_ids': [8383, 9503, 8694, 8902, 8497, 8200], 'replies': [{'post_number': 16, 'like_count': 12, 'created_at': '2021-08-26T18:41:25.210Z', 'topic_id': 8383}, {'post_number': 3, 'like_count': 10, 'created_at': '2022-01-03T16:49:50.145Z', 'topic_id': 9613}, {'post_number': 2, 'like_count': 10, 'created_at': '2021-08-29T13:41:42.503Z', 'topic_id': 8425}, {'post_number': 18, 'like_count': 10, 'created_at': '2021-06-28T01:53:13.183Z', 'topic_id': 7388}, {'post_number': 2, 'like_count': 9, 'created_at': '2021-06-29T17:45:32.686Z', 'topic_id': 7506}, {'post_number': 21, 'like_count': 9, 'created_at': '2021-06-18T19:32:54.151Z', 'topic_id': 6372}], 'links': [{'url': 'https://gitcoin.co/earn', 'title': 'Earn | Gitcoin', 'clicks': 105, 'post_number': 1, 'topic_id': 8694}, {'url': 'https://gitcoin.co/mission', 'title': 'Gitcoin - Support open web development. | Gitcoin', 'clicks': 90, 'post_number': 1, 'topic_id': 8694}, {'url': 'https://schellingpoint.gitcoin.co/', 'title': 'SCHELLING P0INT | 2/17/2022 @ SportsCastle in Denver CO USA', 'clicks': 86, 'post_number': 1, 'topic_id': 9046}, {'url': 'https://t.me/joinchat/DRkmhTiIH6E0MjYx', 'title': 'Telegram: Join Group Chat', 'clicks': 72, 'post_number': 1, 'topic_id': 8902}, {'url': 'https://gitcoin.co/discord', 'title': 'Gitcoin', 'clicks': 57, 'post_number': 1, 'topic_id': 8694}, {'url': 'https://gitcoin.co/learn', 'title': 'Learn | Gitcoin', 'clicks': 56, 'post_number': 1, 'topic_id': 8694}], 'most_liked_by_users': [{'id': 2044, 'username': 'Sirlupinwatson', 'name': 'Armand Brunelle', 'count': 104, 'avatar_template': '/user_avatar/gov.gitcoin.co/sirlupinwatson/{size}/549_2.png', 'admin': False, 'moderator': False, 'trust_level': 3, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 5974, 'username': 'BrianMillsJr', 'name': 'BrianMillsJr.eth', 'count': 36, 'avatar_template': '/user_avatar/gov.gitcoin.co/brianmillsjr/{size}/4581_2.png', 'admin': False, 'moderator': False, 'trust_level': 1, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 95, 'username': 'Fred', 'name': 'Fred', 'count': 28, 'avatar_template': '/user_avatar/gov.gitcoin.co/fred/{size}/3799_2.png', 'admin': False, 'moderator': True, 'trust_level': 3, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 5441, 'username': 'Huxwell', 'name': 'Cali', 'count': 19, 'avatar_template': '/user_avatar/gov.gitcoin.co/huxwell/{size}/3808_2.png', 'admin': False, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 5463, 'username': 'lee0007', 'name': 'Renee Lee', 'count': 18, 'avatar_template': '/user_avatar/gov.gitcoin.co/lee0007/{size}/3839_2.png', 'admin': False, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 2203, 'username': 'ntquang22298', 'name': 'Quang Nguyen', 'count': 15, 'avatar_template': '/user_avatar/gov.gitcoin.co/ntquang22298/{size}/2027_2.png', 'admin': False, 'moderator': False, 'trust_level': 1, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}], 'most_liked_users': [{'id': 17, 'username': 'Pop', 'name': 'Simona Pop', 'count': 3, 'avatar_template': '/user_avatar/gov.gitcoin.co/pop/{size}/270_2.png', 'admin': False, 'moderator': False, 'trust_level': 4, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 14, 'username': 'ceresstation', 'name': 'Scott', 'count': 3, 'avatar_template': '/user_avatar/gov.gitcoin.co/ceresstation/{size}/13_2.png', 'admin': True, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 5441, 'username': 'Huxwell', 'name': 'Cali', 'count': 2, 'avatar_template': '/user_avatar/gov.gitcoin.co/huxwell/{size}/3808_2.png', 'admin': False, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 15, 'username': 'Anett', 'name': 'Anett Rolikova', 'count': 1, 'avatar_template': '/user_avatar/gov.gitcoin.co/anett/{size}/425_2.png', 'admin': False, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 86, 'username': 'griff', 'name': 'Griff Green', 'count': 1, 'avatar_template': '/user_avatar/gov.gitcoin.co/griff/{size}/82_2.png', 'admin': False, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 25, 'username': 'trent', 'name': '', 'count': 1, 'avatar_template': '/user_avatar/gov.gitcoin.co/trent/{size}/32_2.png', 'admin': False, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}], 'most_replied_to_users': [{'id': 5303, 'username': 'Developer-piyush', 'name': 'PIYUSH CHOUDHARY', 'count': 4, 'avatar_template': '/user_avatar/gov.gitcoin.co/developer-piyush/{size}/3571_2.png', 'admin': False, 'moderator': False, 'trust_level': 1, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 5441, 'username': 'Huxwell', 'name': 'Cali', 'count': 4, 'avatar_template': '/user_avatar/gov.gitcoin.co/huxwell/{size}/3808_2.png', 'admin': False, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 66, 'username': 'auryn', 'name': 'auryn-macmillan', 'count': 3, 'avatar_template': '/user_avatar/gov.gitcoin.co/auryn/{size}/66_2.png', 'admin': False, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 3, 'username': 'kyle', 'name': 'kyle', 'count': 3, 'avatar_template': '/user_avatar/gov.gitcoin.co/kyle/{size}/3892_2.png', 'admin': True, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 5353, 'username': 'captnseagraves', 'name': 'Kevin Seagraves', 'count': 3, 'avatar_template': '/user_avatar/gov.gitcoin.co/captnseagraves/{size}/3656_2.png', 'admin': False, 'moderator': False, 'trust_level': 1, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 14, 'username': 'ceresstation', 'name': 'Scott', 'count': 2, 'avatar_template': '/user_avatar/gov.gitcoin.co/ceresstation/{size}/13_2.png', 'admin': True, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}], 'badges': [{'id': 4, 'granted_at': '2021-03-15T21:55:51.766Z', 'created_at': '2021-03-15T21:55:51.766Z', 'count': 1, 'badge_id': 4, 'user_id': 1, 'granted_by_id': -1}, {'id': 7832, 'granted_at': '2022-02-08T00:12:50.573Z', 'created_at': '2022-02-08T00:12:50.573Z', 'count': 1, 'post_id': 21272, 'post_number': 1, 'badge_id': 20, 'user_id': 1, 'granted_by_id': -1, 'topic_id': 8694}, {'id': 7327, 'granted_at': '2021-12-10T15:38:35.995Z', 'created_at': '2021-12-10T15:38:35.995Z', 'count': 1, 'badge_id': 37, 'user_id': 1, 'granted_by_id': -1}, {'id': 15, 'granted_at': '2021-03-16T23:43:02.686Z', 'created_at': '2021-03-16T23:43:02.686Z', 'count': 1, 'badge_id': 26, 'user_id': 1, 'granted_by_id': -1}, {'id': 7068, 'granted_at': '2021-11-15T20:00:11.215Z', 'created_at': '2021-11-15T20:00:11.215Z', 'count': 3, 'post_id': 21272, 'post_number': 1, 'badge_id': 19, 'user_id': 1, 'granted_by_id': -1, 'topic_id': 8694}, {'id': 14, 'granted_at': '2021-03-16T23:43:02.646Z', 'created_at': '2021-03-16T23:43:02.646Z', 'count': 1, 'badge_id': 25, 'user_id': 1, 'granted_by_id': -1}], 'top_categories': [{'topic_count': 31, 'post_count': 40, 'id': 6, 'name': '🤖 Meta-Governance', 'color': '652D90', 'text_color': 'FFFFFF', 'slug': 'governance-meta', 'read_restricted': False, 'parent_category_id': None}, {'topic_count': 6, 'post_count': 42, 'id': 5, 'name': '📜 Proposal Discussion', 'color': '0E76BD', 'text_color': 'FFFFFF', 'slug': 'governance-proposals', 'read_restricted': False, 'parent_category_id': None}, {'topic_count': 13, 'post_count': 14, 'id': 9, 'name': '🧙 🧙\u200d♀️ Workstream Discussion', 'color': '12A89D', 'text_color': 'FFFFFF', 'slug': 'workstream-discussion', 'read_restricted': False, 'parent_category_id': None}, {'topic_count': 8, 'post_count': 10, 'id': 8, 'name': '👋 Community Hangout', 'color': '3AB54A', 'text_color': 'FFFFFF', 'slug': 'community-hangout', 'read_restricted': False, 'parent_category_id': None}, {'topic_count': 7, 'post_count': 11, 'id': 12, 'name': 'Progressive Decentralization (Technical)', 'color': '808281', 'text_color': 'FFFFFF', 'slug': 'progressive-decentralization-technical', 'read_restricted': False, 'parent_category_id': 9}, {'topic_count': 1, 'post_count': 8, 'id': 13, 'name': 'Public Goods Funding', 'color': '9EB83B', 'text_color': 'FFFFFF', 'slug': 'public-goods-funding', 'read_restricted': False, 'parent_category_id': 9}]}}
-----------------------
requests.get('https://gov.gitcoin.co/u/owocki.json').json()

requests.get('https://gov.gitcoin.co/u/owocki/summary.json').json()
{'user_badges': [{'id': 4, 'granted_at': '2021-03-15T21:55:51.766Z', 'created_at': '2021-03-15T21:55:51.766Z', 'count': 1, 'badge_id': 4, 'user_id': 1, 'granted_by_id': -1}, {'id': 7832, 'granted_at': '2022-02-08T00:12:50.573Z', 'created_at': '2022-02-08T00:12:50.573Z', 'count': 1, 'post_id': 21272, 'post_number': 1, 'badge_id': 20, 'user_id': 1, 'granted_by_id': -1, 'topic_id': 8694}, {'id': 7327, 'granted_at': '2021-12-10T15:38:35.995Z', 'created_at': '2021-12-10T15:38:35.995Z', 'count': 1, 'badge_id': 37, 'user_id': 1, 'granted_by_id': -1}], 'badges': [{'id': 4, 'name': 'Leader', 'description': '<a href="https://blog.discourse.org/2018/06/understanding-discourse-trust-levels/">Granted</a> global edit, pin, close, archive, split and merge, more likes', 'grant_count': 6, 'allow_title': True, 'multiple_grant': False, 'icon': 'fa-user', 'image_url': None, 'listable': True, 'enabled': True, 'badge_grouping_id': 4, 'system': True, 'slug': 'leader', 'manually_grantable': False, 'badge_type_id': 1}, {'id': 20, 'name': 'Great Topic', 'description': 'Received 50 likes on a topic', 'grant_count': 13, 'allow_title': False, 'multiple_grant': True, 'icon': 'fa-certificate', 'image_url': None, 'listable': True, 'enabled': True, 'badge_grouping_id': 3, 'system': True, 'slug': 'great-topic', 'manually_grantable': False, 'badge_type_id': 1}, {'id': 37, 'name': 'Respected', 'description': 'Received 2 likes on 100 posts', 'grant_count': 1, 'allow_title': False, 'multiple_grant': False, 'icon': 'fa-heart', 'image_url': None, 'listable': True, 'enabled': True, 'badge_grouping_id': 2, 'system': True, 'slug': 'respected', 'manually_grantable': False, 'badge_type_id': 2}], 'badge_types': [{'id': 1, 'name': 'Gold', 'sort_order': 9}, {'id': 2, 'name': 'Silver', 'sort_order': 8}], 'users': [{'id': 1, 'username': 'owocki', 'name': 'Owocki', 'avatar_template': '/user_avatar/gov.gitcoin.co/owocki/{size}/3597_2.png', 'flair_name': None, 'admin': True, 'trust_level': 4}, {'id': -1, 'username': 'system', 'name': 'system', 'avatar_template': 'https://aws1.discourse-cdn.com/standard11/uploads/gitcoin1/original/1X/d6503c3e8f849859f29987d8816cd515c34b04f0.png', 'flair_name': None, 'admin': True, 'moderator': True, 'trust_level': 4}], 'topics': [{'id': 8694, 'title': 'TLDR - What is Gitcoin? 🤖 [Updated Feb 2022]', 'fancy_title': 'TLDR - What is Gitcoin? :robot: [Updated Feb 2022]', 'slug': 'tldr-what-is-gitcoin-updated-feb-2022', 'posts_count': 7}], 'user': {'id': 1, 'username': 'owocki', 'name': 'Owocki', 'avatar_template': '/user_avatar/gov.gitcoin.co/owocki/{size}/3597_2.png', 'last_posted_at': '2022-02-14T14:20:48.874Z', 'last_seen_at': '2022-02-19T02:31:38.067Z', 'created_at': '2021-03-15T21:55:10.808Z', 'ignored': False, 'muted': False, 'can_ignore_user': False, 'can_mute_user': False, 'can_send_private_messages': False, 'can_send_private_message_to_user': False, 'trust_level': 4, 'moderator': False, 'admin': True, 'title': '', 'badge_count': 27, 'custom_fields': {}, 'time_read': 71929, 'recent_time_read': 25520, 'primary_group_id': None, 'primary_group_name': None, 'flair_group_id': None, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'featured_topic': None, 'bio_excerpt': 'i spin bits for fun &amp; profit; watch out for my megabyte.', 'website': 'http://gitcoin.co', 'website_name': 'gitcoin.co', 'location': 'Boulder, CO', 'bio_raw': 'i spin bits for fun & profit; watch out for my megabyte.', 'bio_cooked': '<p>i spin bits for fun &amp; profit; watch out for my megabyte.</p>', 'can_edit': False, 'can_edit_username': False, 'can_edit_email': False, 'can_edit_name': False, 'uploaded_avatar_id': 3597, 'pending_count': 0, 'profile_view_count': 1192, 'can_upload_profile_header': False, 'can_upload_user_card_background': False, 'custom_avatar_upload_id': 3597, 'custom_avatar_template': '/user_avatar/gov.gitcoin.co/owocki/{size}/3597_2.png', 'user_notification_schedule': {'enabled': False, 'day_0_start_time': 480, 'day_0_end_time': 1020, 'day_1_start_time': 480, 'day_1_end_time': 1020, 'day_2_start_time': 480, 'day_2_end_time': 1020, 'day_3_start_time': 480, 'day_3_end_time': 1020, 'day_4_start_time': 480, 'day_4_end_time': 1020, 'day_5_start_time': 480, 'day_5_end_time': 1020, 'day_6_start_time': 480, 'day_6_end_time': 1020}, 'accepted_answers': 0, 'featured_user_badge_ids': [4, 7832, 7327], 'invited_by': None, 'groups': []}}
{'topics': [{'id': 8383, 'title': 'Proposal to adjust Code of Conduct WRT Airdrops', 'fancy_title': 'Proposal to adjust Code of Conduct WRT Airdrops', 'slug': 'proposal-to-adjust-code-of-conduct-wrt-airdrops', 'posts_count': 36, 'category_id': 6, 'like_count': 147, 'created_at': '2021-08-25T17:48:20.856Z', 'has_accepted_answer': False}, {'id': 9503, 'title': 'A Vision for A Pluralistic Civilizational Scale Infrastructure for funding Public Goods', 'fancy_title': 'A Vision for A Pluralistic Civilizational Scale Infrastructure for funding Public Goods', 'slug': 'a-vision-for-a-pluralistic-civilizational-scale-infrastructure-for-funding-public-goods', 'posts_count': 22, 'category_id': 6, 'like_count': 80, 'created_at': '2021-12-24T16:45:12.082Z', 'has_accepted_answer': False}, {'id': 8694, 'title': 'TLDR - What is Gitcoin? 🤖 [Updated Feb 2022]', 'fancy_title': 'TLDR - What is Gitcoin? :robot: [Updated Feb 2022]', 'slug': 'tldr-what-is-gitcoin-updated-feb-2022', 'posts_count': 7, 'category_id': 6, 'like_count': 72, 'created_at': '2021-09-27T16:54:37.143Z', 'has_accepted_answer': False}, {'id': 8902, 'title': 'Calling all GitcoinDAO Metaverse Coordinators!', 'fancy_title': 'Calling all GitcoinDAO Metaverse Coordinators!', 'slug': 'calling-all-gitcoindao-metaverse-coordinators', 'posts_count': 14, 'category_id': 9, 'like_count': 71, 'created_at': '2021-10-28T23:00:54.169Z', 'has_accepted_answer': False}, {'id': 8497, 'title': 'What are the KPIs that GitcoinDAO Optimizes for?', 'fancy_title': 'What are the KPIs that GitcoinDAO Optimizes for?', 'slug': 'what-are-the-kpis-that-gitcoindao-optimizes-for', 'posts_count': 13, 'category_id': 6, 'like_count': 66, 'created_at': '2021-09-06T17:06:57.566Z', 'has_accepted_answer': False}, {'id': 8200, 'title': 'The Gitcoin/GitcoinDAO Egregore is Emerging', 'fancy_title': 'The Gitcoin/GitcoinDAO Egregore is Emerging', 'slug': 'the-gitcoin-gitcoindao-egregore-is-emerging', 'posts_count': 10, 'category_id': 6, 'like_count': 65, 'created_at': '2021-08-10T17:20:45.933Z', 'has_accepted_answer': False}, {'id': 9613, 'title': '2022 Roadmap & 2022 Goals', 'fancy_title': '2022 Roadmap &amp; 2022 Goals', 'slug': '2022-roadmap-2022-goals', 'posts_count': 19, 'category_id': 6, 'like_count': 46, 'created_at': '2022-01-03T16:43:05.418Z', 'has_accepted_answer': False}, {'id': 8425, 'title': 'How Do You Create A Ban on Airdrops?', 'fancy_title': 'How Do You Create A Ban on Airdrops?', 'slug': 'how-do-you-create-a-ban-on-airdrops', 'posts_count': 12, 'category_id': 6, 'like_count': 54, 'created_at': '2021-08-29T05:58:55.365Z', 'has_accepted_answer': False}, {'id': 7388, 'title': '[Proposal] Second Claim Window for $GTC', 'fancy_title': '[Proposal] Second Claim Window for $GTC', 'slug': 'proposal-second-claim-window-for-gtc', 'posts_count': 71, 'category_id': 5, 'like_count': 237, 'created_at': '2021-06-26T18:09:47.850Z', 'has_accepted_answer': False}, {'id': 7506, 'title': 'Establishing a New Process for Identify Verification Scoring (and removing troubled ID methods)', 'fancy_title': 'Establishing a New Process for Identify Verification Scoring (and removing troubled ID methods)', 'slug': 'establishing-a-new-process-for-identify-verification-scoring-and-removing-troubled-id-methods', 'posts_count': 17, 'category_id': 5, 'like_count': 47, 'created_at': '2021-06-29T17:03:02.910Z', 'has_accepted_answer': False}, {'id': 6372, 'title': '[Proposal] GR10 Matching Pool: Use Gitcoin to build GitcoinDAO', 'fancy_title': '[Proposal] GR10 Matching Pool: Use Gitcoin to build GitcoinDAO', 'slug': 'proposal-gr10-matching-pool-use-gitcoin-to-build-gitcoindao', 'posts_count': 26, 'category_id': 5, 'like_count': 111, 'created_at': '2021-06-14T21:32:52.025Z', 'has_accepted_answer': False}, {'id': 9046, 'title': 'Schelling Point Event at ETHDenver 2/17/2022 [REQUEST FOR COORDINATION]', 'fancy_title': 'Schelling Point Event at ETHDenver 2/17/2022 [REQUEST FOR COORDINATION]', 'slug': 'schelling-point-event-at-ethdenver-2-17-2022-request-for-coordination', 'posts_count': 6, 'category_id': 9, 'like_count': 20, 'created_at': '2021-11-16T03:32:07.901Z', 'has_accepted_answer': False}], 'badges': [{'id': 4, 'name': 'Leader', 'description': '<a href="https://blog.discourse.org/2018/06/understanding-discourse-trust-levels/">Granted</a> global edit, pin, close, archive, split and merge, more likes', 'grant_count': 6, 'allow_title': True, 'multiple_grant': False, 'icon': 'fa-user', 'image_url': None, 'listable': True, 'enabled': True, 'badge_grouping_id': 4, 'system': True, 'slug': 'leader', 'manually_grantable': False, 'badge_type_id': 1}, {'id': 20, 'name': 'Great Topic', 'description': 'Received 50 likes on a topic', 'grant_count': 13, 'allow_title': False, 'multiple_grant': True, 'icon': 'fa-certificate', 'image_url': None, 'listable': True, 'enabled': True, 'badge_grouping_id': 3, 'system': True, 'slug': 'great-topic', 'manually_grantable': False, 'badge_type_id': 1}, {'id': 37, 'name': 'Respected', 'description': 'Received 2 likes on 100 posts', 'grant_count': 1, 'allow_title': False, 'multiple_grant': False, 'icon': 'fa-heart', 'image_url': None, 'listable': True, 'enabled': True, 'badge_grouping_id': 2, 'system': True, 'slug': 'respected', 'manually_grantable': False, 'badge_type_id': 2}, {'id': 26, 'name': 'Campaigner', 'description': 'Invited 3 basic users', 'grant_count': 1, 'allow_title': False, 'multiple_grant': False, 'icon': 'fa-user-plus', 'image_url': None, 'listable': True, 'enabled': True, 'badge_grouping_id': 2, 'system': True, 'slug': 'campaigner', 'manually_grantable': False, 'badge_type_id': 2}, {'id': 19, 'name': 'Good Topic', 'description': 'Received 25 likes on a topic', 'grant_count': 26, 'allow_title': False, 'multiple_grant': True, 'icon': 'fa-certificate', 'image_url': None, 'listable': True, 'enabled': True, 'badge_grouping_id': 3, 'system': True, 'slug': 'good-topic', 'manually_grantable': False, 'badge_type_id': 2}, {'id': 25, 'name': 'Promoter', 'description': 'Invited a user', 'grant_count': 3, 'allow_title': False, 'multiple_grant': False, 'icon': 'fa-user-plus', 'image_url': None, 'listable': True, 'enabled': True, 'badge_grouping_id': 2, 'system': True, 'slug': 'promoter', 'manually_grantable': False, 'badge_type_id': 3}], 'badge_types': [{'id': 1, 'name': 'Gold', 'sort_order': 9}, {'id': 2, 'name': 'Silver', 'sort_order': 8}, {'id': 3, 'name': 'Bronze', 'sort_order': 7}], 'users': [{'id': 1, 'username': 'owocki', 'name': 'Owocki', 'avatar_template': '/user_avatar/gov.gitcoin.co/owocki/{size}/3597_2.png', 'flair_name': None, 'admin': True, 'trust_level': 4}, {'id': -1, 'username': 'system', 'name': 'system', 'avatar_template': 'https://aws1.discourse-cdn.com/standard11/uploads/gitcoin1/original/1X/d6503c3e8f849859f29987d8816cd515c34b04f0.png', 'flair_name': None, 'admin': True, 'moderator': True, 'trust_level': 4}], 'user_summary': {'likes_given': 24, 'likes_received': 1036, 'topics_entered': 240, 'posts_read_count': 1555, 'days_visited': 216, 'topic_count': 66, 'post_count': 129, 'time_read': 71929, 'recent_time_read': 25520, 'can_see_summary_stats': True, 'solved_count': 0, 'topic_ids': [8383, 9503, 8694, 8902, 8497, 8200], 'replies': [{'post_number': 16, 'like_count': 12, 'created_at': '2021-08-26T18:41:25.210Z', 'topic_id': 8383}, {'post_number': 3, 'like_count': 10, 'created_at': '2022-01-03T16:49:50.145Z', 'topic_id': 9613}, {'post_number': 2, 'like_count': 10, 'created_at': '2021-08-29T13:41:42.503Z', 'topic_id': 8425}, {'post_number': 18, 'like_count': 10, 'created_at': '2021-06-28T01:53:13.183Z', 'topic_id': 7388}, {'post_number': 2, 'like_count': 9, 'created_at': '2021-06-29T17:45:32.686Z', 'topic_id': 7506}, {'post_number': 21, 'like_count': 9, 'created_at': '2021-06-18T19:32:54.151Z', 'topic_id': 6372}], 'links': [{'url': 'https://gitcoin.co/earn', 'title': 'Earn | Gitcoin', 'clicks': 105, 'post_number': 1, 'topic_id': 8694}, {'url': 'https://gitcoin.co/mission', 'title': 'Gitcoin - Support open web development. | Gitcoin', 'clicks': 90, 'post_number': 1, 'topic_id': 8694}, {'url': 'https://schellingpoint.gitcoin.co/', 'title': 'SCHELLING P0INT | 2/17/2022 @ SportsCastle in Denver CO USA', 'clicks': 86, 'post_number': 1, 'topic_id': 9046}, {'url': 'https://t.me/joinchat/DRkmhTiIH6E0MjYx', 'title': 'Telegram: Join Group Chat', 'clicks': 72, 'post_number': 1, 'topic_id': 8902}, {'url': 'https://gitcoin.co/discord', 'title': 'Gitcoin', 'clicks': 57, 'post_number': 1, 'topic_id': 8694}, {'url': 'https://gitcoin.co/learn', 'title': 'Learn | Gitcoin', 'clicks': 56, 'post_number': 1, 'topic_id': 8694}], 'most_liked_by_users': [{'id': 2044, 'username': 'Sirlupinwatson', 'name': 'Armand Brunelle', 'count': 104, 'avatar_template': '/user_avatar/gov.gitcoin.co/sirlupinwatson/{size}/549_2.png', 'admin': False, 'moderator': False, 'trust_level': 3, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 5974, 'username': 'BrianMillsJr', 'name': 'BrianMillsJr.eth', 'count': 36, 'avatar_template': '/user_avatar/gov.gitcoin.co/brianmillsjr/{size}/4581_2.png', 'admin': False, 'moderator': False, 'trust_level': 1, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 95, 'username': 'Fred', 'name': 'Fred', 'count': 28, 'avatar_template': '/user_avatar/gov.gitcoin.co/fred/{size}/3799_2.png', 'admin': False, 'moderator': True, 'trust_level': 3, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 5441, 'username': 'Huxwell', 'name': 'Cali', 'count': 19, 'avatar_template': '/user_avatar/gov.gitcoin.co/huxwell/{size}/3808_2.png', 'admin': False, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 5463, 'username': 'lee0007', 'name': 'Renee Lee', 'count': 18, 'avatar_template': '/user_avatar/gov.gitcoin.co/lee0007/{size}/3839_2.png', 'admin': False, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 2203, 'username': 'ntquang22298', 'name': 'Quang Nguyen', 'count': 15, 'avatar_template': '/user_avatar/gov.gitcoin.co/ntquang22298/{size}/2027_2.png', 'admin': False, 'moderator': False, 'trust_level': 1, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}], 'most_liked_users': [{'id': 17, 'username': 'Pop', 'name': 'Simona Pop', 'count': 3, 'avatar_template': '/user_avatar/gov.gitcoin.co/pop/{size}/270_2.png', 'admin': False, 'moderator': False, 'trust_level': 4, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 14, 'username': 'ceresstation', 'name': 'Scott', 'count': 3, 'avatar_template': '/user_avatar/gov.gitcoin.co/ceresstation/{size}/13_2.png', 'admin': True, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 5441, 'username': 'Huxwell', 'name': 'Cali', 'count': 2, 'avatar_template': '/user_avatar/gov.gitcoin.co/huxwell/{size}/3808_2.png', 'admin': False, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 15, 'username': 'Anett', 'name': 'Anett Rolikova', 'count': 1, 'avatar_template': '/user_avatar/gov.gitcoin.co/anett/{size}/425_2.png', 'admin': False, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 86, 'username': 'griff', 'name': 'Griff Green', 'count': 1, 'avatar_template': '/user_avatar/gov.gitcoin.co/griff/{size}/82_2.png', 'admin': False, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 25, 'username': 'trent', 'name': '', 'count': 1, 'avatar_template': '/user_avatar/gov.gitcoin.co/trent/{size}/32_2.png', 'admin': False, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}], 'most_replied_to_users': [{'id': 5303, 'username': 'Developer-piyush', 'name': 'PIYUSH CHOUDHARY', 'count': 4, 'avatar_template': '/user_avatar/gov.gitcoin.co/developer-piyush/{size}/3571_2.png', 'admin': False, 'moderator': False, 'trust_level': 1, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 5441, 'username': 'Huxwell', 'name': 'Cali', 'count': 4, 'avatar_template': '/user_avatar/gov.gitcoin.co/huxwell/{size}/3808_2.png', 'admin': False, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 66, 'username': 'auryn', 'name': 'auryn-macmillan', 'count': 3, 'avatar_template': '/user_avatar/gov.gitcoin.co/auryn/{size}/66_2.png', 'admin': False, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 3, 'username': 'kyle', 'name': 'kyle', 'count': 3, 'avatar_template': '/user_avatar/gov.gitcoin.co/kyle/{size}/3892_2.png', 'admin': True, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 5353, 'username': 'captnseagraves', 'name': 'Kevin Seagraves', 'count': 3, 'avatar_template': '/user_avatar/gov.gitcoin.co/captnseagraves/{size}/3656_2.png', 'admin': False, 'moderator': False, 'trust_level': 1, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 14, 'username': 'ceresstation', 'name': 'Scott', 'count': 2, 'avatar_template': '/user_avatar/gov.gitcoin.co/ceresstation/{size}/13_2.png', 'admin': True, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}], 'badges': [{'id': 4, 'granted_at': '2021-03-15T21:55:51.766Z', 'created_at': '2021-03-15T21:55:51.766Z', 'count': 1, 'badge_id': 4, 'user_id': 1, 'granted_by_id': -1}, {'id': 7832, 'granted_at': '2022-02-08T00:12:50.573Z', 'created_at': '2022-02-08T00:12:50.573Z', 'count': 1, 'post_id': 21272, 'post_number': 1, 'badge_id': 20, 'user_id': 1, 'granted_by_id': -1, 'topic_id': 8694}, {'id': 7327, 'granted_at': '2021-12-10T15:38:35.995Z', 'created_at': '2021-12-10T15:38:35.995Z', 'count': 1, 'badge_id': 37, 'user_id': 1, 'granted_by_id': -1}, {'id': 15, 'granted_at': '2021-03-16T23:43:02.686Z', 'created_at': '2021-03-16T23:43:02.686Z', 'count': 1, 'badge_id': 26, 'user_id': 1, 'granted_by_id': -1}, {'id': 7068, 'granted_at': '2021-11-15T20:00:11.215Z', 'created_at': '2021-11-15T20:00:11.215Z', 'count': 3, 'post_id': 21272, 'post_number': 1, 'badge_id': 19, 'user_id': 1, 'granted_by_id': -1, 'topic_id': 8694}, {'id': 14, 'granted_at': '2021-03-16T23:43:02.646Z', 'created_at': '2021-03-16T23:43:02.646Z', 'count': 1, 'badge_id': 25, 'user_id': 1, 'granted_by_id': -1}], 'top_categories': [{'topic_count': 31, 'post_count': 40, 'id': 6, 'name': '🤖 Meta-Governance', 'color': '652D90', 'text_color': 'FFFFFF', 'slug': 'governance-meta', 'read_restricted': False, 'parent_category_id': None}, {'topic_count': 6, 'post_count': 42, 'id': 5, 'name': '📜 Proposal Discussion', 'color': '0E76BD', 'text_color': 'FFFFFF', 'slug': 'governance-proposals', 'read_restricted': False, 'parent_category_id': None}, {'topic_count': 13, 'post_count': 14, 'id': 9, 'name': '🧙 🧙\u200d♀️ Workstream Discussion', 'color': '12A89D', 'text_color': 'FFFFFF', 'slug': 'workstream-discussion', 'read_restricted': False, 'parent_category_id': None}, {'topic_count': 8, 'post_count': 10, 'id': 8, 'name': '👋 Community Hangout', 'color': '3AB54A', 'text_color': 'FFFFFF', 'slug': 'community-hangout', 'read_restricted': False, 'parent_category_id': None}, {'topic_count': 7, 'post_count': 11, 'id': 12, 'name': 'Progressive Decentralization (Technical)', 'color': '808281', 'text_color': 'FFFFFF', 'slug': 'progressive-decentralization-technical', 'read_restricted': False, 'parent_category_id': 9}, {'topic_count': 1, 'post_count': 8, 'id': 13, 'name': 'Public Goods Funding', 'color': '9EB83B', 'text_color': 'FFFFFF', 'slug': 'public-goods-funding', 'read_restricted': False, 'parent_category_id': 9}]}}
-----------------------
requests.get('https://gov.gitcoin.co/u/owocki.json').json()

requests.get('https://gov.gitcoin.co/u/owocki/summary.json').json()
{'user_badges': [{'id': 4, 'granted_at': '2021-03-15T21:55:51.766Z', 'created_at': '2021-03-15T21:55:51.766Z', 'count': 1, 'badge_id': 4, 'user_id': 1, 'granted_by_id': -1}, {'id': 7832, 'granted_at': '2022-02-08T00:12:50.573Z', 'created_at': '2022-02-08T00:12:50.573Z', 'count': 1, 'post_id': 21272, 'post_number': 1, 'badge_id': 20, 'user_id': 1, 'granted_by_id': -1, 'topic_id': 8694}, {'id': 7327, 'granted_at': '2021-12-10T15:38:35.995Z', 'created_at': '2021-12-10T15:38:35.995Z', 'count': 1, 'badge_id': 37, 'user_id': 1, 'granted_by_id': -1}], 'badges': [{'id': 4, 'name': 'Leader', 'description': '<a href="https://blog.discourse.org/2018/06/understanding-discourse-trust-levels/">Granted</a> global edit, pin, close, archive, split and merge, more likes', 'grant_count': 6, 'allow_title': True, 'multiple_grant': False, 'icon': 'fa-user', 'image_url': None, 'listable': True, 'enabled': True, 'badge_grouping_id': 4, 'system': True, 'slug': 'leader', 'manually_grantable': False, 'badge_type_id': 1}, {'id': 20, 'name': 'Great Topic', 'description': 'Received 50 likes on a topic', 'grant_count': 13, 'allow_title': False, 'multiple_grant': True, 'icon': 'fa-certificate', 'image_url': None, 'listable': True, 'enabled': True, 'badge_grouping_id': 3, 'system': True, 'slug': 'great-topic', 'manually_grantable': False, 'badge_type_id': 1}, {'id': 37, 'name': 'Respected', 'description': 'Received 2 likes on 100 posts', 'grant_count': 1, 'allow_title': False, 'multiple_grant': False, 'icon': 'fa-heart', 'image_url': None, 'listable': True, 'enabled': True, 'badge_grouping_id': 2, 'system': True, 'slug': 'respected', 'manually_grantable': False, 'badge_type_id': 2}], 'badge_types': [{'id': 1, 'name': 'Gold', 'sort_order': 9}, {'id': 2, 'name': 'Silver', 'sort_order': 8}], 'users': [{'id': 1, 'username': 'owocki', 'name': 'Owocki', 'avatar_template': '/user_avatar/gov.gitcoin.co/owocki/{size}/3597_2.png', 'flair_name': None, 'admin': True, 'trust_level': 4}, {'id': -1, 'username': 'system', 'name': 'system', 'avatar_template': 'https://aws1.discourse-cdn.com/standard11/uploads/gitcoin1/original/1X/d6503c3e8f849859f29987d8816cd515c34b04f0.png', 'flair_name': None, 'admin': True, 'moderator': True, 'trust_level': 4}], 'topics': [{'id': 8694, 'title': 'TLDR - What is Gitcoin? 🤖 [Updated Feb 2022]', 'fancy_title': 'TLDR - What is Gitcoin? :robot: [Updated Feb 2022]', 'slug': 'tldr-what-is-gitcoin-updated-feb-2022', 'posts_count': 7}], 'user': {'id': 1, 'username': 'owocki', 'name': 'Owocki', 'avatar_template': '/user_avatar/gov.gitcoin.co/owocki/{size}/3597_2.png', 'last_posted_at': '2022-02-14T14:20:48.874Z', 'last_seen_at': '2022-02-19T02:31:38.067Z', 'created_at': '2021-03-15T21:55:10.808Z', 'ignored': False, 'muted': False, 'can_ignore_user': False, 'can_mute_user': False, 'can_send_private_messages': False, 'can_send_private_message_to_user': False, 'trust_level': 4, 'moderator': False, 'admin': True, 'title': '', 'badge_count': 27, 'custom_fields': {}, 'time_read': 71929, 'recent_time_read': 25520, 'primary_group_id': None, 'primary_group_name': None, 'flair_group_id': None, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'featured_topic': None, 'bio_excerpt': 'i spin bits for fun &amp; profit; watch out for my megabyte.', 'website': 'http://gitcoin.co', 'website_name': 'gitcoin.co', 'location': 'Boulder, CO', 'bio_raw': 'i spin bits for fun & profit; watch out for my megabyte.', 'bio_cooked': '<p>i spin bits for fun &amp; profit; watch out for my megabyte.</p>', 'can_edit': False, 'can_edit_username': False, 'can_edit_email': False, 'can_edit_name': False, 'uploaded_avatar_id': 3597, 'pending_count': 0, 'profile_view_count': 1192, 'can_upload_profile_header': False, 'can_upload_user_card_background': False, 'custom_avatar_upload_id': 3597, 'custom_avatar_template': '/user_avatar/gov.gitcoin.co/owocki/{size}/3597_2.png', 'user_notification_schedule': {'enabled': False, 'day_0_start_time': 480, 'day_0_end_time': 1020, 'day_1_start_time': 480, 'day_1_end_time': 1020, 'day_2_start_time': 480, 'day_2_end_time': 1020, 'day_3_start_time': 480, 'day_3_end_time': 1020, 'day_4_start_time': 480, 'day_4_end_time': 1020, 'day_5_start_time': 480, 'day_5_end_time': 1020, 'day_6_start_time': 480, 'day_6_end_time': 1020}, 'accepted_answers': 0, 'featured_user_badge_ids': [4, 7832, 7327], 'invited_by': None, 'groups': []}}
{'topics': [{'id': 8383, 'title': 'Proposal to adjust Code of Conduct WRT Airdrops', 'fancy_title': 'Proposal to adjust Code of Conduct WRT Airdrops', 'slug': 'proposal-to-adjust-code-of-conduct-wrt-airdrops', 'posts_count': 36, 'category_id': 6, 'like_count': 147, 'created_at': '2021-08-25T17:48:20.856Z', 'has_accepted_answer': False}, {'id': 9503, 'title': 'A Vision for A Pluralistic Civilizational Scale Infrastructure for funding Public Goods', 'fancy_title': 'A Vision for A Pluralistic Civilizational Scale Infrastructure for funding Public Goods', 'slug': 'a-vision-for-a-pluralistic-civilizational-scale-infrastructure-for-funding-public-goods', 'posts_count': 22, 'category_id': 6, 'like_count': 80, 'created_at': '2021-12-24T16:45:12.082Z', 'has_accepted_answer': False}, {'id': 8694, 'title': 'TLDR - What is Gitcoin? 🤖 [Updated Feb 2022]', 'fancy_title': 'TLDR - What is Gitcoin? :robot: [Updated Feb 2022]', 'slug': 'tldr-what-is-gitcoin-updated-feb-2022', 'posts_count': 7, 'category_id': 6, 'like_count': 72, 'created_at': '2021-09-27T16:54:37.143Z', 'has_accepted_answer': False}, {'id': 8902, 'title': 'Calling all GitcoinDAO Metaverse Coordinators!', 'fancy_title': 'Calling all GitcoinDAO Metaverse Coordinators!', 'slug': 'calling-all-gitcoindao-metaverse-coordinators', 'posts_count': 14, 'category_id': 9, 'like_count': 71, 'created_at': '2021-10-28T23:00:54.169Z', 'has_accepted_answer': False}, {'id': 8497, 'title': 'What are the KPIs that GitcoinDAO Optimizes for?', 'fancy_title': 'What are the KPIs that GitcoinDAO Optimizes for?', 'slug': 'what-are-the-kpis-that-gitcoindao-optimizes-for', 'posts_count': 13, 'category_id': 6, 'like_count': 66, 'created_at': '2021-09-06T17:06:57.566Z', 'has_accepted_answer': False}, {'id': 8200, 'title': 'The Gitcoin/GitcoinDAO Egregore is Emerging', 'fancy_title': 'The Gitcoin/GitcoinDAO Egregore is Emerging', 'slug': 'the-gitcoin-gitcoindao-egregore-is-emerging', 'posts_count': 10, 'category_id': 6, 'like_count': 65, 'created_at': '2021-08-10T17:20:45.933Z', 'has_accepted_answer': False}, {'id': 9613, 'title': '2022 Roadmap & 2022 Goals', 'fancy_title': '2022 Roadmap &amp; 2022 Goals', 'slug': '2022-roadmap-2022-goals', 'posts_count': 19, 'category_id': 6, 'like_count': 46, 'created_at': '2022-01-03T16:43:05.418Z', 'has_accepted_answer': False}, {'id': 8425, 'title': 'How Do You Create A Ban on Airdrops?', 'fancy_title': 'How Do You Create A Ban on Airdrops?', 'slug': 'how-do-you-create-a-ban-on-airdrops', 'posts_count': 12, 'category_id': 6, 'like_count': 54, 'created_at': '2021-08-29T05:58:55.365Z', 'has_accepted_answer': False}, {'id': 7388, 'title': '[Proposal] Second Claim Window for $GTC', 'fancy_title': '[Proposal] Second Claim Window for $GTC', 'slug': 'proposal-second-claim-window-for-gtc', 'posts_count': 71, 'category_id': 5, 'like_count': 237, 'created_at': '2021-06-26T18:09:47.850Z', 'has_accepted_answer': False}, {'id': 7506, 'title': 'Establishing a New Process for Identify Verification Scoring (and removing troubled ID methods)', 'fancy_title': 'Establishing a New Process for Identify Verification Scoring (and removing troubled ID methods)', 'slug': 'establishing-a-new-process-for-identify-verification-scoring-and-removing-troubled-id-methods', 'posts_count': 17, 'category_id': 5, 'like_count': 47, 'created_at': '2021-06-29T17:03:02.910Z', 'has_accepted_answer': False}, {'id': 6372, 'title': '[Proposal] GR10 Matching Pool: Use Gitcoin to build GitcoinDAO', 'fancy_title': '[Proposal] GR10 Matching Pool: Use Gitcoin to build GitcoinDAO', 'slug': 'proposal-gr10-matching-pool-use-gitcoin-to-build-gitcoindao', 'posts_count': 26, 'category_id': 5, 'like_count': 111, 'created_at': '2021-06-14T21:32:52.025Z', 'has_accepted_answer': False}, {'id': 9046, 'title': 'Schelling Point Event at ETHDenver 2/17/2022 [REQUEST FOR COORDINATION]', 'fancy_title': 'Schelling Point Event at ETHDenver 2/17/2022 [REQUEST FOR COORDINATION]', 'slug': 'schelling-point-event-at-ethdenver-2-17-2022-request-for-coordination', 'posts_count': 6, 'category_id': 9, 'like_count': 20, 'created_at': '2021-11-16T03:32:07.901Z', 'has_accepted_answer': False}], 'badges': [{'id': 4, 'name': 'Leader', 'description': '<a href="https://blog.discourse.org/2018/06/understanding-discourse-trust-levels/">Granted</a> global edit, pin, close, archive, split and merge, more likes', 'grant_count': 6, 'allow_title': True, 'multiple_grant': False, 'icon': 'fa-user', 'image_url': None, 'listable': True, 'enabled': True, 'badge_grouping_id': 4, 'system': True, 'slug': 'leader', 'manually_grantable': False, 'badge_type_id': 1}, {'id': 20, 'name': 'Great Topic', 'description': 'Received 50 likes on a topic', 'grant_count': 13, 'allow_title': False, 'multiple_grant': True, 'icon': 'fa-certificate', 'image_url': None, 'listable': True, 'enabled': True, 'badge_grouping_id': 3, 'system': True, 'slug': 'great-topic', 'manually_grantable': False, 'badge_type_id': 1}, {'id': 37, 'name': 'Respected', 'description': 'Received 2 likes on 100 posts', 'grant_count': 1, 'allow_title': False, 'multiple_grant': False, 'icon': 'fa-heart', 'image_url': None, 'listable': True, 'enabled': True, 'badge_grouping_id': 2, 'system': True, 'slug': 'respected', 'manually_grantable': False, 'badge_type_id': 2}, {'id': 26, 'name': 'Campaigner', 'description': 'Invited 3 basic users', 'grant_count': 1, 'allow_title': False, 'multiple_grant': False, 'icon': 'fa-user-plus', 'image_url': None, 'listable': True, 'enabled': True, 'badge_grouping_id': 2, 'system': True, 'slug': 'campaigner', 'manually_grantable': False, 'badge_type_id': 2}, {'id': 19, 'name': 'Good Topic', 'description': 'Received 25 likes on a topic', 'grant_count': 26, 'allow_title': False, 'multiple_grant': True, 'icon': 'fa-certificate', 'image_url': None, 'listable': True, 'enabled': True, 'badge_grouping_id': 3, 'system': True, 'slug': 'good-topic', 'manually_grantable': False, 'badge_type_id': 2}, {'id': 25, 'name': 'Promoter', 'description': 'Invited a user', 'grant_count': 3, 'allow_title': False, 'multiple_grant': False, 'icon': 'fa-user-plus', 'image_url': None, 'listable': True, 'enabled': True, 'badge_grouping_id': 2, 'system': True, 'slug': 'promoter', 'manually_grantable': False, 'badge_type_id': 3}], 'badge_types': [{'id': 1, 'name': 'Gold', 'sort_order': 9}, {'id': 2, 'name': 'Silver', 'sort_order': 8}, {'id': 3, 'name': 'Bronze', 'sort_order': 7}], 'users': [{'id': 1, 'username': 'owocki', 'name': 'Owocki', 'avatar_template': '/user_avatar/gov.gitcoin.co/owocki/{size}/3597_2.png', 'flair_name': None, 'admin': True, 'trust_level': 4}, {'id': -1, 'username': 'system', 'name': 'system', 'avatar_template': 'https://aws1.discourse-cdn.com/standard11/uploads/gitcoin1/original/1X/d6503c3e8f849859f29987d8816cd515c34b04f0.png', 'flair_name': None, 'admin': True, 'moderator': True, 'trust_level': 4}], 'user_summary': {'likes_given': 24, 'likes_received': 1036, 'topics_entered': 240, 'posts_read_count': 1555, 'days_visited': 216, 'topic_count': 66, 'post_count': 129, 'time_read': 71929, 'recent_time_read': 25520, 'can_see_summary_stats': True, 'solved_count': 0, 'topic_ids': [8383, 9503, 8694, 8902, 8497, 8200], 'replies': [{'post_number': 16, 'like_count': 12, 'created_at': '2021-08-26T18:41:25.210Z', 'topic_id': 8383}, {'post_number': 3, 'like_count': 10, 'created_at': '2022-01-03T16:49:50.145Z', 'topic_id': 9613}, {'post_number': 2, 'like_count': 10, 'created_at': '2021-08-29T13:41:42.503Z', 'topic_id': 8425}, {'post_number': 18, 'like_count': 10, 'created_at': '2021-06-28T01:53:13.183Z', 'topic_id': 7388}, {'post_number': 2, 'like_count': 9, 'created_at': '2021-06-29T17:45:32.686Z', 'topic_id': 7506}, {'post_number': 21, 'like_count': 9, 'created_at': '2021-06-18T19:32:54.151Z', 'topic_id': 6372}], 'links': [{'url': 'https://gitcoin.co/earn', 'title': 'Earn | Gitcoin', 'clicks': 105, 'post_number': 1, 'topic_id': 8694}, {'url': 'https://gitcoin.co/mission', 'title': 'Gitcoin - Support open web development. | Gitcoin', 'clicks': 90, 'post_number': 1, 'topic_id': 8694}, {'url': 'https://schellingpoint.gitcoin.co/', 'title': 'SCHELLING P0INT | 2/17/2022 @ SportsCastle in Denver CO USA', 'clicks': 86, 'post_number': 1, 'topic_id': 9046}, {'url': 'https://t.me/joinchat/DRkmhTiIH6E0MjYx', 'title': 'Telegram: Join Group Chat', 'clicks': 72, 'post_number': 1, 'topic_id': 8902}, {'url': 'https://gitcoin.co/discord', 'title': 'Gitcoin', 'clicks': 57, 'post_number': 1, 'topic_id': 8694}, {'url': 'https://gitcoin.co/learn', 'title': 'Learn | Gitcoin', 'clicks': 56, 'post_number': 1, 'topic_id': 8694}], 'most_liked_by_users': [{'id': 2044, 'username': 'Sirlupinwatson', 'name': 'Armand Brunelle', 'count': 104, 'avatar_template': '/user_avatar/gov.gitcoin.co/sirlupinwatson/{size}/549_2.png', 'admin': False, 'moderator': False, 'trust_level': 3, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 5974, 'username': 'BrianMillsJr', 'name': 'BrianMillsJr.eth', 'count': 36, 'avatar_template': '/user_avatar/gov.gitcoin.co/brianmillsjr/{size}/4581_2.png', 'admin': False, 'moderator': False, 'trust_level': 1, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 95, 'username': 'Fred', 'name': 'Fred', 'count': 28, 'avatar_template': '/user_avatar/gov.gitcoin.co/fred/{size}/3799_2.png', 'admin': False, 'moderator': True, 'trust_level': 3, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 5441, 'username': 'Huxwell', 'name': 'Cali', 'count': 19, 'avatar_template': '/user_avatar/gov.gitcoin.co/huxwell/{size}/3808_2.png', 'admin': False, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 5463, 'username': 'lee0007', 'name': 'Renee Lee', 'count': 18, 'avatar_template': '/user_avatar/gov.gitcoin.co/lee0007/{size}/3839_2.png', 'admin': False, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 2203, 'username': 'ntquang22298', 'name': 'Quang Nguyen', 'count': 15, 'avatar_template': '/user_avatar/gov.gitcoin.co/ntquang22298/{size}/2027_2.png', 'admin': False, 'moderator': False, 'trust_level': 1, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}], 'most_liked_users': [{'id': 17, 'username': 'Pop', 'name': 'Simona Pop', 'count': 3, 'avatar_template': '/user_avatar/gov.gitcoin.co/pop/{size}/270_2.png', 'admin': False, 'moderator': False, 'trust_level': 4, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 14, 'username': 'ceresstation', 'name': 'Scott', 'count': 3, 'avatar_template': '/user_avatar/gov.gitcoin.co/ceresstation/{size}/13_2.png', 'admin': True, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 5441, 'username': 'Huxwell', 'name': 'Cali', 'count': 2, 'avatar_template': '/user_avatar/gov.gitcoin.co/huxwell/{size}/3808_2.png', 'admin': False, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 15, 'username': 'Anett', 'name': 'Anett Rolikova', 'count': 1, 'avatar_template': '/user_avatar/gov.gitcoin.co/anett/{size}/425_2.png', 'admin': False, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 86, 'username': 'griff', 'name': 'Griff Green', 'count': 1, 'avatar_template': '/user_avatar/gov.gitcoin.co/griff/{size}/82_2.png', 'admin': False, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 25, 'username': 'trent', 'name': '', 'count': 1, 'avatar_template': '/user_avatar/gov.gitcoin.co/trent/{size}/32_2.png', 'admin': False, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}], 'most_replied_to_users': [{'id': 5303, 'username': 'Developer-piyush', 'name': 'PIYUSH CHOUDHARY', 'count': 4, 'avatar_template': '/user_avatar/gov.gitcoin.co/developer-piyush/{size}/3571_2.png', 'admin': False, 'moderator': False, 'trust_level': 1, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 5441, 'username': 'Huxwell', 'name': 'Cali', 'count': 4, 'avatar_template': '/user_avatar/gov.gitcoin.co/huxwell/{size}/3808_2.png', 'admin': False, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 66, 'username': 'auryn', 'name': 'auryn-macmillan', 'count': 3, 'avatar_template': '/user_avatar/gov.gitcoin.co/auryn/{size}/66_2.png', 'admin': False, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 3, 'username': 'kyle', 'name': 'kyle', 'count': 3, 'avatar_template': '/user_avatar/gov.gitcoin.co/kyle/{size}/3892_2.png', 'admin': True, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 5353, 'username': 'captnseagraves', 'name': 'Kevin Seagraves', 'count': 3, 'avatar_template': '/user_avatar/gov.gitcoin.co/captnseagraves/{size}/3656_2.png', 'admin': False, 'moderator': False, 'trust_level': 1, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}, {'id': 14, 'username': 'ceresstation', 'name': 'Scott', 'count': 2, 'avatar_template': '/user_avatar/gov.gitcoin.co/ceresstation/{size}/13_2.png', 'admin': True, 'moderator': False, 'trust_level': 2, 'flair_name': None, 'flair_url': None, 'flair_bg_color': None, 'flair_color': None, 'primary_group_name': None}], 'badges': [{'id': 4, 'granted_at': '2021-03-15T21:55:51.766Z', 'created_at': '2021-03-15T21:55:51.766Z', 'count': 1, 'badge_id': 4, 'user_id': 1, 'granted_by_id': -1}, {'id': 7832, 'granted_at': '2022-02-08T00:12:50.573Z', 'created_at': '2022-02-08T00:12:50.573Z', 'count': 1, 'post_id': 21272, 'post_number': 1, 'badge_id': 20, 'user_id': 1, 'granted_by_id': -1, 'topic_id': 8694}, {'id': 7327, 'granted_at': '2021-12-10T15:38:35.995Z', 'created_at': '2021-12-10T15:38:35.995Z', 'count': 1, 'badge_id': 37, 'user_id': 1, 'granted_by_id': -1}, {'id': 15, 'granted_at': '2021-03-16T23:43:02.686Z', 'created_at': '2021-03-16T23:43:02.686Z', 'count': 1, 'badge_id': 26, 'user_id': 1, 'granted_by_id': -1}, {'id': 7068, 'granted_at': '2021-11-15T20:00:11.215Z', 'created_at': '2021-11-15T20:00:11.215Z', 'count': 3, 'post_id': 21272, 'post_number': 1, 'badge_id': 19, 'user_id': 1, 'granted_by_id': -1, 'topic_id': 8694}, {'id': 14, 'granted_at': '2021-03-16T23:43:02.646Z', 'created_at': '2021-03-16T23:43:02.646Z', 'count': 1, 'badge_id': 25, 'user_id': 1, 'granted_by_id': -1}], 'top_categories': [{'topic_count': 31, 'post_count': 40, 'id': 6, 'name': '🤖 Meta-Governance', 'color': '652D90', 'text_color': 'FFFFFF', 'slug': 'governance-meta', 'read_restricted': False, 'parent_category_id': None}, {'topic_count': 6, 'post_count': 42, 'id': 5, 'name': '📜 Proposal Discussion', 'color': '0E76BD', 'text_color': 'FFFFFF', 'slug': 'governance-proposals', 'read_restricted': False, 'parent_category_id': None}, {'topic_count': 13, 'post_count': 14, 'id': 9, 'name': '🧙 🧙\u200d♀️ Workstream Discussion', 'color': '12A89D', 'text_color': 'FFFFFF', 'slug': 'workstream-discussion', 'read_restricted': False, 'parent_category_id': None}, {'topic_count': 8, 'post_count': 10, 'id': 8, 'name': '👋 Community Hangout', 'color': '3AB54A', 'text_color': 'FFFFFF', 'slug': 'community-hangout', 'read_restricted': False, 'parent_category_id': None}, {'topic_count': 7, 'post_count': 11, 'id': 12, 'name': 'Progressive Decentralization (Technical)', 'color': '808281', 'text_color': 'FFFFFF', 'slug': 'progressive-decentralization-technical', 'read_restricted': False, 'parent_category_id': 9}, {'topic_count': 1, 'post_count': 8, 'id': 13, 'name': 'Public Goods Funding', 'color': '9EB83B', 'text_color': 'FFFFFF', 'slug': 'public-goods-funding', 'read_restricted': False, 'parent_category_id': 9}]}}

&quot;document_missing_exception&quot; at Opensearch client.update (python)

copy iconCopydownload iconDownload
"doc_type" as "_doc".

Ignore indexing existing document while reindexing in ElasticSearch

copy iconCopydownload iconDownload
helpers.reindex(es_src, src_idx, tar_idx, target_client=es_des, op_type='create', query={'query': {'match_all': {}}})
                                                                       ^
                                                                       |
                                                                    add this

Unable to get OpenSearch dashboard by running OpenSearch docker compose

copy iconCopydownload iconDownload
/usr/share/opensearch/config/opensearch.yml
plugins.security.disabled: true
cks. "Single-node" mode disables them again.
#discovery.type: single-node

plugins.security.disabled: true

######## Start OpenSearch Security Demo Configuration ########
# WARNING: revise all the lines below before you go into production
plugins.security.ssl.transport.pemcert_filepath: esnode.pem
-----------------------
/usr/share/opensearch/config/opensearch.yml
plugins.security.disabled: true
cks. "Single-node" mode disables them again.
#discovery.type: single-node

plugins.security.disabled: true

######## Start OpenSearch Security Demo Configuration ########
# WARNING: revise all the lines below before you go into production
plugins.security.ssl.transport.pemcert_filepath: esnode.pem
-----------------------
/usr/share/opensearch/config/opensearch.yml
plugins.security.disabled: true
cks. "Single-node" mode disables them again.
#discovery.type: single-node

plugins.security.disabled: true

######## Start OpenSearch Security Demo Configuration ########
# WARNING: revise all the lines below before you go into production
plugins.security.ssl.transport.pemcert_filepath: esnode.pem
-----------------------
version: '3'
services:
  opensearch-node1A:
    image: opensearchproject/opensearch:1.2.3
    container_name: opensearch-node1A
    environment:
      - cluster.name=opensearch-cluster
      - node.name=opensearch-node1A
      - discovery.seed_hosts=opensearch-node1A,opensearch-node2A
      - cluster.initial_master_nodes=opensearch-node1A,opensearch-node2A
      - bootstrap.memory_lock=true # along with the memlock settings below, disables swapping
      - "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m" # minimum and maximum Java heap size, recommend setting both to 50% of system RAM
    ulimits:
      memlock:
        soft: -1
        hard: -1
      nofile:
        soft: 65536 # maximum number of open files for the OpenSearch user, set to at least 65536 on modern systems
        hard: 65536
    volumes:
      - opensearch-data1:/usr/share/opensearch/data
    ports:
      - 9200:9200
      - 9600:9600 # required for Performance Analyzer
    networks:
      - opensearch-net
  opensearch-node2A:
    image: opensearchproject/opensearch:1.2.3
    container_name: opensearch-node2A
    environment:
      - cluster.name=opensearch-cluster
      - node.name=opensearch-node2A
      - discovery.seed_hosts=opensearch-node1A,opensearch-node2A
      - cluster.initial_master_nodes=opensearch-node1A,opensearch-node2A
      - bootstrap.memory_lock=true
      - "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m"
    ulimits:
      memlock:
        soft: -1
        hard: -1
      nofile:
        soft: 65536
        hard: 65536
    volumes:
      - opensearch-data2:/usr/share/opensearch/data
    networks:
      - opensearch-net
  opensearch-dashboardsA:
    image: opensearchproject/opensearch-dashboards:1.1.0
    container_name: opensearch-dashboardsA
    ports:
      - 5601:5601
    expose:
      - "5601"
    environment:
      OPENSEARCH_HOSTS: '["https://opensearch-node1A:9200","https://opensearch-node2A:9200"]'
    networks:
      - opensearch-net
  logstash-with-plugin:
    image: opensearchproject/logstash-oss-with-opensearch-output-plugin:7.16.2
    container_name: logstash-with-plugin
    networks:
      - opensearch-net

volumes:
  opensearch-data1:
  opensearch-data2:

networks:
  opensearch-net:

Is testing in Gitlab Ci supported with Opensearch docker images as a service?

copy iconCopydownload iconDownload
curl -XGET https://localhost:9200 -u admin:admin --insecure
network.host: "0.0.0.0"
curl "http://elasticsearch:9200/_cat/health"
-----------------------
curl -XGET https://localhost:9200 -u admin:admin --insecure
network.host: "0.0.0.0"
curl "http://elasticsearch:9200/_cat/health"
-----------------------
curl -XGET https://localhost:9200 -u admin:admin --insecure
network.host: "0.0.0.0"
curl "http://elasticsearch:9200/_cat/health"
-----------------------
CMD ["./opensearch-docker-entrypoint.sh"]
integration:
  stage: integration
  variables:
    OPENSEARCH_JAVA_OPTS: "-Xms512m -Xmx512m"
    DISABLE_INSTALL_DEMO_CONFIG: "true"
    DISABLE_SECURITY_PLUGIN: "true"
  services:
    - name: opensearchproject/opensearch:1.1.0
      alias: opensearch
      command: ["bash", "-c", "env 'discovery.type=single-node' 'cluster.name=opensearch' ./opensearch-docker-entrypoint.sh"]
  script:
    - curl -sS http://opensearch:9200/_cat/health
-----------------------
CMD ["./opensearch-docker-entrypoint.sh"]
integration:
  stage: integration
  variables:
    OPENSEARCH_JAVA_OPTS: "-Xms512m -Xmx512m"
    DISABLE_INSTALL_DEMO_CONFIG: "true"
    DISABLE_SECURITY_PLUGIN: "true"
  services:
    - name: opensearchproject/opensearch:1.1.0
      alias: opensearch
      command: ["bash", "-c", "env 'discovery.type=single-node' 'cluster.name=opensearch' ./opensearch-docker-entrypoint.sh"]
  script:
    - curl -sS http://opensearch:9200/_cat/health

Community Discussions

Trending Discussions on OpenSearch
  • aws opensearch: Why are similar sets of data ranked differently
  • Uncaught Type error after adding context component in react.js
  • AWS OpenSearch Instance Types - better to have few bigger or more smaller instances?
  • Getting mapper_parsing_exception in OpenSearch
  • How can I set compatibility mode for Amazon OpenSearch using CloudFormation?
  • How can AWS Kinesis Firehose lambda send update and delete requests to ElasticSearch?
  • If all fields for a column are null, OpenSearch does not include that field, and so sorting on that field fails
  • Fluent Bit does not send logs from my EKS custom applications
  • Writing to a file parallely while processing in a loop in python
  • How to scrap data when the site kind of doesn't allow it?
Trending Discussions on OpenSearch

QUESTION

aws opensearch: Why are similar sets of data ranked differently

Asked 2022-Apr-01 at 08:57

I have set up an AWS Opensearch instance with pretty much everything set to default values. i then have inserted some data regarding hotels. When the user searches like Good Morning B my resulting query POST request looks like this:

{
    "query": {
        "bool": {
            "must": [
                {
                    "query_string": {
                        "query": "good morning b*",
                        "fields": ["name"],
                        "default_operator": "and"
                    }
                },
                {
                    "match": {
                        "provider": "SomeProvider"
                    }
                }
            ]
        }
    }
    "sort": {
        "_score": {
            "order": "desc"
        },
        "name.keyword": {
            "order": "asc"
        }
    }
}

The result contains 4 entries with 2 different hotels. The names and all the other data in the index besides the ID are the same. Here is an excerpt of the response:

{
  "took": 442,
  "timed_out": false,
  "_shards": {
    "total": 5,
    "successful": 5,
    "skipped": 0,
    "failed": 0
  },
  "hits": {
    "total": {
      "value": 4,
      "relation": "eq"
    },
    "max_score": null,
    "hits": [
      {
        "_index": "hotels",
        "_type": "_doc",
        "_id": "1",
        "_score": 11.143229,
        "_source": {
          "id": "1",
          "name": "Good Morning + Berlin City East",
          "provider": "SomeProvider"
        },
        "sort": [
          11.143229,
          "Good Morning + Berlin City East"
        ]
      },
      {
        "_index": "hotels",
        "_type": "_doc",
        "_id": "2",
        "_score": 10.455675,
        "_source": {
          "id": "2",
          "name": "Good Morning Bad Oldesloe",
          "provider": "SomeProvider"
        },
        "sort": [
          10.455675,
          "Good Morning Bad Oldesloe"
        ]
      },
      {
        "_index": "hotels",
        "_type": "_doc",
        "_id": "3",
        "_score": 10.455675,
        "_source": {
          "id": "3",
          "name": "Good Morning Bad Oldesloe",
          "provider": "SomeProvider"
        },
        "sort": [
          10.455675,
          "Good Morning Bad Oldesloe"
        ]
      },
      {
        "_index": "hotels",
        "_type": "_doc",
        "_id": "4",
        "_score": 9.6945305,
        "_source": {
          "id": "4",
          "name": "Good Morning + Berlin City East",
          "provider": "SomeProvider"
        },
        "sort": [
          9.6945305,
          "Good Morning + Berlin City East"
        ]
      }
    ]
  }
}

You can see that the "Good Morning + Berlin City East" has two different ranks for the entries. Like i said, the containing data is exactly the same. Since the name is the same, i would have expected it to be ranked equally like it is the case for the "Good Morning Bad Oldesloe" hotel.

I ran the same query with the explain=true parameter and got this for the Berlin entries (i only post the relevant part here to make it a bit compact):

// ID = 1
{
  "sort": [
    11.143229,
    "Good Morning + Berlin City East"
  ],
  "_explanation": {
    "value": 11.143229,
    "description": "sum of:",
    "details": [
      {
        "value": 9.302926,
        "description": "sum of:",
        "details": [
          {
            "value": 4.151463,
            "description": "weight(name:good in 1) [PerFieldSimilarity], result of:",
            "details": [
              {
                "value": 4.151463,
                "description": "score(freq=1.0), computed as boost * idf * tf from:",
                "details": [
                  {
                    "value": 2.2,
                    "description": "boost",
                    "details": []
                  },
                  {
                    "value": 4.811831,
                    "description": "idf, computed as log(1 + (N - n + 0.5) / (n + 0.5)) from:",
                    "details": [
                      {
                        "value": 11,
                        "description": "n, number of documents containing term",
                        "details": []
                      },
                      {
                        "value": 1413,
                        "description": "N, total number of documents with field",
                        "details": []
                      }
                    ]
                  },
                  {
                    "value": 0.3921644,
                    "description": "tf, computed as freq / (freq + k1 * (1 - b + b * dl / avgdl)) from:",
                    "details": [
                      {
                        "value": 1.0,
                        "description": "freq, occurrences of term within document",
                        "details": []
                      },
                      {
                        "value": 1.2,
                        "description": "k1, term saturation parameter",
                        "details": []
                      },
                      {
                        "value": 0.75,
                        "description": "b, length normalization parameter",
                        "details": []
                      },
                      {
                        "value": 5.0,
                        "description": "dl, length of field",
                        "details": []
                      },
                      {
                        "value": 3.6001415,
                        "description": "avgdl, average length of field",
                        "details": []
                      }
                    ]
                  }
                ]
              }
            ]
          },
          {
            "value": 4.151463,
            "description": "weight(name:morning in 1) [PerFieldSimilarity], result of:",
            "details": [
              {
                "value": 4.151463,
                "description": "score(freq=1.0), computed as boost * idf * tf from:",
                "details": [
                  {
                    "value": 2.2,
                    "description": "boost",
                    "details": []
                  },
                  {
                    "value": 4.811831,
                    "description": "idf, computed as log(1 + (N - n + 0.5) / (n + 0.5)) from:",
                    "details": [
                      {
                        "value": 11,
                        "description": "n, number of documents containing term",
                        "details": []
                      },
                      {
                        "value": 1413,
                        "description": "N, total number of documents with field",
                        "details": []
                      }
                    ]
                  },
                  {
                    "value": 0.3921644,
                    "description": "tf, computed as freq / (freq + k1 * (1 - b + b * dl / avgdl)) from:",
                    "details": [
                      {
                        "value": 1.0,
                        "description": "freq, occurrences of term within document",
                        "details": []
                      },
                      {
                        "value": 1.2,
                        "description": "k1, term saturation parameter",
                        "details": []
                      },
                      {
                        "value": 0.75,
                        "description": "b, length normalization parameter",
                        "details": []
                      },
                      {
                        "value": 5.0,
                        "description": "dl, length of field",
                        "details": []
                      },
                      {
                        "value": 3.6001415,
                        "description": "avgdl, average length of field",
                        "details": []
                      }
                    ]
                  }
                ]
              }
            ]
          },
          {
            "value": 1.0,
            "description": "name:b*",
            "details": []
          }
        ]
      },
      {
        "value": 1.840302,
        "description": "weight(provider:hob in 1) [PerFieldSimilarity], result of:",
        "details": [
          {
            "value": 1.840302,
            "description": "score(freq=1.0), computed as boost * idf * tf from:",
            "details": [
              {
                "value": 2.2,
                "description": "boost",
                "details": []
              },
              {
                "value": 1.8403021,
                "description": "idf, computed as log(1 + (N - n + 0.5) / (n + 0.5)) from:",
                "details": [
                  {
                    "value": 224,
                    "description": "n, number of documents containing term",
                    "details": []
                  },
                  {
                    "value": 1413,
                    "description": "N, total number of documents with field",
                    "details": []
                  }
                ]
              },
              {
                "value": 0.45454544,
                "description": "tf, computed as freq / (freq + k1 * (1 - b + b * dl / avgdl)) from:",
                "details": [
                  {
                    "value": 1.0,
                    "description": "freq, occurrences of term within document",
                    "details": []
                  },
                  {
                    "value": 1.2,
                    "description": "k1, term saturation parameter",
                    "details": []
                  },
                  {
                    "value": 0.75,
                    "description": "b, length normalization parameter",
                    "details": []
                  },
                  {
                    "value": 1.0,
                    "description": "dl, length of field",
                    "details": []
                  },
                  {
                    "value": 1.0,
                    "description": "avgdl, average length of field",
                    "details": []
                  }
                ]
              }
            ]
          }
        ]
      }
    ]
  }
}

// ID = 2{
  "sort": [
      9.6945305,
      "Good Morning + Berlin City East"
  ],
  "_explanation": {
      "value": 9.6945305,
      "description": "sum of:",
      "details": [
          {
              "value": 7.975009,
              "description": "sum of:",
              "details": [
                  {
                      "value": 3.4875045,
                      "description": "weight(name:good in 380) [PerFieldSimilarity], result of:",
                      "details": [
                          {
                              "value": 3.4875045,
                              "description": "score(freq=1.0), computed as boost * idf * tf from:",
                              "details": [
                                  {
                                      "value": 2.2,
                                      "description": "boost",
                                      "details": []
                                  },
                                  {
                                      "value": 4.0562115,
                                      "description": "idf, computed as log(1 + (N - n + 0.5) / (n + 0.5)) from:",
                                      "details": [
                                          {
                                              "value": 24,
                                              "description": "n, number of documents containing term",
                                              "details": []
                                          },
                                          {
                                              "value": 1414,
                                              "description": "N, total number of documents with field",
                                              "details": []
                                          }
                                      ]
                                  },
                                  {
                                      "value": 0.39081526,
                                      "description": "tf, computed as freq / (freq + k1 * (1 - b + b * dl / avgdl)) from:",
                                      "details": [
                                          {
                                              "value": 1.0,
                                              "description": "freq, occurrences of term within document",
                                              "details": []
                                          },
                                          {
                                              "value": 1.2,
                                              "description": "k1, term saturation parameter",
                                              "details": []
                                          },
                                          {
                                              "value": 0.75,
                                              "description": "b, length normalization parameter",
                                              "details": []
                                          },
                                          {
                                              "value": 5.0,
                                              "description": "dl, length of field",
                                              "details": []
                                          },
                                          {
                                              "value": 3.5749645,
                                              "description": "avgdl, average length of field",
                                              "details": []
                                          }
                                      ]
                                  }
                              ]
                          }
                      ]
                  },
                  {
                      "value": 3.4875045,
                      "description": "weight(name:morning in 380) [PerFieldSimilarity], result of:",
                      "details": [
                          {
                              "value": 3.4875045,
                              "description": "score(freq=1.0), computed as boost * idf * tf from:",
                              "details": [
                                  {
                                      "value": 2.2,
                                      "description": "boost",
                                      "details": []
                                  },
                                  {
                                      "value": 4.0562115,
                                      "description": "idf, computed as log(1 + (N - n + 0.5) / (n + 0.5)) from:",
                                      "details": [
                                          {
                                              "value": 24,
                                              "description": "n, number of documents containing term",
                                              "details": []
                                          },
                                          {
                                              "value": 1414,
                                              "description": "N, total number of documents with field",
                                              "details": []
                                          }
                                      ]
                                  },
                                  {
                                      "value": 0.39081526,
                                      "description": "tf, computed as freq / (freq + k1 * (1 - b + b * dl / avgdl)) from:",
                                      "details": [
                                          {
                                              "value": 1.0,
                                              "description": "freq, occurrences of term within document",
                                              "details": []
                                          },
                                          {
                                              "value": 1.2,
                                              "description": "k1, term saturation parameter",
                                              "details": []
                                          },
                                          {
                                              "value": 0.75,
                                              "description": "b, length normalization parameter",
                                              "details": []
                                          },
                                          {
                                              "value": 5.0,
                                              "description": "dl, length of field",
                                              "details": []
                                          },
                                          {
                                              "value": 3.5749645,
                                              "description": "avgdl, average length of field",
                                              "details": []
                                          }
                                      ]
                                  }
                              ]
                          }
                      ]
                  },
                  {
                      "value": 1.0,
                      "description": "name:b*",
                      "details": []
                  }
              ]
          },
          {
              "value": 1.719521,
              "description": "weight(provider:hob in 380) [PerFieldSimilarity], result of:",
              "details": [
                  {
                      "value": 1.719521,
                      "description": "score(freq=1.0), computed as boost * idf * tf from:",
                      "details": [
                          {
                              "value": 2.2,
                              "description": "boost",
                              "details": []
                          },
                          {
                              "value": 1.719521,
                              "description": "idf, computed as log(1 + (N - n + 0.5) / (n + 0.5)) from:",
                              "details": [
                                  {
                                      "value": 253,
                                      "description": "n, number of documents containing term",
                                      "details": []
                                  },
                                  {
                                      "value": 1414,
                                      "description": "N, total number of documents with field",
                                      "details": []
                                  }
                              ]
                          },
                          {
                              "value": 0.45454544,
                              "description": "tf, computed as freq / (freq + k1 * (1 - b + b * dl / avgdl)) from:",
                              "details": [
                                  {
                                      "value": 1.0,
                                      "description": "freq, occurrences of term within document",
                                      "details": []
                                  },
                                  {
                                      "value": 1.2,
                                      "description": "k1, term saturation parameter",
                                      "details": []
                                  },
                                  {
                                      "value": 0.75,
                                      "description": "b, length normalization parameter",
                                      "details": []
                                  },
                                  {
                                      "value": 1.0,
                                      "description": "dl, length of field",
                                      "details": []
                                  },
                                  {
                                      "value": 1.0,
                                      "description": "avgdl, average length of field",
                                      "details": []
                                  }
                              ]
                          }
                      ]
                  }
              ]
          }
      ]
  }
}

The main difference and the cause for the difference in rank seems to be the n, number of documents containing term which is 11 in case of the higher ranked id = 1 and 24 in case of the lower ranked id = 2. But since every data field is the same (besides the id), should'nt it be the same number? The search term is the same for both entries.

Can somebody explain to me (in easy words without much mathematics please) why there is a difference for this hotel but not for the one in Bad Oldesloe (here, as one would expect, the numbers in the explanation has been the same)?

Thanks in advance

ANSWER

Answered 2022-Apr-01 at 08:57

The number of documents is counted not for the whole index by Elasticsearch but by the underlying Lucene engine, and it's done per shard (each shard is a complete Lucene index). Since your documents are (probably) in different shards, their score turns out slightly different.

Source https://stackoverflow.com/questions/71703677

Community Discussions, Code Snippets contain sources that include Stack Exchange Network

Vulnerabilities

No vulnerabilities reported

Install OpenSearch

You can download it from GitHub, Maven.
You can use OpenSearch like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the OpenSearch component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

Support

For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .

DOWNLOAD this Library from

Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
over 430 million Knowledge Items
Find more libraries
Reuse Solution Kits and Libraries Curated by Popular Use Cases

Save this library and start creating your kit

Explore Related Topics

Share this Page

share link
Reuse Pre-built Kits with OpenSearch
Consider Popular Search Engine Libraries
Compare Search Engine Libraries with Highest Support
Compare Search Engine Libraries with Highest Security
Compare Search Engine Libraries with Highest Reuse
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
over 430 million Knowledge Items
Find more libraries
Reuse Solution Kits and Libraries Curated by Popular Use Cases

Save this library and start creating your kit

  • © 2022 Open Weaver Inc.
  • © 2022 Open Weaver Inc.