- 
                Notifications
    
You must be signed in to change notification settings  - Fork 25.6k
 
Adding support to exclude semantic_text subfields #127664
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Merged
      
      
            Samiul-TheSoccerFan
  merged 38 commits into
  elastic:main
from
Samiul-TheSoccerFan:exclude-subfields-for-field-caps-api
  
      
      
   
  Jun 11, 2025 
      
    
  
     Merged
                    Changes from 37 commits
      Commits
    
    
            Show all changes
          
          
            38 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      1e18ab8
              
                Adding support to exclude semantic_text subfields
              
              
                Samiul-TheSoccerFan fe2fc53
              
                Update docs/changelog/127664.yaml
              
              
                Samiul-TheSoccerFan 92cfc54
              
                Updating changelog file
              
              
                Samiul-TheSoccerFan 5cddc44
              
                remove duplicate test from yaml file
              
              
                Samiul-TheSoccerFan 313ba7b
              
                Adding support to exclude semantic_text subfields from mapper builders
              
              
                Samiul-TheSoccerFan 1d37d43
              
                Adding support for generic field types
              
              
                Samiul-TheSoccerFan bec04f5
              
                refactoring to use builder and setting exclude value from semantic_te…
              
              
                Samiul-TheSoccerFan f98b8da
              
                update in semantic_text mapper and fetcher to incorporate the support…
              
              
                Samiul-TheSoccerFan b270339
              
                Fix code style issue
              
              
                Samiul-TheSoccerFan 0ca741d
              
                adding node feature for yaml tests
              
              
                Samiul-TheSoccerFan be2d6ef
              
                Adding more restrictive checks on yaml tests and few refactoring
              
              
                Samiul-TheSoccerFan e47c818
              
                Returns metadata fields from metadata mappers
              
              
                Samiul-TheSoccerFan c6f768a
              
                returns all source fields for fieldcaps
              
              
                Samiul-TheSoccerFan 485bd85
              
                gather all fields and iterate to process for fieldcaps api
              
              
                Samiul-TheSoccerFan 45ada04
              
                revert back all changes from MappedFieldtype and subclasses
              
              
                Samiul-TheSoccerFan 978f771
              
                revert back exclude logic from semantic_text mapper
              
              
                Samiul-TheSoccerFan a5c0772
              
                fix lint issues
              
              
                Samiul-TheSoccerFan a790296
              
                fix lint issues
              
              
                Samiul-TheSoccerFan 2afd580
              
                Adding runtime fields into fieldCaps
              
              
                Samiul-TheSoccerFan 59d497c
              
                Fix linting issue
              
              
                Samiul-TheSoccerFan 0dbfb54
              
                removing unused functions that used in previous implementation
              
              
                Samiul-TheSoccerFan c1f6f60
              
                fix multifield tests failure
              
              
                Samiul-TheSoccerFan a7ee4ea
              
                getting alias fields for field caps
              
              
                Samiul-TheSoccerFan bb67f02
              
                adding support for query time runtime fields
              
              
                Samiul-TheSoccerFan a95e888
              
                [CI] Auto commit changes from spotless
              
              
                 0fcb4d2
              
                Fix empty mapping fieldCaps call
              
              
                Samiul-TheSoccerFan 46e1074
              
                Address passthrough behavior for mappers
              
              
                Samiul-TheSoccerFan 17025b3
              
                Fix SearchAsYoutype mapper failures
              
              
                Samiul-TheSoccerFan 5384dec
              
                rename abstract method to have more meaningful name
              
              
                Samiul-TheSoccerFan 1cef39f
              
                Rename mapper function to match its functionality
              
              
                Samiul-TheSoccerFan a831ac8
              
                Adding filtering for infernece subfields
              
              
                Samiul-TheSoccerFan adcb2d2
              
                revert back previous implementation changes
              
              
                Samiul-TheSoccerFan 225bc23
              
                merge from main
              
              
                Samiul-TheSoccerFan 0b11a20
              
                Merge branch 'main' into exclude-subfields-for-field-caps-api
              
              
                elasticmachine 22f9af9
              
                Adding yaml test for field caps not filtering multi-field
              
              
                Samiul-TheSoccerFan 7589cde
              
                Fixing yaml test
              
              
                Samiul-TheSoccerFan 5fd925e
              
                Merge branch 'main' into exclude-subfields-for-field-caps-api
              
              
                elasticmachine cbce7c5
              
                Adding comment why .infernece filter is added
              
              
                Samiul-TheSoccerFan File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| pr: 127664 | ||
| summary: Exclude `semantic_text` subfields from field capabilities API | ||
| area: "Mapping" | ||
| type: enhancement | ||
| issues: [] | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
              
                              
      
                  Samiul-TheSoccerFan marked this conversation as resolved.
               
          
            Show resolved
            Hide resolved
         | 
            
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
              
      
      Oops, something went wrong.
        
    
  
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Uh oh!
There was an error while loading. Please reload this page.