How to use the searchkit.TermQuery function in searchkit

To help you get started, we’ve selected a few searchkit examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github searchkit / searchkit / packages / searchkit-e2e-tests / src / apps / playground / index.tsx View on Github external
render(){
    return (
      
        

          
            
          

          

            
              
                
              
              
              
              

              
              
               (
                  
                        <option value="list">List</option>
                        <option value="checkbox">Checkbox</option>
github searchkit / searchkit / packages / searchkit-e2e-tests / src / apps / playground / index.tsx View on Github external
              
               (
                  
                        <option value="list">List</option>
                        <option value="checkbox">Checkbox</option>
                        <option value="histogram">Histogram</option>
                        <option value="select">Select</option>
                        <option value="tabs">Tabs</option>
                        <option value="tags">TagCloud</option>
                        <option value="toggle">Toggle</option>
github assembl / assembl / assembl / static2 / js / app / components / search.jsx View on Github external
id="extract_action"
                      title={I18n.t('search.Action')}
                    /&gt;
                  
                )}
              
              {isExpert ? (
github assembl / assembl / assembl / static2 / js / app / components / search.jsx View on Github external
{connectedUserId ? (
                  <div>
                    
                    
                  </div>
                ) : null}
              
              
                {isExpert &amp;&amp; (
                  <div>
                    </div>
github assembl / assembl / assembl / static2 / js / app / components / search.jsx View on Github external
/&gt;
                {connectedUserId ? (
                  <div>
                    
                    
                  </div>
                ) : null}
              
              
                {isExpert &amp;&amp; (
                  <div>
                    
                    </div>
github mitodl / micromasters / static / js / components / search / NestedAggregatingMenuFilter.js View on Github external
createQueryFilter(appliedFilterValue) {
    return TermQuery(this.key, appliedFilterValue)
  }
github mitodl / micromasters / static / js / components / ProgramFilter.js View on Github external
buildOwnQuery(query: Object) {
    const programId = this.state.getValue()
    if (_.isNil(programId)) {
      return query
    }
    return query.addFilter("program_filter", TermQuery("program.id", programId))
  }