Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-13808

Query DSL should let to cache filter

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.5
    • Component/s: None
    • Labels:
      None

      Description

      Query DSL let to express Lucene BQ's filter

       

      { query: {bool: { filter: {term: {f:name,query:"foo bar"}}} }}

      However, it might easily catch the need in caching it in filter cache. This might rely on ExtensibleQuery and QParser: 

      { query: {bool: { filter: {term: {f:name,query:"foo bar", cache:true}}} }}
      

       

        Attachments

        1. SOLR-13808.patch
          6 kB
          Mikhail Khludnev
        2. SOLR-13808.patch
          8 kB
          Mikhail Khludnev

          Issue Links

            Activity

              People

              • Assignee:
                mkhl Mikhail Khludnev
                Reporter:
                mkhl Mikhail Khludnev
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: