[ https://issues.apache.org/jira/browse/SOLR-11777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Smiley updated SOLR-11777: -------------------------------- 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. was: The {{eq()}} 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. > eq() ValueSource (aka Function Query) ought to support strings > -------------------------------------------------------------- > > Key: SOLR-11777 > URL: https://issues.apache.org/jira/browse/SOLR-11777 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Reporter: David Smiley > > 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. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org