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

eq() ValueSource (aka Function Query) ought to support strings

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      The eq() (boolean equals) ValueSource (aka Function Query) ought to support strings; it currently only supports numeric fields.

      The work-around is to do something like exists(query({!v=field:value})). That will be slow unless the field is indexed. For DocValues-only it could be efficient but is dependent on LUCENE-8103.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dsmiley David Smiley
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: